By default, users who create files and folders will be marked as their owner. Ownership gives users full rights to a created file or folder so they can choose who has access to use and modify that file or folder.
Windows may deny access to files and folders to other users due to lack of permissions. If there is no original owner of that file or folder, as an administrator you can take ownership of the file or folder by diving into the file’s properties.
How to take ownership of a file or folder
With administrative privileges, you can take ownership of any file or folder created by another user on Windows 10. After you sign in with an administrator account, here’s how to take ownership of a file or folder.
Step 1: Right-click on the file or folder and select Properties from the context menu.
Step 2: In the Properties window, switch to the Security tab and click the Advanced button.
Step 3: Here, the name of the current owner of the file or folder will be displayed at the top. Click the Change button to transfer ownership to someone else.
Step 4: In the next window, under “Enter object name to select”, enter the username you want to transfer ownership to. Once entered, check the validity of the entered username by clicking the Check Names button next to it. Then click OK.
Alternatively, you can also use the Advanced button to quickly search for usernames.
Step 5: While changing the ownership of a folder, if you want, you can also apply the ownership change to all subfolders of that folder by ticking the checkbox that says ‘ Replace owner on sub-objects and containers’ in the ‘Advanced security settings’ window.
Step 6: Then click Apply and then OK.
Now that ownership of the selected file or folder has been transferred, you can now give the new owner a variety of permissions to modify the file or folder.
How to grant permissions to a file or folder
After changing the owner, you will need to give full access to the new owner by granting certain permissions to modify, read, write, etc. Here’s how.
Step 1: Right-click on the file or folder and select Properties from the context menu. In the Properties window, switch to the Security tab and click the Advanced button.
Step 2: In the Advanced Security Settings window, click the Add button.
Step 3: In the Enter Permissions window that opens, click ‘Select Principal’ to specify the user to whom you grant permissions.
Step 4: Add the name of the user in the ‘Select User or Group’ window. Then click OK.
Step 5: You will then be able to choose from a list of permissions in the ‘Basic Permissions’ section. Select ‘Full Control’ to grant all existing permissions. Then click OK.
That’s all there is to it. The file or folder in question has now been transferred to the new owner.
How to Take Ownership of a File or Folder Using the Command Prompt
In addition to adjusting file properties, if you are comfortable using the Command Prompt, you can also take ownership of any file or folder using the takeown.exe tool. This is the way.
Step 1: Open File Explorer and fetch the file or folder to transfer ownership. Select it and click Copy Path option at the top to copy the file/folder path.
Step 2: Now open the Start menu, type in cmdand click Run as administrator on your right to open Command Prompt with admin rights.
Step 3: In the Command Prompt window, type the following command and press Enter to take ownership of a file or folder.
take control / F
Replace in the above command with the path of the file or directory copied in Step 1.
Once done, you’ll see a confirmation stating the ownership change.
As we just saw, using the Command Prompt is much faster than going through multiple Properties windows. However, the only downside is that you can’t specify a user or group while changing ownership. Meaning you will only be able to transfer ownership to the current user or local group of administrators.
Responsible for ownership
Ownership grants you the necessary permissions to access or modify files and folders on Windows 10. Once transferred, you can read, write, or modify the file or folder as you see fit. .
In addition to the above, ownership can also be useful when you want to force delete files and folders or import files into Registry Editor.
Categories: How to
Source: thpttranhungdao.edu.vn/en/