I want to edit the registry on all the computers in a domain, to clear
the cache everytime IE closes;
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache
Name: Persistent
Type: REG_DWORD
Value: 0 clear cache when IE exits
Value: 1 don't delete cached files
What is the easiest way to make this change to every computer in the
domain?
You could implement the Empty Temporary Internet Files folder when browser is closed Group Policy:
USER Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Advanced Page
Empty Temporary Internet Files folder when browser is closed at least Internet Explorer v6.0 in Windows 2003 Service Pack 1
This policy setting allows you to manage whether Internet Explorer deletes the contents of the Temporary Internet Files folder after all browser windows
are closed. This protects against storing dangerous files on the computer, or storing sensitive files that other users could see,
in addition to managing total disk space usage. If you enable this policy setting, Internet Explorer will delete the contents of the user's
Temporary Internet Files folder when all browser windows are closed. If you disable this policy setting, Internet Explorer will not delete the
contents of the user's Temporary Internet Files folder when browser windows are closed. If you do not configure this policy, Internet Explorer will
not delete the contents of the Temporary Internet Files folder when browser windows are closed.
HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Cache!Persistent
OR
You can run regedit /s %LOGONSERVER%\NETLOGON\Persistent.reg
in a logon script, where %LOGONSERVER%\NETLOGON\Persistent.reg
contains:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache]
"Persistent"=dword:00000000