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
517 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 49

Accepted Solution

by:
DanRollins earned 500 total points
ID: 24832339
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
ID: 24833277
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
ID: 31602238
thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

695 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