Categories

Links

[ExportZone] Backup Internet Explorer Zonemap domains listing

Published : April 5, 2004
Updated   : April 5, 2007
Send your feedback

Summary

The list of websites which are added to various security zones in Internet Explorer is stored in one the following registry keys, depending upon the security configuration in the system:

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Domains

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Domains

When a domain is added to a security zone in Internet Explorer, a key is added to the Domains key in the registry. Subdomains appear as keys under the domain where they belong. Each key that lists a domain contains a DWORD with a value name of the affected protocol. The value of the DWORD is the same as the numeric value of the security zone where the domain is added.

ExportZone utility - Description

Because the Trusted, Intranet and Restricted sites listings are stored under the same registry key (Zonemap\Domains), it is a difficult task to export the list of sites pertaining to one particular zone (for example, Trusted sites). For this reason, I wrote the ExportZone utility, which can export the Trusted and Restricted sites listings to separate .REG (Registration entries) files.

NOTE: This utility assumes that the policy Security Zones: Use only machine settings (Security_HKLM_Only) is not enabled, and therefore it gets the domains list from the HKEY_CURRENT_USER part only. In other words, if the Security_HKLM_Only policy is enabled, this utility does not help. Future versions of this utility may include a check to determine if the Security_HKLM_Only policy is enabled, and if so, get the data from HKEY_LOCAL_MACHINE area.


 Download ExportZone 2.0 (zip file)

Version history

(v1.0) April 05, 2004 (Initial release)
(v2.0) April 05, 2007

This utility was originally written and tested under Windows XP Operating System only. I believe ExportZone is pretty straight-forward and needs no detailed instructions on its usage. If you need more help, contact me via this feedback form and I'd be happy to do a write-up for you.

Related links

Description of Internet Explorer security zones registry entries