Home  >  Article  >  How to take ownership of a folder in Windows 11

How to take ownership of a folder in Windows 11

王林
王林forward
2023-04-29 23:34:183014browse

If you have administrative abilities, you will be able to access most of the data on your C drive, change system settings, and perform various other impossible operations.

However, there are some operations that even an administrator cannot fully perform, so today we will show you how to take ownership of a folder in Windows 11.

If you wish to access the WindowsApps folder, take control of a hard drive belonging to another computer, or delete a shared file that has been corrupted by improper permissions, simply having an administrator account is not enough.

The same principles apply if you want to take ownership of a folder on Windows 10, so having the right method can make a big difference.

This is because these tweaks are associated with Microsoft's Trusted Installer account, so you need to transfer ownership of these files from the Trusted Installer to your Administrator account.

After we see what types of Microsoft accounts exist, we will show you how to take ownership of a folder in Windows 11. Follow us!

What types of Microsoft accounts are there?

Most of us are familiar with the terms administrator profile and regular user profile when it comes to our personal computers. Administrators are compared to God, while users are compared to the masses.

On the other hand, what about domain administrator accounts, domain user accounts, or local groups? There are many other types of profiles that provide varying amounts of access to PC, server, and network configurations and settings.

To maintain network security and ensure everyone has access to the areas they need to perform their duties, it is critical to understand the specific capabilities of each device.

如何在 Windows 11 中获取文件夹的所有权

No standard user account should be granted administrator access to your network. Users who use it as part of their regular user account can inadvertently cause a lot of damage, for example, if they become infected with a virus that deletes data on their computer.

A user's permissions are managed by a Windows Active Directory domain on a Windows network, which is typically created when they first connect to the network and contains all of their accounts.

Expert Tip: Some PC problems are difficult to solve, especially if the repository is corrupted or Windows files are missing. If you are having trouble fixing errors, your system may be partially corrupted.

If users require specific permissions, they should be provided with login information from an account with the appropriate level of access to the system.

You can provide high-level access to different parts of your Windows network by creating security groups on your network. These groups should be reviewed regularly to ensure that no ordinary users are included as members, and only administrators do so.

In addition to regular user accounts, there is another type of user account that has special access to specific areas of the network - service accounts.

This term refers to a user account used by software (usually on a server) to perform automated actions, such as backing up data or managing your antivirus management.

How to take ownership of a folder in Windows 11?

1. Use CMD

  1. Press the Windows key S to start the Search function and enter cmd. Now right click on the top result and select Run as administrator.
  2. You can change the current working directory of CMD to the directory containing the required files or folders by issuing the cd command, for example: <strong>cd C:\Program Files</strong>
  3. Run the following two commands and change the folder name in the following two commands to reflect your folder name: <strong>takeown /f foldername /r /d y icacls foldername /grant administrators:F /t</strong>
  4. If you want to take ownership of the file, use the following command and replace the filename part again with your filename: <strong>takeown /f filename icacls filename /grant administrators:F</strong>

2. Access the properties of the folder

  1. First, use the keyboard shortcut to launch the file Explorer and navigate to the desired file or folder location and right-click on the file/folder to select Properties. WindowsE
  2. Navigate to the Security tab and click the Advanced button located at the bottom of the screen. 如何在 Windows 11 中获取文件夹的所有权
  3. Then click the Change button next to Owner, this will take you to a new window. 如何在 Windows 11 中获取文件夹的所有权
  4. The administrator should be entered in the "Enter object name to select" form and then the "Check Names" button should be clicked. Click "OK" to continue. Afterwards, you should observe the Owner property changing from the initial name to your administrative account . 如何在 Windows 11 中获取文件夹的所有权
  5. Now select the Replace owners on subcontainers and objects option by checking the checkbox, which can be found directly under the Owner column. 如何在 Windows 11 中获取文件夹的所有权
  6. Finally, to save your changes, click Apply on the toolbar and click OK. Windows will now begin the process of transferring ownership to the new owner. Once the process is completed, you will receive a notification and to close it, use the "OK" button. 如何在 Windows 11 中获取文件夹的所有权

The above is the detailed content of How to take ownership of a folder in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete