Home >System Tutorial >Windows Series >How to Gain Full Ownership(Permissions) for Registry Key

How to Gain Full Ownership(Permissions) for Registry Key

WBOY
WBOYOriginal
2024-08-02 01:21:041146browse

This tutorial will guide you on how to gain full permissions for a registry key in Windows 10.

When the user account you are currently signed in to Windows 10 lacks the necessary privileges to edit the registry keys, the Registry Editor prompts error messages as follows:

  • Cannot create value: Error writing to the registry.
  • Cannot edit value_name: Error writing the value's new contents.

How to Gain Full Ownership(Permissions) for Registry Key

How to Gain Permissions of Protected Registry Key in Windows 10

You need to take ownership of that particular key and grant full permissions to your signed-in account. Here's how:

Step 1: Open Run box by pressing Win+R keys.

Type in regedit, and click OK to open the Registry Editor.

How to Gain Full Ownership(Permissions) for Registry Key

Step 2: Navigate to the protected key you want to take ownership of (ex:cmd)

HKEY_CLASSES_ROOTDirectoryshellcmd

Right-click the cmd key, and click on Permissions.

How to Gain Full Ownership(Permissions) for Registry Key

Step 3: In the Permissions window that appears, click on Advanced.

How to Gain Full Ownership(Permissions) for Registry Key

Step 4: In the Advanced Security Settings dialog, you can see the current owner (TrustedInstaller) of your selected key. Click Change link.

How to Gain Full Ownership(Permissions) for Registry Key

Step 5: Type in your account name, click Check Names button to convert the username to correct format. Click OK.

How to Gain Full Ownership(Permissions) for Registry Key

Step 6: Check the Replace owner on sub containers and objects option. Click Apply and OK.

How to Gain Full Ownership(Permissions) for Registry Key

Step 7: When back to the Permissions window, select the desired user name and then check Allow checkbox under the Full Control row, and click OK.

How to Gain Full Ownership(Permissions) for Registry Key

If your user account is not shown under the Group and user names list, click on Add button.

Step 8: When done, close the Registry Editor.

Now you've taken ownership of a protected registry key and grant your account full permissions.

The above is the detailed content of How to Gain Full Ownership(Permissions) for Registry Key. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn