Поделиться через


Take Ownership of a File or Folder

Applies To: Windows Server 2008

The owner of the object controls how permissions are set on the object and to whom permissions are granted.

The Take ownership permission on an object or the Restore files and directories user right are the minimum requirements to complete this procedure. Review the details in "Additional considerations" in this topic.

To take ownership of a file or folder

  1. Open Windows Explorer, and then locate the file or folder you want to take ownership of.

  2. Right-click the file or folder, click Properties, and then click the Security tab.

  3. Click Advanced, and then click the Owner tab.

  4. Click Edit, and then do one of the following:

    • To change the owner to a user or group that is not listed, click Other users and groups and, in Enter the object name to select (examples), type the name of the user or group, and then click OK.

    • To change the owner to a user or group that is listed, in the Change owner to box, click the new owner.

  5. (Optional) To change the owner of all subcontainers and objects within the tree, select the Replace owner on subcontainers and objects check box.

Additional considerations

  • An administrator can take ownership of any file on the computer.

  • Assigning ownership of a file or a folder might require you to elevate your permissions using User Access Control.

  • To open Windows Explorer, click Start, point to All programs, point to Accessories, and then click Windows Explorer.

  • You can transfer ownership in two ways:

    • The current owner can grant the Take ownership permission to others, allowing those users to take ownership at any time. A user granted the Take ownership permission can take ownership of the object or assign ownership to any group that the user is a member of.

    • A user who has the Restore files and directories privilege can double-click Other users and groups and choose any user or group to assign ownership to.

  • The Everyone group no longer includes the Anonymous Logon group.

Additional references