- How to take ownership of a file or a folder on Windows 10
- Steps to take ownership of a certain folder on Windows 10
- What to do to gain full control over a folder
- Смена владельцев файлов и других объектов Take ownership of files or other objects
- Справочные материалы Reference
- Возможные значения Possible values
- Рекомендации Best practices
- Location Location
- Значения по умолчанию Default values
- Управление политикой Policy management
- Групповая политика Group Policy
- Вопросы безопасности Security considerations
- Уязвимость Vulnerability
- Противодействие Countermeasure
- Возможное влияние Potential impact
How to take ownership of a file or a folder on Windows 10
- Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
- Click Start Scan to find Windows issues that could be causing PC problems.
- Click Repair All to fix issues affecting your computer’s security and performance
- Restoro has been downloaded by 0 readers this month.
In order to access any file or folder on Windows 10, you have to have the appropriate privileges. Unfortunately, certain issues can occur if you don’t have the privilege to edit certain files and folders, and this is when you have to take ownership over that folder or file.
Taking ownership of a certain folder isn’t that complex, and today we’re going to show you how to do it.
Steps to take ownership of a certain folder on Windows 10
As previously mentioned, certain issues on Windows 10 might require you to take ownership of a file or folder, and you can easily do that by following these steps:
- Right click the folder you want to gain access to and choose Properties.
- When Properties window opens, navigate to Security tab. In group or user name section you can see the list of users and groups on your computer that can access this folder.
- Click the Advanced button.
- When Advanced Security Settings windows opens check the Owner section at the top. Click Change in order to change the owner of the folder.
- Select User or Group window will now open. Click Advanced. Optional: If you know the name of the group or the user, you can just enter it in the Enter the object name to select section and click Check Names and OK and skip to Step 8.
- Click Find Now button and the list of all groups and users on your computer should appear in Search results.
- Select the name or the group from the list and click OK. In our example we selected Users group, but you may select a group or a user that you wish to assign ownership to.
- Click OK again.
- Check Replace owner on subcontainers and objects to change the owner for all subfolders in this folder.
- Click Apply and OK to save changes.
- READ ALSO: How to Encrypt Files and Folders in Windows 10
What to do to gain full control over a folder
Now you have taken the ownership of the folder, but you might not have full control over it, meaning that you cannot make any changes such as modifying the files or folders. To change that, do the following:
- Right click the same folder and choose Properties. Go to Security tab and click Advanced button.
- When Advanced Security Settings window opens, click the Add button.
- Now click Select a principal link.
- You should see a familiar Select User or Group window. Enter a user name or a group name in Enter the object name to select section. If you don’t know the name of the user or a group, click the Advanced button and go to the next step.
- Click Find Now and select user or a group from the list of search results. Click OK.
- Click OK again.
- Set Type to Allow and Applies toThis folder, subfolders and files.
- In Basic permissions section check Full control and click OK.
- Select the newly added principal and check Replace all child permissions entries at the bottom.
- Click Apply and OK to save changes.
- READ ALSO:Fix disappearing files and folders in Windows 10 and bring them all back
Alternatively, you can use third-party solutions such as TakeOwnershipEx to take ownership over a certain file or folder. To do that, you can do the following:
- Download TakeOwnershipEx.
- Start TakeOwnershipEx-1.2.0.1-Win8.exe.
- After you’ve installed the program, run it.
- Click Take Ownership button and select a folder.
- Optional: If you wish you can also restore ownership to a folder by clicking the Restore Ownership button.
- READ ALSO: Fix: ‘Your Folder can’t be Shared’ in Windows 10
Taking ownership over a folder isn’t as hard as it seems, and sometimes you might have to take a ownership of a certain file or folder, or even a registry key in order to fix a problem on Windows 10.
We hope that our little guide was useful to you and that you can now easily take ownership over certain files and folders.
If you have any questions or know another way to take ownership of a file or a folder, tell us in the comments section below and we will be sure to check them out.
Смена владельцев файлов и других объектов Take ownership of files or other objects
Область применения Applies to
В этой статье описываются лучшие методики, расположение, значения, **** управление политиками и вопросы безопасности, которые необходимо учитывать при настройке политики безопасности «Владение файлами или другими объектами». Describes the best practices, location, values, policy management, and security considerations for the Take ownership of files or other objects security policy setting.
Справочные материалы Reference
Этот параметр политики определяет, какие пользователи могут стать владельцем любого защищаемого объекта на устройстве, включая объекты Active Directory, файлы и папки NTFS, принтеры, ключи реестра, службы, процессы и потоки. This policy setting determines which users can take ownership of any securable object in the device, including Active Directory objects, NTFS files and folders, printers, registry keys, services, processes, and threads.
У каждого объекта есть владелец, который находится в томе NTFS или базе данных Active Directory. Every object has an owner, whether the object resides in an NTFS volume or Active Directory database. Владелец управляет тем, как устанавливаются разрешения для объекта и кому даны разрешения. The owner controls how permissions are set on the object and to whom permissions are granted.
По умолчанию владельцем является лицо, создавший объект, или процесс. By default, the owner is the person who or the process which created the object. Владельцы всегда могут изменять разрешения для объектов, даже если им отказано во всем доступе к объекту. Owners can always change permissions to objects, even when they are denied all access to the object.
Константа: SeTakeOwnershipPrivilege Constant: SeTakeOwnershipPrivilege
Возможные значения Possible values
- Определяемый пользователей список учетных записей User-defined list of accounts
- Не определено Not defined
Рекомендации Best practices
- Назначение этого права пользователя может быть угрозой безопасности. Assigning this user right can be a security risk. Так как владельцы объектов имеют полный контроль над ними, назначьте это право только доверенным пользователям. Because owners of objects have full control of them, only assign this user right to trusted users.
Location Location
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment
Значения по умолчанию Default values
По умолчанию этот параметр является администратором на контроллерах домена и на автономных серверах. By default this setting is Administrators on domain controllers and on stand-alone servers.
В следующей таблице приведены фактические и действующие значения по умолчанию для этой политики. The following table lists the actual and effective default policy values. Значения по умолчанию также можно найти на странице свойств политики. Default values are also listed on the policy’s property page.
Тип сервера или объект групповой политики Server type or GPO | Значение по умолчанию Default value |
---|---|
Default Domain Policy Default Domain Policy | Не определено Not defined |
Политика контроллера домена по умолчанию Default Domain Controller Policy | Администраторы Administrators |
Параметры по умолчанию для автономного сервера Stand-Alone Server Default Settings | Администраторы Administrators |
Действующие параметры по умолчанию для контроллера домена Domain Controller Effective Default Settings | Администраторы Administrators |
Действующие параметры по умолчанию для рядового сервера Member Server Effective Default Settings | Администраторы Administrators |
Действующие параметры по умолчанию для клиентского компьютера Client Computer Effective Default Settings | Администраторы Administrators |
Управление политикой Policy management
В этом разделе описаны компоненты, средства и рекомендации, которые помогут в управлении этой политикой. This section describes features, tools, and guidance to help you manage this policy.
Перезапуск устройства не требуется для того, чтобы этот параметр политики был эффективным. A restart of the device is not required for this policy setting to be effective.
Изменения прав пользователя вступают в силу при его следующем входе в учетную запись. Any change to the user rights assignment for an account becomes effective the next time the owner of the account logs on.
Владельцем может быть: Ownership can be taken by:
- Администратор. An administrator. По умолчанию группе администраторов предоставляется право владельца файлов или других объектов. By default, the Administrators group is given the Take ownership of files or other objects user right.
- Любой пользователь или любая группа, у которых есть права владельца объекта. Anyone or any group who has the Take ownership user right on the object.
- Пользователь, у которого есть право на восстановление файлов и каталогов. A user who has the Restore files and directories user right.
Владение может быть передано следующими способами: Ownership can be transferred in the following ways:
- Текущий владелец может **** предоставить право владельца другому пользователю, если он является членом группы, определенной в маркере доступа текущего владельца. The current owner can grant the Take ownership user right to another user if that user is a member of a group defined in the current owner’s access token. Для завершения переноса пользователь должен стать владельцем. The user must take ownership to complete the transfer.
- Администратор может стать владельцем. An administrator can take ownership.
- Пользователь, у **** которого есть право на восстановление файлов и каталогов, может дважды щелкнуть «Другие пользователи и группы» и выбрать любого пользователя или группу для назначения прав владельца. A user who has the Restore files and directories user right can double-click Other users and groups and choose any user or group to assign ownership to.
Групповая политика Group Policy
Параметры применяются в следующем порядке с помощью объекта групповой политики (GPO), который будет перезаписывать параметры на локальном компьютере при следующем обновлении групповой политики: Settings are applied in the following order through a Group Policy Object (GPO), which will overwrite settings on the local computer at the next Group Policy update:
- Параметры локальной политики Local policy settings
- Параметры политики сайта Site policy settings
- Параметры политики домена Domain policy settings
- Параметры политики подразделения OU policy settings
Если локальный параметр затеняется, это означает, что в настоящее время этот параметр контролируется GPO. When a local setting is greyed out, it indicates that a GPO currently controls that setting.
Вопросы безопасности Security considerations
В этом разделе описывается, каким образом злоумышленник может использовать компонент или его конфигурацию, как реализовать меры противодействия, а также рассматриваются возможные отрицательные последствия их реализации. This section describes how an attacker might exploit a feature or its configuration, how to implement the countermeasure, and the possible negative consequences of countermeasure implementation.
Уязвимость Vulnerability
Любые пользователи, которые имеют право на владение файлами или другими объектами, могут управлять любым объектом независимо от разрешений для этого объекта, а затем вносить любые изменения, которые они хотят внести в этот объект. **** Any users with the Take ownership of files or other objects user right can take control of any object, regardless of the permissions on that object, and then make any changes that they want to make to that object. Такие изменения могут привести к экспозиции данных, повреждениям данных или условию отказа в обслуживании. Such changes could result in exposure of data, corruption of data, or a denial-of-service condition.
Противодействие Countermeasure
Убедитесь, что право на **** владение файлами или другими объектами есть только у локальной группы администраторов. Ensure that only the local Administrators group has the Take ownership of files or other objects user right.
Возможное влияние Potential impact
Нет. None. Настройка по умолчанию ограничивает права владельца файлов или других объектов локальной группой администраторов. Restricting the Take ownership of files or other objects user right to the local Administrators group is the default configuration.