Whatever the reason may be to enable or disable proxy, here is a simple registry hack to turn it on or off. Open powershell in admin mode. Enable:
1 |
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" ProxyEnable -value 1 |
Disable:
1 |
Set-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" ProxyEnable -value 0 |
The above method require an IE restart, alternatively if you don’t want to restart IE. Make similar change under:
1 |
[HKEY_USERS\<your SID>\Software\Microsoft\Windows\CurrentVersion\Internet Settings] |
To find your SID…