gevansmdes
asked on
I need to change a value at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable "value"
I have a VBScript to turn off the proxy and it works fine, but I need to turn it off on multiple machines...........any help would be appreciated.
This is a copy of my script
Dim WshShell
Set WshShell = WScript.CreateObject("WScr ipt.Shell" )
'rem WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\W indows\Cur rentVersio n\Internet Settings\ProxyServer", "10.80.2.5:3128", "REG_SZ"
WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\W indows\Cur rentVersio n\Internet Settings\ProxyEnable", 0, "REG_DWORD"
'rem WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\W indows\Cur rentVersio n\Internet Settings\ProxyHttp1.1", 1, "REG_DWORD"
This is a copy of my script
Dim WshShell
Set WshShell = WScript.CreateObject("WScr
'rem WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\W
WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\W
'rem WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\W
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
HKCU - Is user registry and the registry setting you have is for the user based and not machine based?
You can use a login script to do this
Do you already use login script if so you can create a group and then put all the users whom you want the proxy removed?
Let me know if you want the login script modified?