Delete Registry Key VI
- Updated2025-07-30
- 2 minute(s) read
Deletes the specified key or subkey.
Caution Incorrectly modifying the registry can damage Windows or prevent you from starting Windows.

Inputs/Outputs
refnum
—
refnum is a handle to the open key.
subkey
—
subkey is the name of a subkey of root key. A beginning backslash character \ might cause an error.
registry view
—
registry view specifies whether to delete a 32-bit key or a 64-bit key on a 64-bit operating system.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
refnum out
—
refnum out is a handle to the open key.
error out
—
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
refnum
—
subkey
—
registry view
—
error in (no error)
—
refnum out
—
error out
—