A context menu is the result of an action on the Graphic User Interface. The most popular context menu is the one for right clicking. Once you right click on a file, folder or drive, the resulting menu is that item’s context menu. Now, when using the PC you may want to assume full control of certain amenities such as folders or important files. How about having such a command right in the context menus? You can do this in Windows 10. Basically you can own a file, entire folder or even the drive all in one instance. BUT don’t apply the take ownership on the c:\ drive, because it has system users and permissions – which if messed up, will require a windows re-installation. Only do this on files, and folders or external drives if you want.
Simply make the current user the owner of the resource in question and grant them elevated permissions. Of course before changing ownership you have to be logged in as, or be having Administrator privileges. If not, UAC will prompt you to acquire Administrator privileges before proceeding. Standard users may be prompted to key in the Administrator password as well (only difference is the ownership will be granted to the specified account with administrative privileges and NOT the standard user account). Otherwise as Administrator all you need to do is click “yes” and you’re good to go. However take note that application files such as CMD files, EXE files, etc. will not have “take ownership” in their context menus. Instead, they will continue to have the “run as Administrator” option.
Before proceeding with taking ownership there are a few things you have to take into account. The below procedure works for Windows 10 systems whose language is set to English.
Here is how to add take ownership option in the context menu
Download this file. This is a compressed file, and you will need to decompress or extract it using WinRar or WinZIP. After you’ve extracted the files, there will be two registry files in the folder. Run the one that says to Install, and if you wish to uninstall it, then run the one with the words uninstall in it.
When you run it, agree to the UAC prompt by clicking Yes, and then choose YES again when the registry editor wants you to confirm addition. Once done, reboot the PC.
After the reboot, “Take Ownership” option will be added in both folder and file context menus. Once you right click any folder or file, you immediately become the owner of that computer resource. You will be at liberty to carry out any changes you wish to on the specified file, folder, or drive.
More advanced computer users can manually take ownership of a drive, file, or folder. This is done through coding in command prompt. The procedure varies slightly for files and folders. The steps are:
Run command prompt as administrator. Hold the Windows Key and Press X. Choose command prompt (admin)
Key in the following command
takeown /f filename
icacls filename /grant administrators:F
This will take ownership of a file and assign full permission on it. For a folder, the code is
takeown /f foldername /r /d y
icacls foldername /grant administrators:F /t