How to Take Ownership of Files and Folders in Windows
Have you ever faced “Access denied” error while deleting or accessing any file or folder? Many users face this problem daily. For example, Windows.old folder (created after upgrading of Windows) and hosts file, usually give this error if you try to delete or modify them. Which means, you need to take ownership and full access of such files and folders to solve “Access denied” error.
This error occurs because you don’t have permissions to modify or delete that file or folder. You cannot modify or delete any file or folder unless either you are the owner of that file or folder; or you have been provided necessary permissions. So, how to solve this problem? You can change file and folder permissions to get the required access. It has been explained here in details.
Take Ownership of Files and Folders in Single Click
You can go to File or Folder’s properties and then set security permissions to change its ownership get required access. But this process is a bit tricky for a newbie. So, we have a better and quicker solution for that.
A small registry key which allows you to take ownership and full control of any file or folder, can do it for you. This registry key will add Take Ownership option to right-click context menu. Let’s see the process in details.
NOTE: Please note that you must be an Administrator on your PC in order to use this trick.
Step 1: Add Take Ownership Option to Right-Click Context Menu
First of all, we are going to add Take Ownership option to right-click context menu. You can easily do it using a small registry key (download it from here). If you don’t prefer using the registry file, you can also do it manually which has been explained in details by Walter Glenn on HowToGeek. However, in this tutorial, we are going to use the Registry file.
So, after downloading, extract the ZIP file. You will get to files inside that – InstallTakeOwnership.reg
and RemoveTakeOwnership.reg
. Double-click InstallTakeOwnership.reg
file to add Take Ownership option to right-click context menu which will help us take ownership of files and folders in Windows.
You might be prompted for Administrator access to modify Registry settings. So, when you see UAC prompt, click Yes to continue.
Registry editor will show you a warning about adding a key to registry, just press Yes and then OK to continue.
Now you have successfully added Take Ownership option to right-click menu.
Step 2: Take Ownership of Files and Folders with Ease
Now you have the power to take ownership of any file or folder. Just right-click on that file and select Take Ownership option from right-click menu.
You will see UAC prompt again to ask you for Administrator permissions for Command Prompt. Click Yes to continue.
Command prompt will appear for a moment and disappear automatically. The time for which command prompt appears, depends on number of items inside the folder that you are taking ownership of.
Now that file or folder is all yours, you can modify or delete it as you wish, it will not give you any errors.
SEE ALSO: How to Customize Right-Click Context Menu in Windows 10?
Step 3: Remove Take Ownership option from Right-click Menu
Now, if you don’t want Take Ownership option in right-click menu anymore, you can easily remove it. Simply double-click RemoveTakeOwnership.reg
from downloaded Registry files. Again, you will see UAC prompt, click Yes to continue.
Now, click on Yes and OK again to remove Take Ownership option from right-click context menu. Remember, you won’t be able to take ownership of files and folders in single click anymore.
Now, you won’t see Take Ownership option in the right-click menu anymore.
Take Ownership and Full Access of Files and Folders in Windows with Ease
You can use this Take Ownership context menu option to take ownership and gain control of those stubborn inaccessible folders and files. After taking full control and ownership, you can easily modify, delete or open files or folders that were inaccessible.
Hope you liked this tutorial. In case you have any problems or suggestions, feel free to write in comments down below. You may also subscribe below to get latest tutorials by email.
The WindowsApp folder has provided great benefit. Thank you.