windows设置代理


1 手动输入 (地址和端口)

 

 

方法二:使用bat脚本,双击即可

设置脚本 SetIEProxy.bat:

 

@echo off 

echo 开始设置IE代理上网 

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 /d "代理地址:端口号" /f 

echo 代理设置完成按任意键关闭 

pause>nul

 

取消脚本 ClearIEProxy.bat:

 

@echo off 

echo 开始清除IE代理设置 

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f 

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "" /f 

echo IE代理清楚完成按任意键关闭 

pause>nul

 

脚本来源:

https://blog.csdn.net/u012586326/article/details/112343755

 

 

  1. @echo off
  2.  
    echo 开始设置IE代理上网
  3.  
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
  4.  
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "代理地址:端口号" /f
  5.  
    echo 代理设置完成按任意键关闭
  6.  
    pause>nul


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM