Delete temp files for all users #

Garrett's script 💾 clears the following directories for all users:
Windows XP:
%userprofile%\Local Settings\Temp
%userprofile%\Local Settings\Temporary Internet Files

Windows Vista/7:
%userprofile%\AppData\Local\Temp
%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files
However, in order for this to work on user profiles with private folders enabled, you'll need to run the script under the LocalSystem account (LSA).

/windows | Oct 24, 2010


Subscribe or visit the archives.