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
- Press
Windows Key + Rto open the Run dialog box. - Type
regeditand pressCtrl + 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
- In the left navigation pane, navigate to the specific registry key you want to modify.
- 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).
- In the Permissions window, click the Advanced button at the bottom right.
- At the top of the Advanced Security Settings window, locate the Owner field and click Change.
- In the box labeled Enter the object name to select, type
your current Windows username or type
Administratorsto grant ownership to all admin accounts. - Click Check Names to validate the entry, then click OK.
- 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.
- Click Apply, then click OK to return to the primary Permissions window.
Step 4: Grant Full Control Permissions
- 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.
- Under the Permissions for [User] section below, check the Allow box next to Full Control.
- 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.