While you'll have full control over any files or folders you create on Windows 10, certain files — like system files — are locked out. But other files, like those in other accounts or ones you might want to customize to change how Windows 10 works, are also locked out.
You can manually take ownership of these files, but if it's a thing you need to do on a regular basis so you can edit, rename, and delete as you see fit, there's an easier way that takes a bit of one-time work. With this Windows 10 guide we'll show you how to create a right-click context menu option to make it quick and easy to take ownership of a file.
How to add a 'Take Ownership' option to the right-click context menu
Important: Before you go through this guide, you should know that modifying the registry is risky, and it can cause irreversible damage to your installation if you don't do it correctly. It's recommended to make a full backup of your device before proceeding. Alternatively, you can create a system restore point, which will also help you to revert the changes you make using this guide.
To add a "Take Ownership" option to the right-click menu, do the following:
- Open Notepad.
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"
- Click File.
- Click Save As.
- Under "Save as type," select All Files, and name your file anything you want with the .reg extension.
- Click Save.
- Double-click your new .reg file to merge into the registry.
- Click Yes.
- Click OK.
Once you completed the steps, you can simply right-click any file or folder, and you should now see a new "Take Ownership" item on the menu. Then simply, right-click the file or folder, right-click it and select Take Ownership.
How to remove the 'Take Ownership' option from context menu
If you no longer want to have the option available in the right-click menu, then do the following:
- Open Notepad.
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]
- Click File.
- Click Save As.
- Under "Save as type," select All Files, and name your file anything you want with the .reg extension.
- Click Save.
- Double-click your new .reg file to merge into the registry.
- Click Yes.
- Click OK.
After you completed the steps, the option will be removed from the context menu.
More Windows 10 resources
For more help articles, coverage, and answers on Windows 10, you can visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central

Halo: MCC's live service elements make it better, not worse
Halo: The Master Chief Collection is more popular than ever, but some fans don't agree with the live service approach 343 Industries has taken with it. Here's why those elements are, at the end of the day, great for the game and for Halo overall.

Microsoft's Surface Duo is not 'failing up'
Microsoft announced this week that it was expanding Surface Duo availability to nine new commercial markets. While Surface Duo is undoubtedly a work in progress, this is not a sign of a disaster. It's also doesn't mean that Surface Duo is selling a ton either. Instead, the reason for the expansion is a lot more straightforward.

Here's what you can do if Windows 10 update KB5001330 is causing issues
In this guide, we'll show you the steps to get rid of the update KB5001330 to fix profile, gaming, and BSoD problems with the Windows 10 October 2020 Update and May 2020 Update.

These are the best PC sticks when you're on the move
Instant computer — just add a screen. That’s the general idea behind the ultra-portable PC, but it can be hard to know which one you want. Relax, we have you covered!