Batch file to enable/disable IE proxy

rla128

Junior Member
Feb 8, 2006
1
0
0
Is there a way to make a batch file that either enables a certain proxy, or disables the proxy in IE? I'm running into the problem that the HKEY_USERS value is different for each pc.

Thanks.

/Robert
 

KB

Diamond Member
Nov 8, 1999
5,406
389
126
You could create a registry file and apply it using regedit /s regfile.reg in a batch file;

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="10.0.1.1:8080"


ProxyServer is the IP address:port to the proxy server. If you made this "" it would blank this out.
ProxyEnable enabels th eproxy server. if you made this dword:00000000 it would clear it