Add a trusted site to a locked Internet Explorer 8 zone

I am controlling the zones within IE via a GPO but I have machines outwith the office that don't come back in very often and there is a requirement to add a trusted site to the IE zone but it is locked atm.

Is there anyway as an administrator (I can remote onto the machine and sign on as admin/the user, etc) for me to add a zone to the Trusted Sites list without having to pull the machine back in or indeed to update the entire GPO for all users?

Thanx
LVL 2
Steven O'NeillSolutions ArchitectAsked:
Who is Participating?
 
djpazzaConnect With a Mentor Commented:
It is a bit of a pain that the control gets locked out.  You will need to add it in manually to the registry.

Here's a script for you if you want to make it quick just change the website name at the top of the script.  Save as a .vbs file.
' Set the name of the website to add to the trusted sites
strwebsite = "y.microsoft.com"

On Error Resume Next

Const HKEY_CURRENT_USER = &H80000001


strComputer = "."
Set objReg=GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\" _
    & "ZoneMap\Domains\" & strwebsite

objReg.CreateKey HKEY_CURRENT_USER, strKeyPath

strValueName = "http"
dwValue = 2

objReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue

Open in new window

0
 
Nuno MartinsCommented:
hi there,
Acess to rdp session of the user then click start look for the ie icon.
On the ie icon right click select run as Administrator
type admin credeintials and then ie should open with Admin security settings applyed.

NM
0
 
Steven O'NeillSolutions ArchitectAuthor Commented:
Superb...done exactly what I want. The admin route didn't work unfortunately this time around (I did try that before but thanx for the suggestion).
0
 
djpazzaCommented:
Yes I do not think that approach will work because it's a current user setting in the registry.  So you would have authenticate as an admin then open regedit select a branch then file - open hive browse to their ntuser.dat then...  phew i'll stop here the script is the way to go !

glad to be of assistence
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.