Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4787
  • Last Modified:

Group Policy: Adding sites to Security Zones

I am trying to create a group policy to add a site to Intranet Zone. The only option I receive from Group Policy is to import Security settings of Internet Explorer (User Configuration - Windows Settings - Internet Explorer Maintenance - Security - Security Zones and Content Ratings)

The problem is that if I import settings it will import all security settings. How can set a single site to be added to the Intranet Zone or Trusted Sites zone?
Imran Hashim
Imran Hashim
  • 3
  • 2
1 Solution
Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page\Restricted Sites Zone\Allow active content over restricted protocols to access my computer

This policy setting allows you to manage whether a resource hosted on an admin-restricted protocol in the Trusted Sites Zone can run active content such as script, ActiveX, Java and Binary Behaviors. The list of restricted protocols may be set in the Trusted Sites Zone Restricted Protocols section under Network Protocol Lockdown policy.  If you enable this policy setting, no Trusted Sites Zone content accessed is affected, even for protocols on the restricted list. If you select Prompt from the drop-down box, the Information Bar will appear to allow control over questionable content accessed over any restricted protocols; content over other protocols is unaffected.  If you disable this policy setting, all attempts to access such content over the restricted protocols is blocked.  If you do not configure this policy setting, all attempts to access such content over the restricted protocols is blocked when the Network Protocol Lockdown security feature is enabled.

Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page\Site to Zone Assignment List

This policy setting allows you to manage a list of sites that you want to associate with a particular security zone.

do the above help you at all ??

Imran HashimSr. IT Infrastructure ConsultantAuthor Commented:
The first one - No

For the second one, I tried earlier today but it did not work. I checked that when we add a site to be considered as Intranet Site, it is added to the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\mydomain.com\www]

This will add http://www.mydomain.com as Intranet site. The value for http is 1 here.

I tried to make a custom ADM file to enter this registry value to registry but could not. Any clues? May be my ADM file is not correct. Any suggestions?
hmm not really man - havent really played with custom ADM's

when you add the sites does the reg key not get entered?
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Imran HashimSr. IT Infrastructure ConsultantAuthor Commented:
Somehow, I figured out the solution. Created an ADM file and imported in the Group Policy and applied the Group Policy to Users OU. To see the options in the Group Policy, I had to do the following in Group Policy Editor. View --> Filtering --> Uncheck "Only show policy settings that can be fully managed". Copy the file to a new text file and save with .adm extension. To import in Group Policy, right click on Administrative Templates and select Add/Remove Templates and press Add button to add a new ADM.
;-----------------Copy from here-----------
CATEGORY "Security Zone Sites"
      POLICY "Add Sites to Zone"
            KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\mydomain.com\www"
              EXPLAIN "Adds domain www.mydomain.com to Security Zones"
            PART "Security Zone" DROPDOWNLIST
                  VALUENAME "http"
                            NAME "Internet" VALUE NUMERIC  0
                            NAME "Intranet" VALUE NUMERIC  1 DEFAULT
                        NAME "Trusted" VALUE NUMERIC 2
                        NAME "Non Trusted" VALUE NUMERIC 3
                        END ITEMLIST
              END PART
      END POLICY                  
;------------------End of File----------------
ah i c, i didnt realise you were having trouble viewing the custom policies... i have one that was written by a colleague for network drive mapping. i just meant i had no experience in writing them - that filtering option had me stumped for a while, if i'd known that was the prob i could have pointed you to it, but you've done well mate
PAQed with points refunded (500)

Community Support Moderator

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now