windows bat 設置代理上網腳本bat


取消IE代理服務器

*************************************************************************************************

@echo off 

echo 開始設置取消xproxy代理..........

echo 現在程序將關閉您的瀏覽器。。。。。
taskkill /f /im iexplore.exe
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
color 2
echo 已取消代理服務器上網
echo 按任意鍵關閉此對話框
pause>nul

***************************************************************************************************

設置IE代理服務器

***************************************************************************************************

@echo off
echo 開始設置proxy代理..........
echo 現在程序將關閉您的瀏覽器。。。。。
taskkill /f /im iexplore.exe
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 "192.168.20.228:8889" /f
color 2
echo 已成功設置代理服務器上網
echo 按任意鍵關閉此對話框
pause>nul

****************************************************************************************************


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM