Cleaning temp directories - automated scripts?

bkoepp2

Junior Member
Jul 1, 2008
7
0
0
This may be of help to others in the industry, but I'm tired of having to clean out each user's temp directories in XP Pro every time an antivirus alert comes up.

For reference, here is what gets manually deleted:

C:\Documents and Settings\user name\Local Settings\Temp
C:\Documents and Settings\user name\Local Settings\Temporary Internet Files
C:\temp
C:\WINDOWS\Temp\Temporary Internet Files

Considering each machine has multiple users, I'm looking for a script or some way to speed up the process. Any advice? Thanks


 

marcplante

Senior member
Mar 17, 2005
687
9
91
doesn't the disc cleanup utility cover that? Doing it from an admin position would cover all users. Also, I think that McAfee and Norton both have something in their suites that perform similar functions.

 

daveybrat

Elite Member
Super Moderator
Jan 31, 2000
5,831
1,044
126
Sounds like a lot of work doing it manually. I haven't done it manually in ages.

I just run CCleaner in every account before scanning and after cleaning.

http://majorgeeks.com/download4191.html

Best program i've ever used to clean up all Temp files and a lot more. A highly rated program that every tech should have. :)