Sometimes you need to get full access to some file or folder in Windows 10. It can be a system file or folder, or one which was created by a user account that no longer exists. In most cases, the Windows operating system will prevent you from doing any operation on such files and folders. By adding a special context menu, you can quickly get full access to the files and folders.
NTFS is the standard file system of the Windows NT operating system family. Starting with Windows NT 4.0 Service Pack 6, it supported the concept of permissions which can be configured to permit or restrict access to files, folders, and other objects locally and over a network.
By default, almost all system files, system folders and even Registry keys in Windows 10 are owned by a special built-in user account called "TrustedInstaller". Other user accounts are set to only read the files.
As a user accesses each file, folder, registry key, printer, or an Active Directory object, the system checks its permissions. It supports inheritance for an object, e.g. files can inherit permissions from their parent folder. Also every object has an Owner which is the user account that can set ownership and change permissions.
If you are interested in managing NTFS permissions, refer to the following article:
To save your time, you can add the 'Take Ownership' context menu. This will allow you to become the owner of the files and to instantly grant full access permissions to the files or folders.
Before proceeding, ensure that your user account has administrative privileges. Now, follow the instructions below.
- Download the following ZIP archive: Download ZIP archive.
- Extract its contents to any folder. You can place the files directly to the Desktop.
- Unblock the files.
- Double click on the Add_Take_Ownership_context_menu.reg file to merge it.
- To remove the entry from the context menu, use the provided file Remove_Take_Ownership_context_menu.reg.
You are done!
How it works
The context menu opens a new PowerShell instance as Administrator, and sequentially executes the following commands.
takeown /f - the command will change ownership for the selected object to the current user account. For directories, it will be executed with the arguments
/r /d y. /r stand for recursive in order to process subfolders. The
/d y argument is the default answer used when the current user does not have the "list folder" permission on a directory.
icacls /grant *S-1-3-4:F - the command gives the full access permissions to the current owner of the file system object (which is set to your current user account with the previous command). SID: S-1-3-4 is a well-known security identifier that represents the current owner of the object. When an ACE that carries this SID is applied to an object, the system ignores the implicit READ_CONTROL and WRITE_DAC permissions for the object owner.
- How to take ownership and get full access to files and folders in Windows 10
- How to restore the TrustedInstaller ownership in Windows 10
- Backup Permissions For Files and Folders in Windows 10
- Add View Permissions Context Menu in Windows 10
- Add View Owner Context Menu in Windows 10
- RegOwnershipEx 184.108.40.206 is out
- ExecTI – Run Programs as TrustedInstaller