Skip to content

Remove Registry Permissions

Removes permissions for a user or group on a specified registry key.

Required — Default: HKEY_LOCAL_MACHINE

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

Required

The registry key to remove the permission from

Required

The user or group to remove 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.

  • Category: Permissions
  • Brick ID: Registry-Remove-Permission
{
"category": "permissions",
"description": "Removes permissions for a user or group on a specified registry key.",
"developerVendor": "CapaSystems A/S",
"displayName": null,
"id": "Registry-Remove-Permission",
"name": "Remove Registry Permissions",
"parameters": [
{
"defaultValue": "",
"defaultValueObject": {
"id": "HKEY_LOCAL_MACHINE",
"name": "HKEY_LOCAL_MACHINE"
},
"description": "The registry hive to remove the permission from",
"id": "RegistryRoot",
"name": "Registry Root",
"regExValidation": "",
"required": true,
"type": "ComboBox",
"value": null,
"values": [],
"valuesObject": [
{
"id": "HKEY_CLASSES_ROOT",
"name": "HKEY_CLASSES_ROOT"
},
{
"id": "HKEY_LOCAL_MACHINE",
"name": "HKEY_LOCAL_MACHINE"
},
{
"id": "HKEY_USERS",
"name": "HKEY_USERS"
},
{
"id": "HKEY_CURRENT_CONFIG",
"name": "HKEY_CURRENT_CONFIG"
}
]
},
{
"defaultValue": "",
"defaultValueObject": null,
"description": "The registry key to remove the permission from",
"id": "RegistryKey",
"name": "Registry Key",
"regExValidation": "",
"required": true,
"type": "TextBox",
"value": null,
"values": [],
"valuesObject": null
},
{
"defaultValue": "",
"defaultValueObject": null,
"description": "The user or group to remove 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.",
"id": "Identity",
"name": "User or group",
"regExValidation": "",
"required": true,
"type": "TextBox",
"value": null,
"values": [],
"valuesObject": null
}
],
"powershell": {
"base64Encoded": true,
"function": "ZnVuY3Rpb2..."
},
"type": "powerbrick",
"version": "2026.7.2.1"
}