Skip to content

Instantly share code, notes, and snippets.

@finas
Last active January 6, 2018 13:39
Show Gist options
  • Save finas/43fad36d08c1aa9b202b3c4ec6d69b6a to your computer and use it in GitHub Desktop.
Save finas/43fad36d08c1aa9b202b3c4ec6d69b6a to your computer and use it in GitHub Desktop.
window set system proxy
@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