Get the App
SLTechnology News&Howtos  ›  Servers  › 

Batch process automatically sets IE proxy

Shulou Source: shulou.com Published: 2022-06-03 07:56:19 12月06日 Update

@ echo off

Rem disables automatic detection settings

Reg add "HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings\ Connections" / v DefaultConnectionSettings / t REG_BINARY / d 4600000000 / f

Reg add "HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings\ Connections" / v SavedLegacySettings / t REG_BINARY / d 4600000000 / f

Rem automatically sets up the proxy server

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

Rem enable Agent

Reg add "HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings" / v ProxyServer / d "proxynj.zte.com.cn:80" / f

Rem Settings proxy proxynj.zte.com.cn:80

Reg add "HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings" / v ProxyOverride / t REG_SZ / d "10.

Rem sets the address that does not use the agent: "10. ETS. ZTE. Com. CN.

Tags: Agent address server service detection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi macOS Huawei Shulou Information