Skip to main content
August 27, 2014
Answered

Unable to delete temporary files

  • August 27, 2014
  • 48 replies
  • 162464 views

I am running Acrobat Reader 11.0.0 in a XenApp 6.5 Environment on Windows Server 2008 R2 SP1.  We have recently started using Mandatory profiles and the option set to delete cached profiles on logoff.  We have started noticing that some of the profiles are not being deleted because of files that are locked by the system.  The files are named Z@*.tmp.  I have done some research into the issue and have found an article on your website that mentions this issue specifically:

http://blogs.adobe.com/dmcmahon/2011/11/08/acrobatreader-tmp-files-left-behind-in-temp-folder-after-printing/

Please note this article is dated 11/2011 and seems to refer only to XP, NT, and 2003 server.  Also at the bottom of the article it states the following:
Following our testing we have discovered that the issue does not occur in Windows 7, or Windows 2008 Server.  It seems that the updated versions of Windows provide a solution to this issue.  We would therefore recommend updating your OS if possible.

I have found that this is not that case and this issue seems to remain, at least in my configuration.

    This topic has been closed for replies.
    Correct answer mrleeall

    Attention all, the fix is finally here.  I opened a ticket with Adobe last week on this issue and they finally got back to me with an answer.  The issue was corrected in last month's (January 2016) release of Reader 11.0.14.  I already got the release and tested it thoroughly and it works as perscribed.  Hurray!

    Thanks to everyone for their contributions to this thread.  I followed this thread miticulously in an effort to resolve my issues, obviously to on avail... it's a shame that this issue went uncorrected for so long (years..)  Thank God Adobe finally addressed it.

    48 replies

    Participant
    October 23, 2014

    Hi Guys!

    The solution provided by Adobe in 2011 is working.

    [WinFntSvr]

    TTToSysPrintDisabled=1

    T1ToTTDisabled=1

    Save this as acroct.ini copy it in the windows diorectory and bye bye the problem.

    We have a Xenapp 6.5 environnement on Windows 2008R2

    Participant
    October 24, 2014

    Hello again,

    I just tested and I confirm it works for us too on XenApp6.5 Win2008R2

    Do you have news about the print quality ? Adobe says that applying this may reduce the print quality.

    Regards

    Participant
    October 24, 2014

    I didn't see any difference!

    I suppose it  must depend of the type of pdf file your printing


    george_kazantzis
    Participant
    October 15, 2014

    Hi everyone. I currently have a Citrix Xenapp farm (provisioning services), on 6.5 2K8 R2 servers. I was also having these issues and only a reboot of the Xenapp server would clear these temps files. I was able to rename these files but could not delete them. This was causing Profile Manager to have entries all over my servers.

    But the solution for me was doing the following 3 things and which cleared this issue :

    1) Remove KB2970228

    2) Remove KB2993651

    3) Finally I removed adobe reader and reinstalled it from the adobe site (11.0.9).

    This setup has been live for 10 days without issues. I reapplied those patches on a test server and issues came back. Thus I will be avoiding both patches for a while until another comes up that resolves the issue. Hopefully this works for all of you.

    online casino
    Participant
    September 24, 2014

    download unlocker application , click on file and then delete

    Participating Frequently
    October 10, 2014

    Hi all,

    for us the removal of KB 2993651 does not fixed the problem in out W2K8 R2 XenApp 65. farm. Still those "Z@R4C67.tmp files" within C:\Users\%USERNAME%\AppData\Local\Temp\3\acrord32_sbx\

    any more ideas?

    Participating Frequently
    October 23, 2014

    It looks as if this is working exactly as Microsoft intended. Adobe Reader makes temporary fonts for good quality and fast printing, using methods Microsoft have recommended for over 15 years. Adobe Reader then cleans up the fonts, but Microsoft in their wisdom stop the fonts from being deleted until the session has finished (by which time Adobe Reader cannot, by definition, be running to delete them). It's hard to imagine what planet Microsoft were on when they decided this was a good solution to whatever the problem was. You can stop Adobe Reader from making fonts for printing by using "print as image" but you can see what this does to print time and quality.


    We had this fixed until 10/16 when updates occurred on our systems. This is the list that was installed, and one or more caused the problem to reoccur. Any idea which of the 34 possibilities? I have started with OS updates, but have not had much luck with deducing the culprit. Also, on 10/15 Adobe Reader was updated to 10.1.4, but I don't think this was the cause, because our files started accumulating on the 16th.

    OS updates

    KB3000869 - MS14-060: Vulnerability in Windows OLE could allow for remote code execution

    KB3000061 - MS14-058: Vulnerabilities in kernel-mode driver could allow remote code execution

         This one modifies the Win32k.sys file. This file was also modified in the original culprit KB

    KB2987107 - MS14-056: Cumulative security update for Internet Explorer

        Perhaps this fix is causing the problem???   https://support.microsoft.com/kb/3004256

    KB2979570 - MS14-057: Description of the security update for the .NET Framework 3.5.1 for Windows 7 Service Pack 1 and Windows Server 2008 R2 Service Pack 1

    KB2977292 - Microsoft security advisory: Update for Microsoft EAP implementation that enables the use of TLS

    KB2972100 - MS14-057:

    KB2968294 - MS14-057:

    .NET updates:

    KB2979578v2

    KB2972107

    Office updates:

    KB2589352

    KB2825635

    KB2760598

    KB2687455

    KB2589298

    KB2878252

    KB2837606

    KB2597087

    KB2889836

    KB2883013

    KB2850016

    KB982726

    KB2880971

    KB2794737

    KB2837595

    KB2817369

    KB2687423

    KB2494150

    KB2760631

    KB2837581

    KB2878281

    KB2837579

    KB2687567

    KB2589375

    KB2810073

    KB2881071

    September 22, 2014

    Just upgraded one of my Citrix servers to Reader 11.0.9.  Still the same issue.

    StefanSch
    Participating Frequently
    September 23, 2014

    After uninstalling KB2970228 and KB2993651 on all of our terminalservers, restarting and waiting a day I can now finally verify that this helped.

    @rhservices: Thank you for the hint

    @digitalman77: Have you checked for those two updates already?

    Participant
    September 23, 2014

    Hi,

    we have the same issue in Windows 2008 R2 Terminalservers (without Citrix) and on Windows 7 Clients.

    If you read the Description of the security Update KB2993651 (MS14-045: Description of the security update for kernel-mode drivers: August 27, 2014) you read the following:

    Known issues of this security update

    So it seems, that is not a problem with Adobe Reader, but a problem with windows because even microsoft says, that it is an issue related to this patch.

    This issue applies because the sticky temp-files are extracted fronts of the pdf-files. That is also the reason why some pdf generate this files and some not.

    Anyway: Maybe Adobe is able to do anything against this issue too.

    Regards,

    Kristian

    rhservices
    Participant
    September 16, 2014

    Dear all,

    do you have installed windows security updates which have been released at 27th of August 2014?

    May the following Hotfix is the problem: Microsoft Security Bulletin MS14-045 - Important

    KB Article: http://support.microsoft.com/kb/2984615

    At the moment I have the problem I can't uninstall the Hotfix to confirm my assumption, but ít seems that all problem have begun at september and that Hotfix could be the trigger for that symptoms.

    With kind regards

    StefanSch
    Participating Frequently
    September 16, 2014

    Thank you for the info!

    We do have KB2993651 installed and the problem started around that time.

    Microsoft says:

    Known issue 1

    After you install this security update, fonts that are installed in a location other than the default fonts directory (%windir%\fonts\) cannot be changed when they are loaded into any active session. Attempts to change, replace, or delete these fonts are blocked, and a "File in use" message is displayed.

    http://support.microsoft.com/kb/2993651/en-us

    I have uninstalled the update on a server now. As soon as I am able to restart it and have watched it for a day, I will come back with the results (if any).

    Regards, Stefan

    StefanSch
    Participating Frequently
    September 18, 2014

    Unfortunately this did not help. After uninstalling KB2993651 and rebooting the server on tuesday, I today have two locked local profile folders on that server again, with a date of yesterday.

    I will try uninstalling KB2976897 now.

    Caorthann
    Participating Frequently
    September 11, 2014

    We are also experiencing this issue......

    OS : Windows Server 2008 R1 x86 | Citrix Xenapp 6

    Occurred : After upgrading from Reader 11.0.07 to 11.0.08

    Issue :

    When a user logs off, their roaming profile is normally deleted on the Citrix server. However, Adobe Reader s leaving a number of Z@R****.tmp files in Appdata\Local\Temp\<number>\ that are locked and cannot be deleted until the server is rebooted. This is preventing profiles from being deleted properly upon logoff.

    September 11, 2014

    I have not performed the work arounds as I do not want to lose print quality, and I feel Adobe need to fix it anyway.

    I logged a bug with Adobe to include PMon caps on the user logout to see if they can find what the problem is.  Have not heard a THING back.

    In the meantime, I remove a server every day from the farm, reboot it once empty, manually delete the user profiles, and put it back into the farm.

    Pain in the ass.

    StefanSch
    Participating Frequently
    September 12, 2014

    Hello,

    we have the same problem with

    - Reader 11 on

    - Windows Server 2008 R2 SP1 x64 using

    - Citrix XenApp 6.5 Rollup Pack 4

    2 out of 7 users produce this problem every day, resulting in locked profile folders on all terminalservers daily.

    We have to reboot the servers every day and delete folders manually aferwards.

    August 28, 2014

    We are seeing the same issue with our Citrix 6.0 servers running on Windows 2008 R2.  I hope adobe fixes this soon.

    August 28, 2014

    We are having the same issue and profiles cannot be cleaned up until reboot..  We have uninstalled Adobe 11.0.08 and gone backwards to 10.1.4 to test and see if this fixes the issue.

    August 29, 2014

    Let me know if this fixes your issue.