Automating Proxy Settings Changes

I have to switch my proxy settings daily, depending upon being at work or home. I created two batch files to enable/disable the same.

Note that this applies to the global aka Internet Explorer proxy settings.


REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /d "" /t REG_SZ /f


REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /f