netsh winhttp set proxy proxy-server="socks=localhost:9090" bypass-list="localhost"
===== View the current proxy settings =====
netsh winhttp show proxy
===== Clear all proxy settings =====
Remove all configured proxies and connect directly.
netsh winhttp reset proxy