Erwin Bierens

Knowledge is Power

Powershell Enable / Disable / Set / Show Windows Web Proxy

2017-08-08 1 min read Powershell Erwin Bierens
Web Proxy I’m currently working for a company where I have to set up a web proxy to connect my laptop to the Internet. Because I’m a little bit lazy to enable/disable this every morning when i come in, or when i open my laptop at home, i use these two oneliners in powershell: EnableProxy: set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -name ProxyEnable -value 1 DisableProxy: set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -name ProxyEnable -value 0 Complete Script: I also created a simple menu script with all the options to Enable, Disable, Set and Show. Continue reading