DIM hkey1 AS INTEGER
hkey1=RegOpenKey(HKEY_LOCAL_MACHINE, "SOFTWARE\ComputerAssociates\HostUUID")
IF hkey1=0 THEN
Print("Could not open registry key HKLM\SOFTWARE\ComputerAssociates\HostUUID")
END IF
Client Automation - Any Versions
Use function SetMode64(true) to disable the redirection to Wow6432Node
Example:
DIM hkey1 AS INTEGER
SetMode64(True)
hkey1=RegOpenKey(HKEY_LOCAL_MACHINE, "SOFTWARE\ComputerAssociates\HostUUID")
IF hkey1=0 THEN
Print("Could not open registry key HKLM\SOFTWARE\ComputerAssociates\HostUUID")
END IF