Hello,
I'm trying to enforce a non-persistent policy that forces users' temporary internet files to be deleted when they close down IE. Q323639 says that if I want to avoid "tattooing" the registry then I should change the registry in either HKCU\Software\Policies or HKCU\Software\Microsoft\Windows\CurrentVersion\Policies
So I used the following adm template and in the Group Policy Editor configured the policy setting to "No" (i.e. should delete the files).
CLASS USER
CATEGORY !!myInternetCategory
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Policies\Internet Settings\Cache"
POLICY !!myPol
PART !!KeepFiles DROPDOWNLIST REQUIRED
VALUENAME "Persistent"
ITEMLIST
NAME !!yes VALUE NUMERIC 1
NAME !!no VALUE NUMERIC 0
END ITEMLIST
END PART
END POLICY
END CATEGORY
[strings]
myInternetCategory = "My Internet Settings"
myPol = "Retain files in Temporary Internet Files folder when browser is closed"
KeepFiles = "Keep Temporary Internet Files on closing IE"
yes = "Yes"
no = "No"
After logging on as a user, I check the specified area of the registry and it's set Persistent to equal 0 as desired. BUT, it's not deleting the files as the user closes IE. The only way I can get the files to be deleted on closing IE is to write the Persistent value to HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache. This means I've "tattooed" the registry. Is this the only way I can accomplish what I want or have I made a mistake somewhere?
(I've also tried writing to HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Cache as suggested in Q323639 but no joy.)
Can anyone help?
I'm trying to enforce a non-persistent policy that forces users' temporary internet files to be deleted when they close down IE. Q323639 says that if I want to avoid "tattooing" the registry then I should change the registry in either HKCU\Software\Policies or HKCU\Software\Microsoft\Windows\CurrentVersion\Policies
So I used the following adm template and in the Group Policy Editor configured the policy setting to "No" (i.e. should delete the files).
CLASS USER
CATEGORY !!myInternetCategory
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Policies\Internet Settings\Cache"
POLICY !!myPol
PART !!KeepFiles DROPDOWNLIST REQUIRED
VALUENAME "Persistent"
ITEMLIST
NAME !!yes VALUE NUMERIC 1
NAME !!no VALUE NUMERIC 0
END ITEMLIST
END PART
END POLICY
END CATEGORY
[strings]
myInternetCategory = "My Internet Settings"
myPol = "Retain files in Temporary Internet Files folder when browser is closed"
KeepFiles = "Keep Temporary Internet Files on closing IE"
yes = "Yes"
no = "No"
After logging on as a user, I check the specified area of the registry and it's set Persistent to equal 0 as desired. BUT, it's not deleting the files as the user closes IE. The only way I can get the files to be deleted on closing IE is to write the Persistent value to HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache. This means I've "tattooed" the registry. Is this the only way I can accomplish what I want or have I made a mistake somewhere?
(I've also tried writing to HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Cache as suggested in Q323639 but no joy.)
Can anyone help?