How to Take Ownership and Full Control Permissions of Files and Folders in Vista

A lot of files and folders in Windows Vista does not actually belongs to users. Rather, most system files have “Trusted Installer” as owner, the assign or grant read+write, traverse or full control permissions to SYSTEM or CREATOR OWNER user account only. So users must take ownership and grant full access control permissions and rights to themselves if they want to modify, rename or delete these files or folders. Sometimes, users may need to take ownership and grant full rights to themselves on another drive or partition, especially on disk newly installed or inserted if they cannot browse the contents from the drive.

To take ownership and grant full control (or read write) permissions of files or folders in Windows Vista, do these steps.

  1. In Windows Explorer window, locate the files or folders that you want to take ownership and grant or change full control or other access permissions.
  2. Right click on the file or directory, and then select Properties on the right click menu.

    Open Folder Properties

  3. Click on Security tab.
  4. Click on Advanced button at the bottom.

    Take Ownership

  5. In “Advanced Security Settings” dialog window, click on Owner tab.
  6. Here you will be able to see current owner (i.e. TrustedInstaller). To take ownership of the object, click on the Edit button. If UAC prompts for administrator’s password or permission to continue, enter the correct password or press Continue button.

    Take Onwership of Files and Folders in Windows Vista

  7. Additional “Advanced Security Settings” dialog will appear. Highlight the user name (for example, Administrators) in the Change owner to box that you want to assign as the owner for the object. Click OK to make the change.

    Take Ownership of Files and Folders in Vista

  8. Back in original parent level “Advanced Security Settings” window, you will see the existing owner of the file or folder has changed to the user you just selected.
  9. Click OK button to exit this window.
  10. Click OK again to exit completely from the Properties window.
  11. The ownership is now belonged to user or user account that been selected. To assign necessary permissions to the user too, repeat step 1 to 3 to open the object’s Properties window again.
  12. In object’s Properties window, click on Edit button to change permissions. If UAC prompts for administrator’s password or permission to continue, enter the correct password or press Continue button.

    Change Files and Folders Permissions in Windows Vista

  13. Highlight the Administrators or the user who wants the permissions on the object be changed in the “Group or user names” box.

    If the user ID or group that you want to manage the permissions for the object doesn’t exist, click on Add button, and type in the user name or group name desired into the Enter object names to select box, and finish off by clicking on OK.

  14. In the Permissions for Administrators box below (or any other user name or group name you chose), click on “Full Control” under the “Allow” column to assign full access rights control permissions to Administrators group.

    Assign Full Control Permissions

  15. Click “OK” twice when done.

Users can now do whatever you like to the files or directories processed as above. If you feel that above process is a little too long, and prefer to use command line to perform above process, then open an elevated command prompt as administrator, and issues the following commands:

For Files:

takeown /f file_name /d y
icacls file_name /grant administrators:F

For Folders or Directories (will perform action recursively):

takeown /f directory_name /r /d y
icacls directory_name /grant administrators:F /t

Replace file_name or directory_name with actual file name or folder name, with path when applicable. The first command will take ownership of the file or folder specified, and the second command will grant full control permissions to administrators user group. Note that when using command for folders, to command will run recursively. To prevent the task been perform recursively, remove the “/r” and “/t” switch.

Above two commands have been scripted in Windows command shell batch script that easily perform the task of taking ownership and grant full control permissions to Administrators user group by typing simple command. Alternatively, users can add “Take Control Of” option to right click menu so that the next time you need to take control of a file with full control permissions, it’s just a one click task.



5 Responses to “How to Take Ownership and Full Control Permissions of Files and Folders in Vista”

  1. How to Take Ownership and Grant Permissions in Windows Vista » My Digital Life
    April 24th, 2008 21:39
    1

    [...] This guide has been reposted to Tip and Trick. [...]

  2. Delete Undeletable Files in Windows Vista » My Digital Life
    April 24th, 2008 22:00
    2

    [...] This article has been reposted to Tip and Trick. [...]

  3. Fix Logitech QuickCam (Messenger, Chat, Zoom, IM, Express) Not Compatible Driver Issue in Windows Vista SP1 » Tip and Trick
    April 24th, 2008 22:08
    3

    [...] Take ownership and grant full access permission of WindowsSystem32driversUSBAUDIO.SYS file. [...]

  4. Windows Vista Cannot Auto Find Driver for New USB Device Plugged In » Tip and Trick
    April 27th, 2008 11:10
    4

    [...] delete INFCACHE.1 file, user have to has the Full Control permission and ownership on the file. You can choose to rename if you want to be on the safe side. If the UAC prompt for [...]

  5. Retrieve Windows Live Messenger 2009 Standalone Individual Setup Installer (MSI) from Web Download » My Digital Life
    October 21st, 2008 19:20
    5

    [...] Windows Vista, run Windows Explorer as Administrator, and user may requires to take ownership and gain full control permissions for the folders below before able to access [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to Tip and Trick Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

Incoming Search Terms for the Article

take ownership of folder - take ownership of folders - vista take ownership - full control permission - how to take ownership of a folder - icacls recursive - take ownership of a folder - osx take ownership - files - os x take ownership - take ownership xp - take ownership of folders in vista - vista take control of folder - mac take ownership - vista full access permission - all - take ownership mac - take permission - vista take permission - vista take ownership script - full control permission vista - You need Full Control Permission - take ownership mac os x - cannot take ownership of folder - take permission vista - ownership and grant full access permission - batch take ownership - vista grant full access permission - mac os x take ownership - grant full access vista - take onwership - full control permissions - vista full control - Vista full permission - ownership and grant full access permission - Take Ownership And Full Control Of File - how to take ownership of a drive - How to take ownership and grant full access permission in vista - take ownership command prompt - how to take ownership of folders - take ownership and grant full access permission - full control vista - take ownership and grant full access permission vista - How to Take Ownership and Grant Permissions in Windows XP - take ownership - how to take ownership of folder - full control permissions Vista - how to take ownership of folder in vista - take ownership folder - vista permissions full control -