2011年4月6日

用 Registry 設定 IE 的 proxy

將以下文字,
存成 proxy.reg 的文字檔,
然後連續點兩下執行,
就可以直接啟用 proxy 了。
(PS:   IP:port   請置換成您的資料)

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="IP:port"
"ProxyOverride"="<local>"

[HKEY_USER\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="IP:port"
"ProxyOverride"="<local>"

 

如果要停用,
就換成以下內容:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000000
"ProxyOverride"="<local>"

[HKEY_USER\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000000
"ProxyOverride"="<local>"