Link to home
Start Free TrialLog in
Avatar of gevansmdes
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("WScript.Shell")
'rem WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer", "10.80.2.5:3128", "REG_SZ"
WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 0, "REG_DWORD"
'rem WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyHttp1.1", 1, "REG_DWORD"
ASKER CERTIFIED SOLUTION
Avatar of DanRollins
DanRollins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

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?
Avatar of gevansmdes
gevansmdes

ASKER

thanks