1 2 Previous Next 54 Replies Latest reply: Nov 26, 2014 2:53 AM by AEAG Go to original post RSS
      • 40. Re: Unable to delete temporary files
        jc2it Community Member

        In your environment I would make sure all of these updates are not installed.

         

        KB2970228

        KB2993651

        KB2982791

        KB2975719

        KB2975331

        KB2976897

         

        Also, the new update that came out yesterday KB3002885, may cause the same thing. I have not had the opportunity to test it.

         

        After you have ensured the updates are uninstalled check the versions of the following files.

         

        Remember to reboot after uninstalling updates.

         

        win32k.sys

        Version: 6.1.7601.18512

        Date: 18/06/2014 1:10pm

         

        gdi32.dll

        Version: 6.1.7601.18275

        Date: 3/10/2013 3:23pm

         

        If they match or are earlier versions then Adobe should work on 2008 R2.

         

        Document everything and create a support call with Microsoft, so we can get this solved permanently.

        • 41. Re: Unable to delete temporary files
          Test Screen Name CommunityMVP

          Has anyone seen anything from Microsoft on WHY they make this change in hotfixes, and whether this is intended to be a permanent change?

          • 42. Re: Unable to delete temporary files
            Learn2Code Community Member

            In addition to my last post I found the latest round of MS patches break printing again.

            I haven't gone through to figure out exactly which patch breaks it but it's one or more of these lot of patches that were released this month:

            2993958, 3003743, 2978120, 3010788, 2978128, 2992611, 2991963, 3006226, 2899526, 2899527, 3003057, 3005607, 3002885.

             

            We've reached a point where we can not continue to not install critical security patches during every round of patching as it's starting to add up to quite a lot of work to figure out each patching cycle which patches break pdf printing and which don't. Our security team are not impressed with this either.

             

            Today I have implemented the workaround solution #2 suggested by adobe years ago in this thread:

            Acrobat/Reader: Z@xxx.tmp files left behind in Temp folder after printing

            The workaround #1 made no difference, only the 2nd workaround ini file solved this.

            Basically on each terminal server I had to create a file named "C:\Windows\acroct.ini" with the following contents:

            [WinFntSvr]

            TTToSysPrintDisabled=1

            T1ToTTDisabled=1

            I can confirm this workaround works fine. I tested the impact it has on pdf print quality and found absolutely no difference. Maybe it affected only certain types of PDF files but none I tested. We will be leaving this workaround in place.

             

            Regarding logging a call with either MS or Adobe, I don't think MS would accept it as their fault and neither would adobe, the usual blame each-other circle.

            To me it seems that adobe might need to adjust acrobat behaviour when it comes to making system calls to windows printing/font system to match the latest updated behaviour in Windows but what do I know, I'm not a developer.

            • 43. Re: Unable to delete temporary files
              jc2it Community Member

              My untested Theory is that KB3002885 will cause this behavior to return. You might try uninstalling this one first. Let us know if it fixes it.

               

              Thanks!

              • 44. Re: Unable to delete temporary files
                Test Screen Name CommunityMVP

                Aha! I found this in http://support.microsoft.com/kb/KbView/2982791

                "MS14-045: Description of the security update for kernel-mode drivers: August 12, 2014...

                Known issues with this security update

                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 will be blocked, and a "File in use" message will be presented. "

                 

                Now, there is no more, but by including this as a "known issue" it at least suggests that Microsoft consider that it is a problem and a resolution would be desirable. They don't commit to anything or suggest a workaround, however.

                • 45. Re: Unable to delete temporary files
                  JSL-WSCPA Community Member

                  I'm using Acrobat 10 myself, but if I log in to Citrix, print a file to PDF and then log out, the profile folder (c:\Users\<username>) doesn't go anywhere. If I kill acrodist.exe - it does.

                   

                  The acroct.ini ultimately didn't help me at all. Every time there's a new batch of updates, the problem returns. Today, I removed KB3002885 but that didn't help. Previously, removing updates in this thread helped, but that didn't seem to be the one this time.

                   

                  I'm considering putting something in a logoff batch file to kill acrodist.exe on the way out... (EDIT: That doesn't work, as it never gets far enough into the logout to fire the script.)

                  • 46. Re: Unable to delete temporary files
                    Learn2Code Community Member

                    It sounds like the issue you experience is slightly different from the one described in this thread.

                    The issue we're seeing is acrobat post print tmp files getting locked by system WITHOUT any adobe acrobat processes left running.

                    In your case looks like acrobat reader distiller doesn't exit on user's logoff and process is left running under the user's name (presuming it runs under the user's id?).

                     

                    I would suggest trying to follow this Citrix article: Graceful Logoff from a Published Application Renders the Session in Active State

                    Basically add acrodist.exe to the following registry key on each citrix session host:

                    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI\LogoffCheckSysModul es = acrodist.exe

                    This will force close the process on user's logout. I used this fix to auto kill symantec antivirus process that kept locking roaming profiles and it worked great.

                     

                    Out of interest could you navigate to the user's stuck profile folder c:\Users\<username>\ and see what folders/files are left behind, might give you a clue about which file is actually locked in the profile.

                    • 47. Re: Unable to delete temporary files
                      JSL-WSCPA Community Member

                      I think you may be right. I definitely started with the issue in the thread, my profile folders became littered with temp files, but it could be that removing the updates in question fixed that, and revealed a separate issue with acrodist.exe that just I hadn't noticed before.

                       

                      The only way to really know is to put those updates back on, but I think I'll let it be for now. Thanks for the suggestion - I hope everyone is able to rid themselves of their issues!

                      • 48. Re: Unable to delete temporary files
                        jc2it Community Member

                        I have been working with Microsoft on this issue. I have been escalated up, and they know about the issue and have a mitigation. I have to schedule down time to test, and will attempt it in the morning. Here is the untested information I have received up to this point. 

                         

                         

                        Please find the steps below:

                         

                        1. 1.

                        Restart the computer in safe mode.

                        1. 2.

                        Delete the fntcache.dat file. To do this, type the following command at command prompt , and then press Enter:

                        del %windir%\system32\fntcache.dat

                        1. 3.

                        After you delete fntcache.dat, restart the computer. The computer should now start successfully.

                        1. 4.

                        Click Start , click Run , type regedit in the Open box, and then click OK .

                        1. 5.

                        Locate and then click the following subkey in the registry:

                        HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts\

                        1. 6.

                        Right-click the Fonts registry subkey, and then click Export .

                        1. 7.

                        Type a name for the exported reg file, and select a location to store the file. You will use this file later to restore the font registration that you will remove in the following steps.

                        1. 8.

                        After you save the reg file, find any registry values under the Fonts registry subkey for which the data field meets the following criteria:

                        Contains a full file path (not just a file name)

                        The full file path ends in an ".otf" extension. (This indicates an OpenType font file.)

                        1. 9.

                        Delete the fntcache.dat file again. (It will have been re-created.) To do this, type the following command at command prompt, and then press Enter:

                        del %windir%\system32\fntcache.dat

                        1. 10.

                        Open the Programs and Features item in Control Panel, and then click View installed updates . Find and then uninstall any of the following update that are currently installed:

                        KB2982791

                        KB2970228

                        KB2975719

                        KB2975331

                        1. 11.

                        Restart the computer.

                        1. 12.

                        Find the reg file that you saved earlier, right-click the file, and then click Merge to restore the font registry values that you previously removed.

                         

                         

                        Schoorties Learn2Code Caorthann George Kazantzis testScreenName

                        • 49. Re: Unable to delete temporary files
                          AEAG Community Member

                          Hi Jc2it.


                          Did you find time to test this solution ?

                           

                          What worried me, is having to uninstall windows update every month, and even in your solution.


                          One KB per month (For me August: KB2982791 / Oct KB3000061 / Nov KB3002885)


                          When it does it will stop...

                          • 50. Re: Unable to delete temporary files
                            jc2it Community Member

                            We are in the process of testing. I expect results in a few days. We don't have a good test environment for this system, so we have to take a live server out of production to do it.

                             

                            I agree, your concern is valid. I don't mind uninstalling a single patch that fixes a moderate vulnerability, but three patches in three months is excessive. I have extenuating circumstances in that one of my software programs is unsupported by the manufacturer, and it stopped printing due to these patches. This program is also used to access our ERP program. Removing the above patches fixed both issues.

                             

                            So in the IT world I got a 2fer.

                            • 51. Re: Unable to delete temporary files
                              jc2it Community Member

                              After the above procedure the MS tech installed a hotfix KB2998984. I am not convinced this is going to work. I think they are grasping at straws.

                              • 52. Re: Unable to delete temporary files
                                platinum2014 Community Member

                                Adobe Reader’s Z@….tmp files cannot be deleted | Michael's IT Blog

                                 

                                To sum up – Adobe has to recode Adobe Reader. The CreateScalableFontResourceW function is outdated and not supported anymore. I was able to proof that this API doesn’t release the font file anymore after it has been executed.

                                • 53. Re: Unable to delete temporary files
                                  Test Screen Name CommunityMVP

                                  Interesting. Thank you for sharing that, platinum2014.

                                  • 54. Re: Unable to delete temporary files
                                    AEAG Community Member

                                    It's ok on 2008 without some KB, but it does not work on 2003 server. I still have issue.


                                    (August: KB2982791 / Oct KB3000061 / Nov KB3002885)


                                    Which KB (uninstalled) works for you on 2003?

                                    1 2 Previous Next