Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Assign Users to Take Ownership of Files on Windows

· 7 min read · Home Tech

In this article
  1. Why Windows Uses File Ownership
  2. How Ownership Works in Windows
  3. How to Take Ownership as an Administrator
  4. Using Command Line Tools: takeown and icacls
  5. Common Problems and Misconceptions
  6. Alternatives to Changing Ownership
  7. Safety and Best Practices
  8. Frequently Asked Questions

Yes, you can assign users to take ownership of files on Windows through the Advanced Security Settings dialog, and the process is essentially the same in Windows 10 and Windows 11. You need administrator rights to change ownership, and the exact steps depend on whether you are taking ownership yourself or granting it to another user account.

Why Windows Uses File Ownership

Windows uses the NTFS file system to control access to files and folders. Every file and folder on an NTFS volume has an owner, which is typically the user account that created it or the administrator who first installed the system. The owner is not the same as the permissions (read, write, execute) that are listed in the Security tab. Ownership is a separate attribute that defines who has the inherent right to change permissions on that object, even if they otherwise have no access.

When you take ownership of a file, you become the new owner and can then view or modify its permissions. This is a common troubleshooting step when a user is locked out of files after a system migration, a hard drive is moved from another computer, or a previous employee’s account is deleted. Ownership is also used by the system for auditing and for determining who can back up or restore files.

How Ownership Works in Windows

Ownership is stored as a security identifier (SID) in the file’s security descriptor. The Owner field in the Advanced Security Settings dialog shows the current owner. By default, the Administrators group has the special privilege Take ownership, which means any member of that group can seize ownership of any file on the system, regardless of current permissions. Standard users do not have this right unless they are explicitly granted it.

When you take ownership, Windows does not automatically grant you full control. It only changes the owner field. After ownership changes, you must then edit the permissions list to add yourself (or another user) with the desired access rights. In many cases, the dialog offers a checkbox to replace the owner on subcontainers and objects, which is useful for folders with many nested files.

How to Take Ownership as an Administrator

The most common way to take ownership is through the graphical interface. Here are the steps for a single file or folder:

  1. Right-click the file or folder and select Properties.
  2. Go to the Security tab and click Advanced.
  3. At the top of the Advanced Security Settings window, next to Owner, click Change.
  4. In the “Select User or Group” box, type your user name (for example, Administrator) or the name of the user you want to assign as owner, then click Check Names and OK.
  5. If you are taking ownership of a folder and want to include everything inside, check the box Replace owner on subcontainers and objects.
  6. Click OK to apply the change.

If you are already the owner, you can also change the owner to another user by typing that user’s name in step 4. The other user does not need to be logged in at the time.

Using Command Line Tools: takeown and icacls

For advanced users, the command line offers more control and is useful for batch operations. The two built-in tools are takeown and icacls.

  • takeown changes the owner of a file or folder. For example, takeown /f C:\Data\folder /r /d y takes ownership of the folder and all subfolders, automatically answering “yes” to any prompts.
  • icacls can change ownership and permissions. To set the owner to a specific user, use icacls C:\Data\folder /setowner username /T /C. The /T applies to all subfolders and files, and /C continues even if errors occur.

These commands must be run from an elevated Command Prompt (Run as administrator). They are especially handy when you need to take ownership of many files at once, such as after copying a user profile from an old drive.

Common Problems and Misconceptions

One frequent issue is that after taking ownership, the user still cannot access the file. This happens because ownership alone does not grant permissions. You must also add the user to the permission list with the appropriate access level (Read, Modify, Full control, etc.). To do this, go back to the Security tab, click Edit, then Add, type the user’s name, and select the desired permissions.

Another misconception is that you need to be the built-in Administrator account to take ownership. In fact, any account that is a member of the Administrators group can do it, provided User Account Control (UAC) allows the elevation. If you see an “Access Denied” error, make sure you are running the operation as administrator and that the disk is not read-only.

If you are trying to take ownership of system files (e.g., in C:\Windows), Windows may protect them with TrustedInstaller. In that case, you need to change the owner to TrustedInstaller again after you are done, otherwise the system may behave unpredictably. It is generally not recommended to take ownership of system files unless you are fixing a specific issue.

Alternatives to Changing Ownership

In many situations, you do not need to change ownership at all. If the goal is simply to give a user access to a file, you can add that user to the existing permissions list without changing the owner. This is less invasive and preserves the original owner for auditing purposes.

Another alternative is to use the Effective Access tab in Advanced Security Settings to check what access a particular user currently has. This helps diagnose permission issues before making any changes.

For files that are locked because they were encrypted with EFS (Encrypting File System), changing ownership will not help. EFS is tied to the user’s certificate, and only the original user or a designated recovery agent can decrypt the file. In that case, you need the user’s certificate or the recovery agent’s credentials.

Safety and Best Practices

Changing ownership is a powerful operation that can break applications if done incorrectly. Always ensure you have a backup of important data before modifying ownership on a large folder. Also, be aware that taking ownership of a folder that contains system files or application data may cause those programs to fail because they expect the original owner.

When assigning ownership to another user, make sure the user account exists and is spelled correctly. If the account is a Microsoft account, use the email address associated with it. For local accounts, use the exact user name as shown in net user or the User Accounts control panel.

Finally, remember that ownership changes are logged in the security event log if auditing is enabled. This can be useful for tracking who took ownership of what, but it also means the action is traceable.

Frequently Asked Questions

Can I take ownership of a file without being an administrator?

No. The Take ownership privilege is only granted to the Administrators group by default. A standard user cannot take ownership unless an administrator explicitly grants that privilege to them, which is rare.

What is the difference between ownership and permissions?

Ownership is the right to change permissions on a file. Permissions define what actions a user can perform (read, write, execute). The owner can always modify permissions, even if they are currently denied access.

How do I give ownership to another user without giving them full control?

Change the owner in Advanced Security Settings to that user, then set the permissions list to grant only the specific rights you want (e.g., Read). The new owner will have the ability to change permissions later, but that is inherent to ownership.

Why do I get “Access Denied” when trying to take ownership?

This usually means you are not running the operation as an administrator, or the file is on a read-only medium. Right-click the application (e.g., File Explorer or Command Prompt) and select “Run as administrator”. If the drive is read-only, remove that attribute first.

Does taking ownership of a folder affect files inside it?

Only if you check the box “Replace owner on subcontainers and objects”. If you don’t, only the top-level folder’s owner changes. Files inside keep their original owners.

Can I undo an ownership change?

Yes, you can change the owner back to the original user or to the Administrators group using the same steps. There is no “undo” button, but you can manually set the owner to the previous account.