forked from xxcanghai/cnblogsFiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
删除本机代理服务器设置.bat
16 lines (15 loc) · 1.01 KB
/
删除本机代理服务器设置.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@echo off
title 删除本机代理服务器设置
echo 正在写入注册值...
echo ==============================
REG ADD "HKCU\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\Internet Settings\Connections" /v "DefaultConnectionSettings" /t REG_BINARY /d "3C000000AA0100000B0000000F000000" /f
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" /t REG_SZ /d "" /f
REG ADD "HKLM\System\CurrentControlSet\Hardware Profiles\0001\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\Internet Settings" /v "ProxyEnable" /t REG_DWORD /d "1" /f
REG ADD "HKCU\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\Internet Settings\Connections" /v "SavedLegacySettings" /t REG_BINARY /d "3C000000AE0100000B0000000F000000" /f
REG ADD "HKCU\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\Internet Settings" /v "ProxyOverride" /t REG_SZ /d "<local>" /f
echo.
echo ==============================
echo 完成! 重启IE后生效
:end
exit