Delete Temporary Internet Files in All User Profiles

Yesterday one of my Citrix Servers was running low on disk space, and I realised that temporary Internet files in various user profiles were using up a lot of disk space. Looking for an easy way to clear these out of all profiles I came across the icsweep utility from Ctrl-Alt-Del. This is a fantastic tool that can be used to delete temp files and/or temporary Internet files from all user profiles that are not currently in use. To assess how much space is being used by these files simply run:

icsweep /SIZE

To delete temporary Internet files only run:

icsweep /TIF

and to delete temp files only run:

icsweep /TMP

Both temporary Internet files and temp files can be deleted by running:

icsweep /ALL

Advertisements