The script is as follows:
var WshShell = WScript.CreateObject ("WScript.Shell");
if (WshShell.RegRead ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable") != 0)
WshShell.RegWrite ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable", 0,"REG_DWORD");
//WScript.Echo (WshShell.RegRead ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable"));
Do I have to include a handle to the session or something of the kind?
Cheers,
Augusto