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