I use 2 different automatic configuration script addresses in the LAN settings of Internet Explorer 8. During the course of my work, I need to switch between them very often. Every time I have to do it manually.
Is there a way I can automate it through a script or something, so that I can switch between them whenever I want?
You can use the following commands in a batch file (.bat file) Use of batch files relieves you from making so many UI clicks to perform a simple task of assigning a value to "Use automatic configuration script" text box in the internet options -> Advanced settings.
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /t REG_SZ /d "http://www.xxxxx.com:1234/sampleScript" /f
The result looks like:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /t REG_SZ /d "" /f