Using windows, I'd like to know if there is some way to change proxy configuration by modifying the Windows registry through command line.
As said here, you can always do:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
or
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
This does uncheck the proxy option (see image). However, it does not applies the changes in the system. In other words, you get the option to be checked/unchecked, but it won't be applied unless you don't enter manually in the dialog and press "Accept".
Does anyone know what command makes it work straightforward?