5/11/12

Take Ownership & Grant Full Control Permission in Windows 7/Vista

Folder access denied 
Windows 7 and Vista's file permissions is managed by the Trusted Installer and it is the owner of all Windows system files. So, Windows 7/Vista doesn't allow any user even the Administrator to modify (rename, delete, move) those system files. Sometime for tweaking, you might need to rename, replace or move the system file in Windows operating systems. But it needs to take ownership of a file and grant full control permission before modifying it. Otherwise, a pop-up message will show you Access is denied in Windows.


Here, you'll know the easiest way to take ownership and how to grant full control permission on a folder or file using the command prompt.

Take ownership of a file/folder:

Go to start menu > All programs > Accessories > Command Prompt and run it as an administrator.


In command prompt type:

takeown /f "path"

Take ownership using command prompt 

Type the location/directory of the file or folder instead of path. Example: C:\windows\system32

If you need to take ownership often, then use the registry hack file from here. Extract it. Double-click on InstallTakeOwnerShip.reg and an option willbe added in your context menu.

Grant Full Control Permissions:
After taking ownership, in the command prompt type:

icacls "path" /grant user:f

Grant full control permissions 

Replace the path with the file or folder location name (Ex: C:\windows\system32) and replace the user with you user account name (Ex: Administrator).

Here, take ownership of windows system32 folder make me the owner of system32 folder and grant full control permissions will let me modify the folder that had only Windows access.

5 comments:

  1. If you need to take ownership often, then use the registry hack file from here.

    Where is the "here" ?

    ReplyDelete
    Replies
    1. You need to click on the "here" word to get or download the take ownership registry file.
      Thanks.

      Delete
  2. hey this is not helpful for me i use all ur suggestion nd cann't access my file.

    ReplyDelete
    Replies
    1. Let me know the file name or/and its location.
      You can use the reg file to easily take ownership. The file is available for download in this article.
      Thanks.

      Delete
  3. doing this trick on GUI looks more difficult that what you have demonstrated here. Thanks for sharing it.

    ReplyDelete

Sync your Nokia S40 Calendar with Google Calendar

Google synchronize allows a device to sync its contacts as well as its  calender . On a mobile device the calendar is the second, somewhere...