gray:

How about this one...

$key="Software\Policies\Microsoft\Internet Explorer\Control Panel"

$=writevalue("$key","Proxy","1","REG_DWORD")

Shawn.