Windows Registry

⌘K

Overview

The Windows Registry policy allows administrators to manage registry keys and values on Windows devices. Administrators can create, update, or remove registry entries manually, or import registry settings from a .reg file.

The policy supports the following operations:

  • Add a new registry key.
  • Write or update a registry value.
  • Delete a registry value.
  • Delete a registry key and its associated values.
  • Import registry settings from an uploaded .reg file or a network share.

Configure Windows Registry

  1. Navigate to Manage > Create profile.
  2. Create a new profile or open an existing profile.
  3. Select Registry from the configuration options.
  4. Select a configuration mode:
    • Manually: Add, update, or remove registry keys and values by entering the required details.
    • Import (.reg file): Import registry settings from a .reg file stored on your computer or a network share.

Manual Configuration

Select Manually to configure registry entries individually.

Registry Entry Fields

FieldDescription
ActionSpecifies the operation to perform on the registry.
Header KeySelects the root registry key, such as HKEY_LOCAL_MACHINE.
Sub KeySpecifies the registry path relative to the selected header key.
Data TypeSpecifies the format of the registry value, such as REG_SZ.
Value nameSpecifies the name of the registry value. Leave this field empty when configuring the default value, if supported by the selected action.
Value dataSpecifies the data to write to the registry value.

Available Actions

Add key

Creates a new registry key under the selected header key.

  1. Select Add key from the Action dropdown.
  2. Select the required Header Key.
  3. Enter the registry path in Sub Key.
  4. Click Add more registry entry to add another entry, if required.
  5. Click Save.

Write value

Creates or updates a named value within a registry key.

  1. Select Write value from the Action dropdown.
  2. Select the required Header Key.
  3. Enter the registry path in Sub Key.
  4. Select the required Data Type.
  5. Enter the Value name.
  6. Enter the Value data.
  7. Click Add more registry entry to configure additional values, if required.
  8. Click Save.

Delete value

Deletes a specified value from an existing registry key.

  1. Select Delete value from the Action dropdown.
  2. Select the required Header Key.
  3. Enter the registry path in Sub Key.
  4. Enter the Value name to remove.
  5. Click Save.

Note: The Value name is required when deleting a registry value.

Delete key

Deletes the specified registry subkey and all its values.

  1. Select Delete key from the Action dropdown.
  2. Select the required Header Key.
  3. Enter the registry path in Sub Key.
  4. Click Save.

Warning: Deleting a registry key can remove multiple registry values. Verify the registry path before saving the configuration.

Add Multiple Registry Entries

To configure more than one registry operation in the same profile:

  1. Complete the fields for the first registry entry.
  2. Click Add more registry entry.
  3. Enter the details for the next entry.
  4. Repeat the process for additional entries.
  5. Review the entries listed under Registry Settings.
  6. Click Save.

The Registry Settings table displays the configured header key, subkey, data type, value name, value data, and action. Use the available entry actions to manage an existing entry.

Header Key

The Header Key specifies the Windows Registry root key where the registry entry is located. It determines the starting point for the registry path before the Sub Key is applied.

The available Header Key options are:

  • HKEY_CLASSES_ROOT – Contains information about file types, file associations, and COM components.
  • HKEY_CURRENT_USER – Contains settings specific to the currently logged-in Windows user.
  • HKEY_LOCAL_MACHINE – Contains system-wide settings that apply to the computer and all users.
  • HKEY_USERS – Contains registry settings for all user profiles on the computer.
  • HKEY_CURRENT_CONFIG – Contains configuration information for the current hardware profile.

Example:
If you select HKEY_LOCAL_MACHINE as the Header Key and enter SOFTWARE\Example\App as the Sub Key, the registry path is:

HKEY_LOCAL_MACHINE\SOFTWARE\Example\App

The Header Key is required when manually configuring a registry entry.

Import Registry Settings

The Import (.reg file) option allows administrators to apply registry settings from an existing registry file.

Import from a Local File

  1. Select Import (.reg file) under Configuration mode.
  2. Select Upload as the Import source.
  3. Click Upload.
  4. Select the required .reg file.
  5. Verify that the file meets the supported format and size requirements.
  6. Click Save.

Supported format: .reg

Maximum file size: 250 MB

Import from a Network Share

A network share allows managed Windows devices to access a registry file stored on a shared network location.

  1. Select Import (.reg file) under Configuration mode.
  2. Select Network share as the Import source.
  3. Enter the path to the registry file in the Path field.
  4. Use the Edit option to enter or modify the path, if required.
  5. Verify that the path is accessible from the managed Windows devices.
  6. Click Save.

Example network path:

\\ServerName\SharedFolder\policy.reg

The network path must point to a valid .reg file that the managed devices can access.

Save and Publish the Profile

After configuring the registry settings:

  1. Review all registry entries or the imported file path.
  2. Click Save to save the registry configuration.
  3. Click Save as Draft to save the profile without publishing it.
  4. Click Publish to publish the profile for deployment according to your organization’s deployment process.

Important Considerations

  • Verify the registry path, value name, data type, and value data before applying the policy.
  • Use the correct header key for the registry location you want to manage.
  • Ensure that imported .reg files contain the intended registry settings.
  • Confirm that network share paths are accessible from the managed devices.
  • Deleting registry keys or values may affect Windows settings or applications. Test the configuration before deploying it to production devices.

How can we help?