There are some files and folders that you cannot make any changes to or even open up. So, if you want to edit or view the contents of these files or folders on the Windows 10 operating system, you need to add the Take Ownership option to the Right-Click Menu.
While you have almost complete control over the files and folders you create on Windows 10, some files (such as file system files) are locked. You can take Ownership of Windows 10 of these files or folders manually, but it is too much of a hassle, especially when you want to do this regularly.
So why not think about adding the Take Ownership option to the Context Menu (Right-Click Menu) to control these files and folders?
What is Take Ownership?
In Windows 10, any file or folder, the user has the right to edit it. Sometimes we encounter a situation where we cannot access the file system on the computer, especially the file system that you need to add some command lines for your computer to function properly.
Therefore, many people have developed scripts in CMD to regain its rights, but not everyone can do this. So Take Ownership feature was born, with only a few small adjustments in the Registry, this feature will be available on your right-click Menu.
How to add the Take Ownership to the Right-Click menu on Windows 10
How do you add Take Ownership to Right-Click Menu on Windows 10 OS? Simply put, we need to modify the Registry to do this:
Step 1: Type notepad into the Start Menu search box and then select the first most accurate result to open Notepad.
Step 2: Copy and paste the following code into the open Notepad 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 choose Save As…
Step 4: Select All Files next to Save as type and then name the file with whatever name you like with the .reg extension. To make it easier to find your file later, we recommend storing it off the Desktop.
Step 5: Search for the file you just stored outside the Desktop and double click on it to add it to the Registry.
Step 6: Click Yes 2 times and then click OK.
Step 7: Once you have completed all the steps above, you can try right-clicking on any file or folder and see that it has the Take Ownership option on the Menu.
From now on, you can click Take Ownership to have full control over any files or folders currently on your computer or laptop.
How do remove Take Ownership from the Right-Click Menu on Windows 10
If you do not want to use the Take Ownership option anymore, you can also remove it from the Right-Click Menu by following the instructions below:
Step 1: Open Notepad, then copy and paste the Registry code into the application:
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\*\shell\runas] [-HKEY_CLASSES_ROOT\Directory\shell\runas]
Step 2: On the menu bar, click File and select the Save As… feature.
Step 3: In the Save as type section, select All Files, then name it with the extension .reg. Click Save to save
Step 4: Double-click on the file to disable Take Ownership, then select Yes twice and you have disabled this feature on your right-click menu.
Step 5: After completing the steps, you can check again by right-clicking on any file or folder on Windows 10 and checking if the Take Ownership option has been deleted.
Through this post, you already know how to add the Take Ownership option to the Right-Click Menu on Windows 10. And if you don’t need this feature anymore, you can also remove it from your Context Menu.