Pages

Wednesday, October 16, 2013

configuring proxy setting through a script in windows :-
-------------------------------------------------------------
t WSHShell = WScript.CreateObject("WScript.Shell")

WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer", "IP adddress of proxy server"
WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 1, "REG_DWORD"
WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride", "proxy server address;<local>"

Copy it in notepad and save as .vbs file.

No comments:

Post a Comment