There are some files and folders that you cannot make some changes to them or even open them, so if you want to quickly take ownership of them on Windows 10, this post shows the way to add Take Ownership to the right-click menu. Get the method from the MiniTool website.
Although you can get full control of the files and folders you create on Windows 10, there are some particular files such as system files that are locked out.
And although you can take ownership Windows 10 of these files or folders manually, it is too troublesome, especially you need to get full control of them regularly.
Therefore, why don’t you add an option – Windows 10 Take Onwership to the right-click context menu to control all the files and folders?
How to Add Take Ownership to the Right-Click Menu?
So how to add Take Ownership to the right-click menu? You can modify the registry to perform this.
Step 1: Type notepad in the search box and then click the best match one to open Notepad.
Step 2: Copy and paste the following registry code into the text file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@=”Take Ownership”
“NoWorkingDirectory”=””
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F”
“IsolatedCommand”=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F”
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@=”Take Ownership”
“NoWorkingDirectory”=””
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@=”cmd.exe /c takeown /f \”%1\” /r /d y && icacls \”%1\” /grant administrators:F /t”
“IsolatedCommand”=”cmd.exe /c takeown /f \”%1\” /r /d y && icacls \”%1\” /grant administrators:F /t”
Step 3: Click File and then choose Save As….
Step 4: Choose All Files next to Save as type and then name the file anything you like with the .reg extension. It is recommended to save the file to Desktop so that you can find it easily.
Step 5: Find the file you just saved and then double-click it to merge into the registry.
Step 6: Click Yes twice and then click OK.
Step 7: After you have finished all the steps above, then you can right-click any file or folder and find that there is a new Take Ownership option on the menu.
Now you can click Take Ownership to get full control of any file or folder on your computer.
How to Remove Take Ownership from the Right-Click Menu?
If you don’t want to use the Take Ownership option anymore, then you can remove it from the right-click menu. Follow the instructions below to remove it:
Step 1: Open Notepad and then copy and paste the following registry code into the text file:
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
Step 2: Repeat step 3 to step 6 mentioned in How to Add Take Ownership to the Right-Click Menu.
Step 3: After you finished all the steps above, then you can right-click any file or folder and find that the Take Ownership option has been removed from the menu.
Bottom Line
From this post, you can know how to add the Take Ownership option to the right-click menu on Windows 10, and if you don’t need it anymore, you can also try the method to remove it from the menu.