Cached profiles not deleting - ZTR*.tmp files


G

Guest

We have been running Citrix/Terminal servers with roaming profiles for years.
Now we are having problems with the cached profiles not deleting. Most of
the profile deletes except for %user%\Local Settings\Temp folder. Inside the
temp folder there are these ZTR*.tmp files. The only way we can delete these
files and the remainder of the profile is to reboot the server then manually
delete the profile. Has anyone else experienced this and found a solution?
Thanks, Ed
 
Ad

Advertisements

V

Vera Noest [MVP]

Which OS and SP are you running? Have you checked your EventLog for
specific reasons?
There are a number of hotfixes for profile load and unload errors.
Have you tried the UPHClean utility?

Download User Profile Hive Cleanup Service:
http://www.microsoft.com/downloads/details.aspx?FamilyId=1B286E6D-
8912-4E18-B570-42470E2F3582

837115 - Troubleshooting profile unload issues
http://support.microsoft.com/?kbid=837115

828153 - UsrClasses Hive Does Not Unload During Logoff Because of
an Intermittent Handle Leak in Spoolsv.exe
http://support.microsoft.com/?kbid=828153

827825 - "Windows Cannot Unload Your Registry Class File" Error
Message When You Log Off Terminal Services
http://support.microsoft.com/?kbid=827825

294268 - Roaming Profiles Are Not Unloaded on a Computer That Is
Running Terminal Services When GPOs Are Applied
http://support.microsoft.com/?kbid=294268

817171 - Roaming Profiles Are Not Unloaded on a Computer That Is
Running Terminal Services
http://support.microsoft.com/?kbid=817171

833781 - "Windows cannot unload your registry class file" error
message when you log off from a Terminal Services session that is
running on a Windows Server 2003 computer
http://support.microsoft.com/?kbid=833781

840378 - Roaming profiles are not unloaded on a Windows Server
2003-based computer that is running Terminal Services
http://support.microsoft.com/?kbid=840378
 
G

Guest

Hi Vera-

We are running W2K, SP4 with all the hotfixes you mentioned below (except
for 294268 as it is for IE5.5 and we are on IE6) including UPH Clean.

There is nothing in the event logs.

A posting on arstechnica.com suggests that these ztr*.tmp files are created
by printing .pdf files but we can't re-create the files or the problem. We
ran filemon and find nothing while printing .pdf's.

Thanks,
Ed
 
V

Vera Noest [MVP]

Yes, I found that posting as well, but can't recreate the problem
either.
Don't know if this will work, but have you tried to configure a
policy to exclude the Temp directory from roaming with the profile?

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
 
G

Guest

No...how would we go about excluding the %user%\Local Settings\Temp folder?

I don't believe that the local settings part of the profile roams. I
believe it gets created each time a user logs in and then just deletes when
they log off (at least it's supposed to).

Thanks,
Ed
 
Ad

Advertisements

V

Vera Noest [MVP]

Sorry, you are absolutely right!
I was thinking of the setting in User Configuration -
Administrative templates - System - User Profiles
"Exclude directories in roaming profile"

But as you say, by default the History, Local Settings, Temp, and
Temporary Internet Files folders are excluded from the user's
roaming profile.

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top