[En] Enable or disable IE proxy using Powershell

September 06, 2011 -

I’m currently working in a company where I have to set up a proxy to connect my laptop to the Internet. Because I'm fed up to enable it each morning and disable it each evening, I made two Powershell scripts to do these operations :

EnableProxy.ps1 :

set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' 
-name ProxyEnable -value 1

DisableProxy.ps1 :

set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' 
-name ProxyEnable -value 0 

Et voilà !

Hope this helps Winking smile

Comments

Share

Tags


Twitter


RT @dtzar: New support for @Azure VM Scale Sets w Kubernetes https://t.co/RYAqiNDZBJ - kudos @sozercan

April 25, 2018 01:05

RT @techdiction: We have a Serverless #OpenHack running 5-7 June in London. You'll be able to sharpen your #Azure #Serverless (Logic Apps…

April 23, 2018 19:58

Using intelligence to advance security from the edge to the cloud https://t.co/7dMvRaenqb

April 23, 2018 17:45

RT @msdev_fr: #Devoxx | Intéressé par l'#InformatiqueQuantique ? Ca tombe bien, on a prévu de se projeter dans le futur avec @davrous pour…

April 13, 2018 10:10

RT @bacongobbler: Announcing Fish, The Package Manager for Windows, Mac and Linux. Demos to come! 🐠 https://t.co/ErDSf9n36Q

April 12, 2018 18:37

Centralized logging under #Kubernetes https://t.co/yZZm5s1DGE

April 12, 2018 14:33

Foundation of Many #Microsoft Cloud Services Is Now Open Source https://t.co/ikORIHdUdS

April 12, 2018 14:30

RT @michellenoorali: I don't have to keep typing in `k get po`, grab pod name, and then `k describe pod <pod-name>` anymore. omg @code is b…

April 07, 2018 08:05

RT @Azure: Download the #Azure #Serverless Cookbook for countless use cases, hands-on steps and tutorials for your apps. 📖 Get the eBook: h…

April 06, 2018 22:08

Application Security Groups now generally available in all #Azure regions https://t.co/DsvcFmEZQD

April 06, 2018 10:05

This is a great move for #Microsoft and all our customers! Let's co-inovate! -> A new IP strategy for a new era of… https://t.co/JBTIQifp42

April 06, 2018 09:21

RT @mfussell: Traefik integration with #ServiceFabric is super cool. https://t.co/a5W9G0SQIr

April 05, 2018 20:28

RT @gabrtv: See how https://t.co/05DWyX8Jy6 uses #Kubernetes and @brigadecore for CI/CD: https://t.co/fhXspGr1e7

April 05, 2018 18:51

RT @khnidk: dysk moved from ALPHA to BETA today with sas support merging https://t.co/v1D6GRcuXH . We are at *feature complete* (sans cache…

April 05, 2018 16:56