Microsoft KB Archive/301689

= How to Restore Default Settings After Importing Custom Privacy Preferences =

Article ID: 301689

Article Last Modified on 7/27/2007

-

APPLIES TO

 Microsoft Internet Explorer 6.0, when used with:  Microsoft Windows Server 2003, Standard Edition (32-bit x86)

 Microsoft Windows XP Professional

 Microsoft Windows 2000 Standard Edition

 Microsoft Windows Millennium Edition</li></ul>

 Microsoft Windows 98 Second Edition</li></ul>

 Microsoft Windows 98 Standard Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q301689

<div class="notice_section">

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

<div class="summary_section">

SUMMARY
Custom privacy preferences can be imported into Internet Explorer by clicking Import on the Privacy tab of Internet Options and opening an Internet Explorer Privacy Preferences (.xml) file. This article describes how to restore the default Internet Explorer privacy settings after you import custom settings for the Internet, Local intranet, or Trusted sites zones.

For information about the Extensible Markup Language (XML) syntax for Internet Explorer Privacy Preferences (.xml) files, please see the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms537344.aspx

For additional information about the default Internet Explorer privacy settings, click the article number below to view the article in the Microsoft Knowledge Base:

293222 The Default Privacy Settings for Internet Explorer 6

<div class="moreinformation_section">

MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To remove customized privacy settings that were imported and restore the default Internet Explorer privacy settings: <ol> In Internet Explorer, click Tools and then click Internet Options.</li> On the Privacy tab, click Default (if it is available), and then click Edit.

Note The Default button is not available if an Internet Explorer Privacy Preferences (.xml) file was imported with no p3pCookiePolicy element that specified zone=&quot;internet&quot; or with only an alwaysReplayLegacy element (see below) and your privacy settings were at Medium (the default privacy level) prior to the importation.</li> Under Managed Web sites in the Per Site Privacy Actions dialog box, click each Web site that per-site privacy actions were imported for, and then click Remove.

Note This step may be necessary if per-site privacy actions were imported by using the MSIESiteRules element.</li> Click OK twice, and then run Regedit.exe.</li> Delete any keys for Local intranet sites that exist in the following registry key:

Note This may be necessary if an Internet Explorer Privacy Preferences (.xml) file was imported that specified an action of &quot;prompt&quot; for Local intranet sites, and the user changed this setting to accept or reject by using the prompt for cookies on specific sites. For additional information about this issue, please see the following Microsoft Knowledge Base article:

302831 Unable to Remove Per Site Privacy Actions for Local Intranet Sites

</li> Delete the following DWORD value from the registry (if it exists):

NOTE: The LeashLegacyCookies DWORD value will only exist if an Internet Explorer Privacy Preferences (.xml) file was imported with the alwaysReplayLegacy element. This setting allows all legacy cookies (cookies that existed when Internet Explorer 6 was installed) to be sent in the Internet zone. If this element is not specified, legacy cookies are sent only in the first-party context (that is, they are leashed) for the Internet zone.</li> Delete both of the privacy GUIDs for the Local intranet and Trusted sites zones (if they exist) under the following registry key:

The Local intranet zone key is named 1, and the Trusted sites zone key is named 2. For first-party cookie settings, the GUID is a binary value that is named (AEBA21FA-782A-4A90-978D-B72164C80120). For third-party cookie settings, the GUID is a binary value that is named (A8A88C49-5EB2-4990-A1A2-0876022C854F).

Note For the Local intranet (1) and Trusted sites (2) zones, there are no GUIDs for cookie settings by default so they will only exist if an Internet Explorer Privacy Preferences (.xml) file was imported with a p3pCookiePolicy element that specified zone=&quot;intranet&quot; or zone=&quot;trustedSites&quot;. Internet Explorer does not allow you to customize settings for the Restricted sites (4) zone by importing an Internet Explorer Privacy Preferences (.xml) file, and customized settings for the Internet (3) zone are removed (except for the LeashLegacyCookies DWORD value as noted above) when you click the Default button on the Privacy tab.</li></ol>

Note The preceding steps do not restore cookies that are deleted or per-site privacy actions that are removed when importing an Internet Explorer Privacy Preferences (.xml) file with the flushCookies or flushSiteList elements. The flushCookies element deletes all cookies when customized privacy settings are imported, and the flushSiteList element deletes all per site decisions when customized privacy settings are imported.

For additional information about privacy settings, click the article number below to view the article in the Microsoft Knowledge Base:

283185 How to Manage Cookies in Internet Explorer 6

Keywords: kbenv kbhowto KB301689

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.