Question Locked

How do I modify temp directory file deletion policy in Windows 2000?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I've got W2K installs on a bunch of PCs, some clean installs and some W98 upgrades. On just 2 clean installs and 1 upgrade, all files in the Temp directory seem to be purged each time I open or close a program (any program). This is fine if one wants to quarantine the Temp directory for system use, but I'm in the habit of using that directory for other temporary stuff too. Regardless, it annoys me that it has happened on just those 3 PCs and I can't figure out why or what specific process or setting is responsible. I know that Explorer is invoking the delete process, but beyond that I'm blind. Can anyone suggest where I might look to try to modify this behaviour, ie, turn the dynamic Temp directory file deletion off? Thanks for any help.

5 replies

by monkeyman

Hi Seanferd, thanks for your suggestion. I looked through the relevant info and was unable to pin down anything in the Group or Local Policies that might be causing Explorer to delete everything in the Temp folder each time a program or process starts / finishes. So I guess it must be some esoteric setting for Explorer buried away somewhere in the guts of the OS. Still beats me why it happens on just 3 PCs (2 clean installs and 1 a W98 upgrade) while about a dozen other similarly configured PCs don't exhibit this behaviour at all.

by seanferd

Aside from the fact that it is usually a problem the other way round (the need to manually clear temp files), even stranger is that the temp files disappear on opening/closing individual programs. Of course, certain programs do, in fact, only keep a temp file alive as long as the program is running, but most logs and installation files tend to hang around.

My only other guess would be to look in the settings for the individual apps, if the same apps are leaving temp files on all other machines excepting these few.

Good luck!

by monkeyman

Thanks for your thoughts.

No doubt here's a setting buried somewhere deep in the registry for this, but who knows what or where?

Anyway, thanks again!

This discussion is closed to new replies.