Skip to content

Set Registry Permissions

Adds permissions for a specified user or group to a registry key with a specified inheritance type.

Required — Default: HKEY_LOCAL_MACHINE

The registry hive to add the permission to Allowed values: HKEY_CLASSES_ROOT, HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CURRENT_CONFIG.

Required

The registry key to add the permission to

Required

The user or group to add permissions for - ex. Domain\User or $env:COMPUTERNAME\LocalGroupName or S-1-5-32-544 or BUILTIN\Users. Please add only one user or group.

Required — Default: Full Control

Choose Permission Allowed values: Change Permissions, Create Link, Create SubKey, Delete, Enumerate SubKeys, Execute Key, Full Control, Notify, Query Values, Read Key, Read Permissions, Set Value, Take Ownership, Write Key.

Optional — Default: True

Enable to stop with an error when the registry key does not exist. Disable only if the key is expected to be missing on some machines.

  • Category: Permissions
  • Brick ID: Registry-Add-Permission