Solved

VBS auto set proxy settings

Posted on 2010-08-27
1
777 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create Consolidation Sheet 3 44
Adding a countdown to HTA 12 92
Save and close already open Excel file using VBscript 9 88
Excel formula to report date modified 14 42
A short article about problems I had with the new location API and permissions in Marshmallow
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

685 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