Dude, you’re not alone. windows 10 设置代理 is a pain. I ended up using a batch file to toggle the proxy on and off. Here’s the script if you wanna try it:
```batch
@echo off
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
```
Just change the /d 1 to /d 0 to turn it off.
```batch
@echo off
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
```
Just change the /d 1 to /d 0 to turn it off.
