how to use proxy on windows10

gc setWindowsProxy.bat:

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d chenshi.de:1080 /f
cmdkey /generic:chenshi.de /user:chenshi.de /pass:chenshi.de