LabVIEW Error 603 When Reading Windows Registry Keys

Updated Jun 20, 2023

Reported In

Other

  • LabVIEW

Issue Details

I am using Windows Registry Access VIs of LabVIEW to read / set values on Windows registry keys.
However, for a specific key, I am facing error -603 when trying to use Read Registry Value Simple.vi for reading the key value

Solution

When using the Open Registry Key VI to open the key reference, ensure that the registry view input is set to the proper value, e.g.:
  • KEY_WOW64_32KEY when attempting to access to a 32-bit key
  • KEY_WOW64_64KEY when attempting to access to a 64-bit key

Additional Information

By default, the Open Registry Key VI attempts to access a Windows registry key with same bitness of LabVIEW (i.e.: 32 bit for LabVIEW 32-bit).

If the registry key bitness does not match LabVIEW bitness, you need to specify the correct value for the registry view input terminal according to the registry key bitness.