[Guide] How to Take Ownership (Permission) of a Registry Key in Windows?

Many times we post Windows tutorials which require taking ownership and assign full permission on a particular registry key. Although we provide detailed steps to do this task in all our tutorials, some people find it difficult to take ownership of registry keys.

Recently when we received an email from one of our reader asking how to assign a user full permission on a registry key in Windows, we decided to create a dedicated article about it.

So today in this article, we'll post a step-by-step guide with screenshots which will teach you how to take ownership and grant full permission and control on a registry key. It'll become useful if you are trying to delete a key in Registry and getting an error such as "Cannot delete key: Error while deleting key".

So without wasting time, lets start the tutorial:

UPDATE: Also check out new methods to take ownership and grant full permissions on Registry keys from command-line:

[Windows Tip] Take Ownership (Permission) of Registry Keys from Command Line

1. Type regedit in RUN or start menu searchbox and press Enter. It'll open Registry Editor.

2. Now go to the desired registry key, right-click on it and select "Permissions..." option.

Select_Permissions_on_Registry_Key.png

3. It'll open a new dialog box. Click on "Advanced" button.

Change_Advanced_Permissions_on_Registry_Key.png

For Windows XP, Vista and Windows 7:

Go to "Owner" tab, select your username and click on Apply button. If you also want to take ownership of the sub-key, enable the option "Replace owner on subcontainers and objects".

Take_Ownership_of_Registry_Key.png

PS: If you want to get permission on all sub-keys, enable following 2 options in "Permissions" tab:

  • Include inheritable permissions from this object's parent
  • Replace all child object permissions with inheritable permissions from this object

If you are not a Windows 8 or later OS user, jump to Step 4.

For Windows 8/8.1, Windows 10 and later:

Click on "Change" button near "TrustedInstaller" as shown in following image:

Change_Owner_Windows_8_Registry_Key.png

It'll open new dialog box. Now type your username and click on "Check Names" button. It'll automatically convert the username to correct format.

Set_Owner_Windows_8_Registry_Key.png

Now click on OK button.

4. Now select your username in first dialog box and check the "Allow" checkbox given for "Full Control" option.

Take_Full_Control_on_Registry_Key.png

5. That's it. Click on Apply and OK buttons and you'll now have full permission on the registry key.

Also check:

[Guide] How to Take Ownership (Permission) of a File or Folder Manually in Windows?

[Guide] How to Restore "TrustedInstaller" as Default Owner of a File, Folder, Registry Key





Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Windows 10, Windows 7, Windows 8 / 8.1, Windows Vista, Windows XP


Other similar articles that may interest you


Comments

  • How do I give permissionsback to TrustedInstaller, when I changed it, TrustedInstaller wasnt in the list of possible owners anymore.??

  • VG

    ^^ Here you go:

    http://www.askvg.com/guide-how-to-restore-trustedinstaller-as-default-owner-of-a-file-or-folder-in-windows/

  • HI
    While this is one of the better documented articles on the subject it fails to work. I am trying to change the permissions on HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR. I get "Unable to save permission changes on USBSTOR. Access is denied." I also have problems accessing the lowest level key in the hierarcy => Properties => "Properties cannot be opened. An error is preventing this key from being opened. Details: Access is denied." Finaly, while changing the owner, I get the meesage "Registry Edito could not set owner on the key currently selected, or some of its subkeys." which I am assuming reffers to the issue with "Properties" above.

    Vista 64bit SP2 on a Gateway FX-6800, Home Premium. I am wondering if there is a relationship between the "Vista" version which is generaly not noted in these articles. I am on Home Premium, but I assume most professionals are on Business or Ultimate, which have GPE.

    I would love to "neuter" Vista security and revert it back to a state similar to XP. I do not care what Microsoft's intent was. This issue alone has consumed a man-day of my time, and is not solved. Other security & access problems have consumed similar chuncks of time, and the general interface takes more clicks to run.

  • Me too! Would very much like further help with this issue!

  • Thank you very much

  • OMG Thank you soo much! Confirmed working on windows 8!

  • This does not work for me on Windows 8 at all.

  • Ty for that!!!!! Works like a charm

  • I would love to be able to take owner ship via a command line for a batch file. how would I go about this to work on both windows 7 32 and 64?

  • Giving Adminstrators the ownership not the local user.

  • VG

    ^^ Do you want to take ownership of a file or Registry key via command line?

  • I have the same problem. I need to delete 2 of the 3 dvd devices that are listed. No matter what I do I can not get permission. I along with thousands of others have wasted many hours trying to repair what should be very simple problems. Mine being that the details for every dvd device that was ever installed on the computer is still there. This is the last line of attack for allowing my dvd r device to read dvd disks and not just cd roms. Again the same as thousands of others. The tools that Microsoft have offered to fix this as usual do not work. I am getting very pissed off with it.

  • Hey when i open windows reader or other metro apps the app is automatically closing with a error message "the app didn't start" plz email me

  • I wanted to have the bubble screensaver on Windows 8.1 to work with desktop background. Microsoft had chosen to eliminate this option. Now it a solid background color that you can choose the color if you like. Like everyone on the web, this is annoying because the Windows 7 bubble saver was very soothing...
    As I searched the PC registry and such areas, I found that permissions are denied to all for changes to the screensaver....
    Followed your instructions to get full control of screensaver but the boxes for checkmarks are still ghosted after following all I have done.....
    If you can figure out how to get permissions to make changes in the registry for the screensaver, I would and many other, be very, very grateful.
    I downloaded 2 different programs to change the screensaver but the background remains the same....Even changed the registry value to 1 from a 0 and still no change...
    Thanks for your help
    Steve

  • Step No.3, for Windows 8, what user do we use?

  • It worked. Thanks

  • Its not working on win 8.1 VG.

  • VG

    ^^ It works without any problem in all Windows versions. Please make sure you are following all the steps properly.

  • doesn't works on windows 7 with ESET NOD32 Folder, it says that i cannot apply that with the folder :/

  • hello,
    I need to remove some registry files that are really damn !!!!!! nggrrrrr belong to the bully IDM
    I'm sick and tired after trying everything. please assist to get hold of administrator rights I'm unable to do so via the above method.

  • VG

    ^^ Did you try CCleaner?

    http://www.askvg.com/ccleaner-freeware-system-optimization-and-privacy-tool/

  • Thanks mate. Read loads of rubbish about removing 'yourfiledownloader' knew the real problem was taking ownership of registry keys in W8 but this was the first clear article on achieving this.
    Well done

  • Thank you bro, It's working!

  • I still could not get permissions.. Access is denied..
    What can I do to get full control? thanks

  • That's a very nice, clear explanation, but there's something about my computer that prevents the instructions from working anyway. When I click "OK" at the end of step 3, I don't get the dialog box shown in your step 4. Instead, I am returned to the "Advanced Security Settings for XXX" dialog: If I click "OK" or "Apply" there, a pop-up says "Unable to set new owner on XXX. Access is denied." This happens regardless of whether I'm logged onto my Win 8.1 Pro machine as a domain admin or a local admin.

    The only clue I can find is that Principals listed on the "Advanced Security Settings" dialog are generally on the local machine while I can enter only domain users on the "Select User, Computer, Service Account, or Group" dialog. However, that doesn't really seem to be the answer because I can't add a registry value even when I log in as a local admin, and even though the dialogs show the local administrators as having both ownership and full control.

    Do you have any idea what other security setting or error might be interfering?

    Thanks.

  • hello sir VG,

    how can I restore my setting, back to TrustedInstaller?. im using windows 8.1

  • Mr. VG,

    Is it ok ill repair it to the Service Center? because my Mobile Applications is "Forcing to close" when I tried to open them. after I Change my TrustedInstaller.

    Tnx..

  • hey,
    i wanted to change my language to English ,its fine for everything but on my lock screen and date is displays in Hindi,so i visited the following site

    http://www.askvg.com/how-to-change-or-customize-day-name-date-and-time-format-on-windows-8-lock-screen/

    but i was getting an error saying "Cannot edit TimeFormat: Error writing the value's new contents,so i read the comments over there someone had the same problem and was told to visit

    http://www.askvg.com/guide-how-to-take-ownership-permission-of-a-registry-key-in-windows/

    to take the owner ship ,i also did the same as said and again tried to change the time format, still not working..could you please help out.
    and i have change my language to en-IN as default and removed the prev hi-IN

  • The instructions are clear and consistent with my experience but I have not yet had success on Win 8.1 Pro.

    As others have reported taking ownership or applying full control to some keys is met with an Access Denied message and so far I have not been able to get past this wall.

    I am trying to reset the Type parameter from 0x00000020 to 0x00000010 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\gpscv to correct a failure to load Group Policy Access error, which apparently has resulted from a failed security patch.

    Has anyone found a way around this very annoying 'security' block on getting access to the registry?

  • Hi VG,

    Click on "Change" button near "TrustedInstaller" as shown in following image:

    Instead of 'trustedinstaller', mine (Win10 home version) shows 'System' next to the "Change".
    I still continued anyway, and put my usename (PC name) it does not work..shows an error message.

    How do I fix this?

    Thanks,

    Jay.

  • These steps aren't accurate for windows 10 Pro.

    When you go into advanced permissions, hit change, you can put your name in, hit OK, and your name shows up at the top as the owner. However, your name doesn't appear in the list of permission entries in the Advanced Security Settings for XXXX window, nor does it appear in the Permissions for XXXX window. So step 4 doesn't work on Win 10 pro, and the changes don't get saved after reboot because you can't take control.

  • Thanks alot for this guide, I've searched everywhere and this place offers the best explanation. I'm on Win 10 Enterprise, and everything works perfectly.

  • Thanks a lot. It works

  • Thank you!! awesome guide.

  • thanks very much,, this post help me...

  • Awesome works in WINDOWS 10! Thank you muchly

Leave a Comment

(required)