Home > How To > How To Take Ownership And Full Control Of Files And Folders

How To Take Ownership And Full Control Of Files And Folders

Have you ever faced “Access denied” error while deleting any file? Many users face this problem daily. Some files which come from other computers, or some files that are left behind after upgradation of Windows, usually give this error. This error occurs because the Ownership of that file or folder is different. You cannot modify or delete any file or folder if you are not owner of that file or folder. So, how to solve this problem? There exist a long and tricky method of taking ownership of such files. But I will explain an easy and simple method.

What do we need?
-A small registry key which changes the ownership of any file or folder to current user. Download it from here.

How to do it?
Just follow these steps:

Step 1

First open downloaded zip file, it will have two files namely, “InstallTakeOwnership.reg” and “RemoveTakeOwnership.reg“. 

How To Take Ownership And Full Control Of Files And Folders - Downloaded Zip contains two files

Double-click on IntallTakeOwnership.reg, Click Run, if prompted.

How To Take Ownership And Full Control Of Files And Folders - Security Warning

After clicking Run, Press Yes, if UAC Prompt appears-

How To Take Ownership And Full Control Of Files And Folders - uac_dialogue_box

Registry editor will show you a warning about adding a key to registry, just press Yes.

Now you have successfully added this registry key.

How To Take Ownership And Full Control Of Files And Folders - Successfully added

Step 2

Now you have the power to take ownership of any file or folder. Just Right-click on that file and you will see Take Ownership option in Right-click menu.

How To Take Ownership And Full Control Of Files And Folders - Right Click Menu With TakeOwnership Option

Just click on Take Ownership and command prompt will appear for less than a second and will 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. And it will not give you any errors.

Step 3

Now, if you don’t want Take Ownership option in Right-click menu, double-click on another file in the downloaded zip file i.e. RemoveTakeOwnership.reg

Same Prompts will appear again and follow the same process as you did in Step 1.

Remove Take Ownership Sure To Continue

You will see a message about successful removal of Take Ownership option.

How To Take Ownership And Full Control Of Files And Folders - Successfully removed

Now, you won’t see Take Ownership option in the Right-click menu anymore.

How To Take Ownership And Full Control Of Files And Folders - Take Ownership Option Removed

You can use this Take Ownership option to delete or open some inaccessible folders and files. In case you have any problems, write in comments. 🙂

One comment

  1. Great, that really works. I was looking for such method to delete those stubborn folders.. thanks.

Leave a Reply

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