All pastes #33754 Raw Edit

Unnamed

public text v1 · immutable
#33754 ·published 2005-12-15 09:11 UTC
rendered paste body

Set WshShell = WScript.CreateObject("WScript.Shell")
FSInterface = WshShell.RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable")
If FSInterface = "1" Then 
WshShell.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 0, "REG_DWORD" And WshShell.RegWrite"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxySettingsPerUser", 0, "REG_DWORD"
End IF
WScript.Quit