temp file deletion

  • Thread starter Thread starter Mike Richter
  • Start date Start date
M

Mike Richter

I want to delete all the temp files and the temporary internet files, and
all the cookies when a user logs off,

is there a batch file or a vbs file that anyone has already written that I
can use for the group policy log off?


thanks a bunch
 
Hi Mike Richter,

I did some research and found the following article. Since you already have
the required policy in GP itself, no need to use scripts for that.

To delete or retain temporary folders when exiting
Using Group Policies (best practice)

Open Group Policy.
In Computer Configuration, Administrative Templates, Windows Components,
Terminal Services, Temporary folders, double-click the Do not delete temp
folder upon exit setting.
To retain users' temporary folders when a user logs off from a session,
click Enabled. To delete users' temporary folders when a user logs off,
click Disabled.
Click OK.
Important

You should thoroughly test any changes you make to Group Policy settings
before applying them to users or computers. For more information on testing
policy settings, see Resultant Set of Policy.

Note
=====
Use the above procedure to configure the local Group Policy object. To
change a policy for a domain or an organizational unit, you must log on to
the primary domain controller as an Administrator. Then, you must invoke
Group Policy through the Active Directory Users and Computers snap-in.

For more information look at
http://www.microsoft.com/resources/documentation/WindowsServ/2003/enterprise
/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/en
terprise/proddocs/en-us/ts_con_ss_020.asp

Thanks,

(e-mail address removed)

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Thank you S.J. Haribabu
but this does not help me because i have a windows 2000 enviornment

any other ideas?

i need the temp files, temporary internet files, and cookies, deleted

please help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top