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

Posted on 2004-09-01
Medium Priority
Last Modified: 2011-09-20
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.
Question by:pconsulting
1 Comment
LVL 13

Accepted Solution

seb_acker earned 1200 total points
ID: 11961014
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.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question