Grant Full Control to Locked Registry Keys in Regedit

Modifying protected or locked registry keys in Windows requires adjusting their security permissions, as the operating system restricts access by default to prevent accidental system instability. This guide explains how to take ownership of a locked registry key using the built-in Windows Registry Editor (Regedit) and assign Full Control permissions to your user account or administrator group so you can make the necessary changes.

Step 1: Open Registry Editor as Administrator

  1. Press Windows Key + R to open the Run dialog box.
  2. Type regedit and press Ctrl + Shift + Enter (or click OK and accept the User Account Control prompt) to launch the Registry Editor with administrative privileges.

Step 2: Locate the Locked Key and Open Permissions

  1. In the left navigation pane, navigate to the specific registry key you want to modify.
  2. Right-click the locked key (folder) and select Permissions… from the context menu.

Step 3: Take Ownership of the Registry Key

Before granting permissions, you must take ownership from the default owner (usually TrustedInstaller or SYSTEM).

  1. In the Permissions window, click the Advanced button at the bottom right.
  2. At the top of the Advanced Security Settings window, locate the Owner field and click Change.
  3. In the box labeled Enter the object name to select, type your current Windows username or type Administrators to grant ownership to all admin accounts.
  4. Click Check Names to validate the entry, then click OK.
  5. Back in the Advanced Security Settings window, check the box for Replace owner on subcontainers and objects if you need control over all subkeys inside this folder.
  6. Click Apply, then click OK to return to the primary Permissions window.

Step 4: Grant Full Control Permissions

  1. In the Group or user names list, select your user account or the Administrators group.
    • If your username is not listed, click Add…, type your username, click Check Names, and click OK.
  2. Under the Permissions for [User] section below, check the Allow box next to Full Control.
  3. Click Apply, then click OK.

The registry key is now unlocked, allowing you to edit values, create new entries, or delete the key as needed.