$shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host");
$registry_proxystring = $shell->RegRead
("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyServer");
同樣可以用RegWrite方法寫入
如果有問題,請參考相關資源:[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;Q221081
[/url] (出處:Viphot)