Deleting multiple Terminal Server user profile temp and temporary internet files out automatically.

A while back I found a very useful little app that was developed purely to clean out or delete user profile temp and temporary internet files from TS profiles for all users.

It works from command prompt by only deleting data from profiles that are not currently in use when the command is executed. You can specify swiches as follows:

icsweep /tmp for only Temp files.

icsweep /tif for only Temporary Internet files

icsweep /all for both

The publisher of this application can be found here: Ctrl-alt-del Consultancy

The application can be downloaded here: icsweep.zip

Just for interest sake, I cleared two terminal servers earlier using the /all switch and gained 40GB of free space between the two of them!

icsweep

16 thoughts on “Deleting multiple Terminal Server user profile temp and temporary internet files out automatically.”

  1. We keep our TS Profiles kept on a seperate SAN. Profile space is limited to 40mb and can build up quickly, mainly due to MS Office temp files (autosaves that aren’t removed). Will this app help in my environment?

    What folders does it delete from exactly when using /all ?

  2. Amazing application, solved the problem for my terminal servers. High recommend this if you have problems with Disk Space

  3. Have you tried scripting it? You could use a login script that all users run, that navigate to their roaming profile path and remove temporary files – either on login or logoff. Set the script to run via Group Policy, and use some simple batch file scripting to get to %USERPROFILE% etc…

  4. dear all
    pls help me how can i delet temp files in cmd promt with network user profils we are using ts server

  5. Many Thanks !

    I ran this command on my WINSRV2008 Ts Node’s and got Gb’s of free space. 🙂

Leave a Comment