Solved

I need to change a value at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable "value"

Posted on 2009-07-10
3
474 Views
Last Modified: 2013-12-04
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"
0
Comment
Question by:gevansmdes
3 Comments
 
LVL 49

Accepted Solution

by:
DanRollins earned 500 total points
Comment Utility
You should use the
    WshRemote Object
    http://msdn.microsoft.com/en-us/library/x9t3ze5y(VS.85).aspx
You'll save that script of your into a file, then use another script to run it on multiple computers.
0
 
LVL 12

Expert Comment

by:chandru_sol
Comment Utility
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?
0
 

Author Closing Comment

by:gevansmdes
Comment Utility
thanks
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction During my participation as a VBScript contributor at Experts Exchange, one of the most common questions I come across is this: "I have a script that runs against only one computer. How can I make it run against a list of computers in …
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video discusses moving either the default database or any database to a new volume.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now