Re: Terminal Server locks ZTR*.tmp files after users log off



Update: the previous attempt failed.

The user can clean up some of the z*.tmp files, but mostly several are
"untouchable". But! Still some progress is made: i can recreate these. My
hunch for Acrobat Reader was right: Acrobat creates them as soon as you
confirm a print job. Most of them are cleaned up afterwards, but if it's the
"right version", at least 3 do reside in the users temp folder.

Some experimenting with this learned that with post scipt printing the files
do not occur and neither when you print "As image" by the advanced features
of the print dialog. It seems that this option can't be set through a group
policy, global or a registry setting. So for now the only work-around i can
think of is notifying and asking all users to switch this option on,
manually :-(

Hans.



"Hans" <nietsze@xxxxxxxxxxx> wrote in message
news:12elk91casqbb9b@xxxxxxxxxxxxxxxxxxxxx
Indeed, but hey: perhaps they're (only) human too? :-)

For who's interested: here's the little script that i'd put into the AD
user logoff-scripts policy:
=====
@echo off
echo.
echo Clean up Temp folder...
echo.
del "c:\documents and settings\%username%\local settings\temp\z*.tmp" /s
/f
\\nas\users\%username%\LogOff.log
====
Up to now all goes well... I'll update this thread tomorrow to see if it
really worked.

Hans.


"Vera Noest [MVP]" <vera.noest@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:Xns9826EC9393A2Everanoesthemutforsse@xxxxxxxxxxxxxxxx
That sounds promising!
But wouldn't it be nice if Acrobat itself would do the clean-up
job...
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

"Hans" <nietsze@xxxxxxxxxxx> wrote on 21 aug 2006 in
microsoft.public.windows.terminal_services:

Progress! The user selves can delete these files. I've already
created a simple but working batch file that does the job. I'll
keep my findings posted here.

Regards, Hans.


"Hans" <nietsze@xxxxxxxxxxx> wrote in message
news:12ej7516fuffmac@xxxxxxxxxxxxxxxxxxxxx
I'm not sure users can delete their z*.tmp files. For some odd
reason i've little of them today (but am sure this will be
different at the end of today) >>> i'll give it a shot. Thanks
for your thoughts.

Hans.


"Vera Noest [MVP]" <vera.noest@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message
news:Xns9824DC5EC2A2Dveranoesthemutforsse@xxxxxxxxxxxxxxxx
Not a solution, but maybe a work-around:
can't you define a logoff script for the users, which deletes
the files when they log off from the TS?

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

"Hans" <nietsze@xxxxxxxxxxx> wrote on 18 aug 2006 in
microsoft.public.windows.terminal_services:

Here the sequel.

The files still occur after upgrading to the latest version
of UPHClean. Just one difference. Users log off of terminal
server and in the folder "Local Settings\Temp\..." now new
files occur: - Z@R*.tmp
in stead of:
- ZTR*.tmp.

When i go through the old deleted .tmp-files, i get the
strong feeling that the "@"-versions occured after upgrading
to Acrobat Reader 7.0.8.

Any help is appreciated...


"Hans" <nietsze@xxxxxxxxxxx> wrote in message
news:12eb3cg42iomg1f@xxxxxxxxxxxxxxxxxxxxx
Update:

After upgrading Acrobat Reader 7.0.x (i believe .5) to 7.0.8
the ZTR*.tmp files still occured. Now i've upgraded the
UPHClean utility to 1.6.30.0. To be continued...

Hans.

"Hans" <nietsze@xxxxxxxxxxx> wrote in message
news:12e8f8j2bcoj9ea@xxxxxxxxxxxxxxxxxxxxx
Vera,

Thanks for your answer. I tried to generate these files
with Adobe, but that didn't do anything unfortunately. Also
tried our PDF-printer (eDocPrinter). Early this morning i
updated Acrbobat Reader to version 7.0.8, so now i will
first wait for new ZTR-files to occur. If not, we now know
who caused it.

I've also looked up the UPHClean utility. We'd already had
that running, but that was version 1.5.5.21 and the current
one is 1.6d. So, if they do occur i'll upgrade this one.

I'll keep this group posted.


"Vera Noest [MVP]" <vera.noest@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message
news:Xns982214E3DE26veranoesthemutforsse@xxxxxxxxxxxxxxxx
Install the UPHClean utility to see if that solves the
problem.

http://www.microsoft.com/downloads/details.aspx?FamilyId=1B
286 E6D- 8912-4E18-B570-42470E2F3582

Or check this posting:

"Workaround for ZTR*.TMP Files Preventing Roaming Profile
Deletion"
http://groups.google.com/group/microsoft.public.win2000.ter
mse rv.ap ps/msg/37ffe072ef44df62?hl=en&
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

"Hans" <nietsze@xxxxxxxxxxx> wrote on 16 aug 2006 in
microsoft.public.windows.terminal_services:

Since the installation of Office 2003 (or perhaps one the
service packs the last 2 months), our w2k TS has problems
with cleaning up copied profiles. After users log off, it
happens (2 out of 10 times) a user profile gets cleaned
up, but leaves:

- \\server\documents and settings\%username%\Local
Settings\Temp\??\ZTR*.tmp

These files don't show up in Computer Management, Open
Files nor can i trace them to a proces with Process
Explorer.

The problem with these files is, the next time a user
log's in the TS will stop copying the profile at some
certain moments, allways not copying the Quick Launch bar
files. These files don't exist on the home folder of the
users.

Even if i take ownership of the files, i can't delete 'm.
The error message claims the file probably to be in use.
Only after a reboot i can delete these files.

Any help is appreciated.

Hans.




.



Relevant Pages

  • Re: Terminal Server locks ZTR*.tmp files after users log off
    ... @echo off ... MCSE, CCEA, Microsoft MVP - Terminal Server ... The files still occur after upgrading to the latest version ... "Workaround for ZTR*.TMP Files Preventing Roaming Profile ...
    (microsoft.public.windows.terminal_services)
  • Re: Terminal Server locks ZTR*.tmp files after users log off
    ... MCSE, CCEA, Microsoft MVP - Terminal Server ... feeling that the "@"-versions occured after upgrading to Acrobat ... I've also looked up the UPHClean utility. ... "Workaround for ZTR*.TMP Files Preventing Roaming Profile ...
    (microsoft.public.windows.terminal_services)
  • Re: Terminal Server locks ZTR*.tmp files after users log off
    ... MCSE, CCEA, Microsoft MVP - Terminal Server ... feeling that the "@"-versions occured after upgrading to Acrobat ... I've also looked up the UPHClean utility. ... "Workaround for ZTR*.TMP Files Preventing Roaming Profile ...
    (microsoft.public.windows.terminal_services)
  • Re: Terminal Server locks ZTR*.tmp files after users log off
    ... MCSE, CCEA, Microsoft MVP - Terminal Server ... feeling that the "@"-versions occured after upgrading to Acrobat ... I've also looked up the UPHClean utility. ... "Workaround for ZTR*.TMP Files Preventing Roaming Profile ...
    (microsoft.public.windows.terminal_services)
  • Re: Terminal Server locks ZTR*.tmp files after users log off
    ... The files still occur after upgrading to the latest version of UPHClean. ... "Workaround for ZTR*.TMP Files Preventing Roaming Profile Deletion" ... MCSE, CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)