IT CAMPER
asked on
Need a script that will delete a users Internet temp folder on Windows 2000 and XP
I have been noticing more often that viruses are being found in the Internet temp folder located at c:\documents and settings\%username%\local settings\temporay internet files. I would like to have a script that can be executed either by scheduled events or by logon/logoff that deletes all of the files located in that folder. Can someone give me a complete script solution to do this?
ASKER
dev8..can you run that task with switches so that it does not prompt the user for anything? I am looking for a fast, simple, transparent solution that the user does not even know is working in the background.
Microsoft has DelProf.exe. It Is WAY cool, and you can run it remotely:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=901A9B95-6063-4462-8150-360394E98E1E
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=901A9B95-6063-4462-8150-360394E98E1E
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi
PAQ on the subject here - worth a look courtesy of Pete Long et al,
Solution Title: Batch file to delete temporary internet files and others
http:Q_20794666.html
Deb :))
PAQ on the subject here - worth a look courtesy of Pete Long et al,
Solution Title: Batch file to delete temporary internet files and others
http:Q_20794666.html
Deb :))
Why not just configure outlook to Empty Temporary Internet Files when browser is closed? - Internet Control panel, near the end of the options listed under "Advanced" tab
Have you tried Disk Cleanup? You can add that as a scheduled task to run every day if you need it that way. It would be more easier than having to write a script of some sort.
Hope that helps!
//j