How to Delete EVERY users temporary inet files - TechRepublic
General discussion
April 23, 2009 at 02:38 PM
knowledgebased

How to Delete EVERY users temporary inet files

by knowledgebased . Updated 16 years, 6 months ago

I have some computers which have had dozens of people login and use Internet Explore. We’re using Windows XP with everyone sharing their %temp% folders. Internet Explorer, however, is caching to each users profile

I want to clear their temporary internet folder and history folder but I need to automate the process so it can be done with a batch file.

I thought about C:\Documents and Settings\*\Local Settings\History
Notice the wildcard (*) in the path. This does not seem to work. I’d like to open a discussion on methods for doing this. Any ideas?

It really needs to work in a batch file because I’d like to run this on multiple computers scheduled overnight. After deleting these files along with Recycle Bin and Prefetch the batch file would restart the PC and run Defrag. I’ve got a handle on all these items but having a problem manipulating each user profile using some kind of wildcard or automation.
This is a corporate environment so freeware like CCleaner won’t be a viable solution. But I’m open to all ideas.

This discussion is locked

All Comments