Ok I searched the board on how to get a certain variable but it came up with incorrect results.

code:
If $DesktopHideMyDocs >=0
$rc=WriteValue($RegKey1,$ClsidMyDocs,$DesktopHideMyDocs,'REG_DWORD')
$rc=WriteValue($RegKey2,$ClsidMyDocs,$DesktopHideMyDocs,'REG_DWORD')
EndIf
If $DesktopHideMyComputer >=0
$rc=WriteValue($RegKey1,$ClsidMyComputer,$DesktopHideMyComputer,'REG_DWORD')
$rc=WriteValue($RegKey2,$ClsidMyComputer,$DesktopHideMyComputer,'REG_DWORD')
EndIf
If $DesktopHideNetHood >=0
$rc=WriteValue($RegKey1,$ClsidNetHood,$DesktopHideNetHood,'REG_DWORD')
$rc=WriteValue($RegKey2,$ClsidNetHood,$DesktopHideNetHood,'REG_DWORD')
EndIf
If $DesktopHideIE >=0
$rc=WriteValue($RegKey1,$ClsidIE,$DesktopHideIE,'REG_DWORD')
$rc=WriteValue($RegKey2,$ClsidIE,$DesktopHideIE,'REG_DWORD')
EndIf

Not sure if I'm explaining this right but I need to find a way to get the $Clsid variable in the above code.

Thanks,
_________________________
========================== Brian Zamora Computer Technician brian_zamora@hotmail.com ==========================