Solved

Delete cookies from users workstations using group policy

Posted on 2011-09-12
4
1,876 Views
Last Modified: 2012-05-12
Hi

I have a network with a server 2008 R2 domain controller and clients running Windows 7 Pro 64bit.

All clients use either ie8 or ie9.

Is there a simple way to delete all cookies and if possible temporary internet files(although not 100% necessary) after either closing the browser or logging out.

thanks
0
Comment
Question by:timb551
  • 2
4 Comments
 
LVL 5

Expert Comment

by:Paul Smart
ID: 36521790
There is software called CCleaner.
This allows the automatic deletion of both Cookies and Temporary Files.

I believe it can be located here > www.ccleaner.com
0
 

Author Comment

by:timb551
ID: 36521792
Yes i have used this software on many occasions but how would i do this using group policy?
0
 
LVL 5

Accepted Solution

by:
Paul Smart earned 250 total points
ID: 36521819
I guess best way then, would be to create a batch file with following commands.

@ECHO OFF
ECHO Deleting current user's Temporary Files, Cookies, History, Form Data and Stored Passwords
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
ECHO Done!

You can then incorporate this into a logoff script, and assign it to users by using Group Policy.

User Configuration>Windows Settings>Scripts (Logon/Logoff) > Logoff (better)

When user log off, all files are deleted.
0
 
LVL 6

Expert Comment

by:AhmedHERMI
ID: 36521821
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What are the basic system requirements for SQL ALWAYS ON? 1 29
File Screening 1 16
Keyboard / User? 7 27
Run Windows Server from USB 2 18
OfficeMate Freezes on login or does not load after login credentials are input.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

830 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