Used the following and STILL am able to connect to the internet.. What could be causing this? Is their anything that im missing. Any help much appreciated.

code:
 

IF INGROUP("Administrators")
$key="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
$rtn=writevalue($key,"ProxyEnable","0","REG_DWORD")
? "Net disabled.."
$key="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
$rtn=writevalue($key,"ProxyEnable","0","REG_DWORD")
? "Net disabled.."
$rs=WriteValue ("HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyServer", "", "REG_SZ")
? "Net disabled.."
$rs=WriteValue ("HKEY_LOCAL_MACHINE\Enum\Network\MSTCP\0001\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyServer", "", "REG_SZ")
? "Net disabled.."


The odd thing is all of the keys have been updated..

Many thanks

Steve
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!