This is bizzarre!! Ive exported the key before doing this ive manually disabled the ProxyServer (set it to value 0) exported this to the root of C:\ (called it disanet.reg) the branch being, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings. Ive then run the following (after manually deleting the branch!) code:
;disable proxy
IF INGROUP("Administrators")
$rmv = DelKey("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings")
If $rmv = 0
? "Key deleted..."
Endif
shell "regedit /s c:\disanet.reg"
? "Key loaded"
ENDIF
If I load this key through the script it sets the value of ProxyServer to 1 if I merge the key manually (by right clicking on it) it does excactly what I want and sets it to 0... Im going mad!!!
Steve
_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!