Open Registry Key VI
- Updated2025-03-14
- 3 minute(s) read
Open Registry Key VI
Opens a reference to a key or subkey in the Windows registry.

Inputs/Outputs
![]() machine is the name of the networked machine. The default is the local machine. ![]() root key is the Windows registry root key.
![]() subkey is the name of a subkey of root key. A beginning backslash character \ might cause an error. ![]() security access mask is the access rights to assign the key.
![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() registry view specifies whether to open a 32-bit key or a 64-bit key on a 64-bit operating system.
![]() refnum out is a handle to the open key. ![]() error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Connectivity\Windows Registry Access\Windows Registry Manipulation.vi