If you’re a mobile user who works both in and out of the office, then you may find yourself having to constantly ‘tweak’ your IE proxy settings all the time, and although it’s only a few mouse clicks, a few is always too many in my eyes.
The VBScript below will check for any currently open instances of Internet Explorer, prompt to kill them and then set the proxy settings for you.
All the proxy settings are contained in the Windows registry so are quite straight forward to maintain.
If you would like to add more areas of the settings dialog box to the script, load the hive in the registry and make the changes as required. Refresh your registry viewer and then add the values to the script as required.
Remember…For the above code to work you will need to change the proxy name and port to reflect your own.
This script has been tested and proved to work on Windows 7.
Mike Hudson is a Infrastructure Analyst living and working in Kingston Upon Hull. With extensive experience in Microsoft and Apple technologies, ranging from desktop OS’s to Server OS’s and hardware. By day working as part of an infrastructure team, and by night ridding the world of IT issues through blog posts..