automatic clean up of C:\Temp on WinXP Pro

  • Thread starter Thread starter jlguallar
  • Start date Start date
J

jlguallar

Hi,

Is there a way to clean up C:\Temp on boot, wothout user intervention?

Thank you in advance.
 
You would not want to do that!

Any time you get a Windows update, or install a program that tells you to
reboot the computer to finish the install, where do you think the files are
stored that are necessary to complete the install. If you said "in the temp
folders", you are correct.

Clean out those folders on reboot and you will be breaking a lot of
installs. Additionally, because the programs or updates were not completely
installed, you may also not be able to uninstall them. Now you got a real
problem!



--

Regards,

Richard Urban
Microsoft MVP Windows Shell/User

Quote from George Ankner:
If you knew as much as you think you know,
You would realize that you don't know what you thought you knew!
 
First of all, thank you for your answers, Wes and Richard.

Windows update system represents no problem, There is a problem, and
the problem is temp files on c:\temp.

On Windows XP Pro (this doesn't happen on Windows 2000 Pro) , we have
an application that creates temp files in c:\Temp.

If you log off from WIndows, those files are not deleted. If you log
back to Windows **with the same username**, the application will delete
those files.

But if you log is **with a different username** the darn rpogram cannot
clean the c:\Temp directoryt and will crash.

I've contacted the vendor, and they have no solution (talk about
software quality), as they claim that their software should only be
used in Windows 2000. But, see, I canno find Windows 2000 licenses
anymore. So I'm stuck with the problem.

And no, reboot does not empty c:\Temp.

Any idea?

Can I define a, say, "logout script" in my PDC (primary domain
controller)?

Thank you in advance
 
Josep said:
Can I define a, say, "logout script" in my PDC (primary domain
controller)?

there is no logOUT script feature.

but double check the security permissions on that temp folder; give the
USERS group FULL CONTROL-ALLOW . Hopefully your crashing problem will go
away and the temps won't build up anymore.
 

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

Back
Top