Forum Discussion
Bevan_Thomson_9
Feb 09, 2012Nimbostratus
Last Update:
This does the trick:
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "ProxyHttp1.1" -Value 1
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 1
So, get the current value at the start, force it off, then set it back to whatever it was at the end
My my talking to myself helps somebody else :)