Solved

VBS auto set proxy settings

Posted on 2010-08-27
1
773 Views
Last Modified: 2013-11-10
We have 300 or so computers that had the proxy settings wiped out with an update.  We need a vbs script that will enable the use proxy, set the ip for the proxy server and set the port number.  We are doing this on Windows XP sp3 and I believe IE 6.
0
Comment
Question by:thomashospital
1 Comment
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 33547755
Hi, I think this VBS code as a logon script should do the job:

Set objShell = CreateObject("WScript.Shell")
objShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 1, "REG_DWORD"
objShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer", "192.168.10.1:8080", "REG_SZ"

Regards,

Rob.
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

This is about my first experience with programming Arduino.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

758 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

20 Experts available now in Live!

Get 1:1 Help Now