Trusted Sites in IE are stored in the Registry Keys under Internet Settings in the Current Version section.
To navigate to Trusted Sites, open IE -> click on the Settings button on top right corner-> click on Internet Options-> Security tab.
We can add Trusted Sites under the Local Intranet section, Trusted Sites section, and Restricted Sites section.
Trusted Sites
To add sites to the Trusted Sites section, we need to add a new path and Key with HTTP value as 2.
To navigate to Trusted Sites, open IE -> click on the Settings button on top right corner-> click on Internet Options-> Security tab.
We can add Trusted Sites under the Local Intranet section, Trusted Sites section, and Restricted Sites section.
Trusted Sites
To add sites to the Trusted Sites section, we need to add a new path and Key with HTTP value as 2.
- New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains" -Name "abcd.com"
- Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\abcd.com" -Name "http" -Value 2
To add sites to the Local Intranet Sites section, we need to add a new path and Key with the HTTP value as 1.
- New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains" -Name "google.com"
- Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\google.com" -Name "http" -Value 1
To add sites to the Restricted Sites section, we need to add a new path and Key with HTTP value as 4.
- New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains" -Name "msn.com"
- Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\msn.com" -Name "http" -Value 4
Mahesh ChandPosted Sep 13, 2018, 8:58 AM
Thanks. Can you add a screen shot to the article? People are more likely to follow that and also Google will rank your blog higher with an image. Also you may want to update it for Chrome and Edge. that's what most developers use these days, not IE :) . Cheers!