Introduction
Create or update a registry key value on a Windows device during an automation run. Use this action to enforce configuration settings, apply policies, or modify application behavior at scale.
π₯οΈ PLATFORM NOTE: This action is Windows-only. Registry keys don't exist on macOS or Linux.
Set Registry Key Action
From the automation pipeline in edit mode, click + and select Set registry key from the System category.
The action panel opens with the registry configuration fields.
Registry path
The full path to the registry key. Required.
Use PowerShell-style registry path syntax with the hive prefix.
Example: HKEY_LOCAL_MACHINE:\Software\MyApp\Settings
Common hive prefixes:
Prefix | Full hive |
| HKEY_LOCAL_MACHINE |
| HKEY_CURRENT_USER |
| HKEY_CLASSES_ROOT |
Click (x) to insert a variable, system variable, or custom field reference. The value resolves at runtime.
Key name
The name of the value to set within the registry path. Required.
Example: DisableTelemetry, MaxConnections, InstallDir
Click (x) to insert a variable, system variable, or custom field reference.
Value type
The data type for this registry value. Required.
Type | Description |
String | Plain text (REG_SZ) |
Expandable String | Text with environment variable references, e.g. |
Multi String | Multiple strings stored as a list (REG_MULTI_SZ) |
DWORD | 32-bit integer (REG_DWORD) |
QWORD | 64-bit integer (REG_QWORD) |
Binary | Raw binary data (REG_BINARY) |
Value
The value to write to the registry key. Required.
Click (x) to insert a variable, system variable, or custom field reference β useful when the value needs to be dynamic, such as setting an install path captured from a prior action.
Conditions
The Conditions section lets you restrict when this action runs based on device attributes or the outcome of a previous action.
See Action Conditions for the full reference on condition types, operators, and values.
Additional Options
Expand Additional options for action name, failure behavior, output variable assignment, retries, and the enabled toggle.
See Actions Overview for the full reference on additional options available on every action.
FAQ
What if the registry path doesn't exist? Level will create the path if it doesn't already exist, then set the specified value.
Can I use environment variables in the value fields? For values that need environment variable expansion, use the Expandable String value type. Standard String stores the literal text without expansion.
Who can add or modify Set Registry Key actions? Technicians with permission to edit automations in the relevant group. See Workspace β Permissions for access control configuration.


