Tuesday, February 5, 2013

Add an IP address to Internet Explorer's Local Intranet or Trusted Site Zone



  • Open Registry
  • Navigate to:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
  • Create Key named "Ranges" if it doesn't exist.
  • Create sub-key with any name (Range1 works).
  • Inside that key create new String Value.
  • Give it the name ":Range".
  • Give it the value of whatever IP you're trying to add.
  • Create a new DWORD value.
  • Give it the name "http" (or https).
  • Give it the value 1 (for Local Intranet or 2 for Trusted Sites Zone).
  • Close IE, reopen, try to access the site again.

Disable (via registry) Internet Explorer Automatic Configuration Proxy

I had a server that was receiving proxy configuration for Internet Explorer via group policy.  The policy was configuring the "Automatically detect settings" option and not allowing me to change it (it was grey'd out).

You can modify this setting via the registry:

  • Open Regedit
  • Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections
  • Modify the "DefaultConnectionSettings"
  • The 9th bit of this key controls the setting.  The possible values of this that I'm aware of are:
    • 01 - Nothing is checked ("Automatically detect settings" or "Use automatic configuration script")
    • 05 - Only "Use automatic configuration script" is checked
    • 09 - Only "Automatically detect settings" is checked
    • 0d - Both are checked
  • Close Internet Explorer and open it again to verify the change has taken effect.