Take ownership of files, folders, registry keys in Windows 11

This article will show you how to take ownership of files, folders,registry keys in Windows 11 operating system.

Kapil Arya
11x Microsoft MVP · Admin
4 min read
Add as a preferred
source on Google

In Windows 11, the content specifically files, folders, registry keys can have different owners. If the content is reserved for Windows 11 processes, the owner could be system based accounts. Sometimes, to make operation on these content, you have to take the ownership first. For example, even being an administrator on your system, you may not be able to delete a specific folder. This is because you do not have the necessary ownership to delete the folder. You may be the one and only admin on your system but the file, folder or registry key you want to delete might be owned by a system account or process. In order to deal these type of cases, this guide will show you how to take ownership of files, folders, registry keys in Windows 11.

Take ownership of files, folders, registry keys in Windows 11

Option 1: Take ownership of files and folders

1. Right click on the file or folder for which you want to take ownership and select Properties. If it’s a file, the right click context would be like this:

select Properties
select Properties

If it’s a folder, the right click context would be like this:

select Properties
select Properties

2. On the property sheet, switch to Security tab. Click on the Advanced button as shown in the below image.

Advanced button
Advanced button

3. Then under Advanced security settings, you will be able to locate the current owner for the file or folder. Click on Change link next to owner name.

Advanced security settings
Advanced security settings

4. Then under Select user or group, click on Advanced button.

Select user or group
Select user or group

5. In the next window, click on Find now.

Find now
Find now

6. From the search results, locate your user account name, for which you want to take the ownership and then click OK.

search results
search results

7. Now back in the Select user or group window, click OK.

Select user or group
Select user or group

8. Now back in the Advanced security settings, make sure you check Replaced owner on subcontainers and objects, if you want to apply ownership on folder sub-content. You can also check replace all child object permission entries from this object option.

Advanced security settings
Advanced security settings

9. Click on the Yes button in the confirmation prompt.

confirmation prompt
confirmation prompt

10. Back in the Advanced security settings window, click Apply followed by OK.

Advanced security settings window
Advanced security settings window

11. Now back in the folder or file property sheet, click Apply, OK.

property sheet
property sheet

In this way, the ownership of the file or folder has been changed.

Option 2: Take ownership of registry keys

1. Right click on the registry key for which you want to take the ownership, and select Permissions.

Permissions
Permissions

2. In the Permissions window, click on Advanced.

Advanced
Advanced

3. Under Advanced security settings window, the current owner for the registry key should be mentioned. Click on the Change link next to it.

Advanced security settings window
Advanced security settings window

4. In the Select user or group, click Advanced.

Select user or group
Select user or group

5. Then click Find now in the next window.

Find now
Find now

6. From the search results, locate your account you want to transfer the ownership. Click OK.

search results
search results

7. Then click OK in the Select User or group window.

Select User or group
Select User or group

8 .Now back in the advanced security settings, you can check Replaced owner on subcontainers and objects, if you want to apply ownership on registry subkeys. You can also check Replace all child object permission entries with inheritable permission from this object option. Click Apply.

advanced security settings
advanced security settings

9. In the confirmation prompt, choose Yes.

confirmation prompt
confirmation prompt

10. Then back in the Permissions window, click Apply followed by OK.

Permissions
Permissions

In this way you have successfully taken the ownership of registry key.

That’s it!

Share this article
https://www.kapilarya.com/take-ownership-of-files-folders-registry-keys-in-windows-11

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

Leave a Comment

Your email address will not be published. Required fields are marked *