SOLVED: Cannot Take Ownership of a File or Folder in Windows

Several things can cause a file or folder to be locked in such a state that even a local, domain or enterprise administrator cannot change.  In the ADVANCED SECURITY SETTINGS, you may see:

YOU DO NOT HAVE PERMISSION TO VIEW THIS OBJECTS SECURITY PROPERTIES, EVEN AS AN ADMINISTRATIVE USERS.  TRY TAKING OWNERSHIP OF THE OBJECT…

In this case there are four ready ways to deal with the problem:

  1. Log out and then log back in, or just reboot to clear any files you may have open
  2. Browse to the root folder you are working on (one level down from the file/folder you are having trouble with), right click and select PROPERTIES, then click the SECURITY TAB, then the ADVANCED button, then click the REPLACE ALL CHILD PERMISSION ENTRIES…
  3. Use CMD line or third party tool to set permissions
  4. Use COMPUTER MANAGEMENT to close the open file/folder in question.  Click START and type COMPUTER MANAGEMENT then expand SHARED FILES > OPEN FILES > right click on your file or folder and select CLOSE FILE

fixed-you-do-not-have-permission-to-view-this-object-security-cannot-take-ownership

You may find other blogs like: https://community.spiceworks.com/topic/315441-unable-to-take-ownership-of-files-in-win-2k8-r2-server useful if you are still having problems.

Share This With Your Friends Now:
Facebooktwittergoogle_plusredditpinterestlinkedin

Comments

  1. Sushil August 19, 2018 at 4:54 am

    In my case another program (devenv.exe) was holding the handle to the folder. After reading this note – i could use handle.exe tool from sysinternals to find the process holding the file handle. close the process & i was good to go. thanks much!

  2. jaredthirsk April 11, 2018 at 6:41 pm

    I forced a close of the file handle using the LockHunter program to avoid a reboot.

  3. David March 6, 2018 at 9:26 am

    Also, make sure that any programs that could have opened the file are fully closed. That’s why rebooting works, it forces everything program to close.

  4. BostonTech March 4, 2018 at 10:44 am

    Thanks so much. A reboot fixed the problem. I was then able to delete the folder without a hitch.

  5. zuey June 18, 2017 at 7:07 am

    Thanks for that.. looked around for ages and the log off/log on was the fix.

Leave a Reply

Your email address will not be published.

Name *
Email *
Website