Hi,

Would it not be better to disable the proxy server with the ProxyEnable Key and prevent access to connection details with windows policies?

eg.

code:
 
;enable proxy
IF INGROUP("YEAR6")

$key="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
$rtn=writevalue($key,"ProxyEnable","1","REG_DWORD")

endif

;disable proxy
IF INGROUP("YEAR7")

$key="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
$rtn=writevalue($key,"ProxyEnable","0","REG_DWORD")

ENDIF


Darren
_________________________
I want to share something with you - the three sentences that will get you through life.
Number 1, 'cover for me.'
Number 2, 'oh, good idea, boss.'
Number 3, 'it was like that when I got here'.