Windows 10 设置代理

注册表配置IE代理:

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d name:port
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyUser /t REG_SZ /d username
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyPass /t REG_SZ /d password

将IE代理设置应用到系统层面(windows 更新等应用):

netsh winhttp import proxy source=ie
# 查看
netsh winhttp show proxy
# 重置
netsh winhttp reset proxy
  • windows/代理设置.txt
  • 最后更改: 2019/09/18 21:47
  • 由 mrco