Policy
Prevent deleting cookies
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
This policy setting prevents the user from deleting cookies. This feature is available in the Delete Browsing History dialog box. If you enable this policy setting, cookies are preserved when the user clicks Delete. If you disable this policy setting, cookies are deleted when the user clicks Delete. If you do not configure this policy setting, the user can choose whether to delete or preserve cookies when he or she clicks Delete. If the "Prevent access to Delete Browsing History" policy setting is enabled, this policy setting is enabled by default.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKCU\Software\Policies\Microsoft\Internet Explorer\Privacy\CleanCookies | REG_DWORD | 0 | 1 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- UserAllow deleting browsing history on exitAt least Internet Explorer 8.0
- ComputerAllow deleting browsing history on exitAt least Internet Explorer 8.0
- ComputerDisable "Configuring History"At least Internet Explorer 5.0
- UserDisable "Configuring History"At least Internet Explorer 5.0
- ComputerPrevent access to Delete Browsing HistoryAt least Internet Explorer 7.0
- UserPrevent access to Delete Browsing HistoryAt least Internet Explorer 7.0
- UserPrevent deleting ActiveX Filtering, Tracking Protection, and Do Not Track dataAt least Internet Explorer 9.0
- ComputerPrevent deleting ActiveX Filtering, Tracking Protection, and Do Not Track dataAt least Internet Explorer 9.0
- ComputerPrevent deleting cookiesAt least Internet Explorer 8.0
- UserPrevent deleting download historyAt least Internet Explorer 9.0
- ComputerPrevent deleting download historyAt least Internet Explorer 9.0
- UserPrevent deleting favorites site dataAt least Internet Explorer 8.0