Last active
January 6, 2018 13:39
-
-
Save finas/43fad36d08c1aa9b202b3c4ec6d69b6a to your computer and use it in GitHub Desktop.
window set system proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem disbale proxy | |
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f | |
rem enable proxy | |
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f | |
rem set proxy | |
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 127.0.0.1:8081 /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment