Batch file to delete Cookies, Temp, Temp Inet Files on multiple Terminal Services Profiles

I need to delete junk in multiple user profiles on a W2k3 Server prior to automated backup.  The server has anywhere from 30-40 profiles used daily by neoware thin-clients.  To reduce the size and increase the speed of the backup I would like to call a batch file prior to backup that will delete cookies, temp files, and temporary internet files from all profiles.  I have tried the solutions in http://www.experts-exchange.com/Operating_Systems/Win2000/Q_20577452.html?query=batch+delete+temp+internet&searchType=topic without much success, this batch files is successfull only on current profile and doesn't look any further.
Thanx,
GarryP
pconsultingAsked:
Who is Participating?
 
seb_ackerConnect With a Mentor Commented:
If think you have the possibility of using roaming profiles for your terminal servers profile, and exclude by group policy the temp files from this romaing profiles. And therefore, you just have to set another policy in order to delete roaming profiles at logout on your terminal server. I don't remember where i have seen this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.