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.


11 Comments

Andy · June 22, 2021 at 5:26 am

Option 4 worked perfectly for me thanks!

jackhammer48 · January 4, 2021 at 11:35 am

I have a WordPress account. I’m not sure if I verified correctly or not?

    Ian Matthews · January 19, 2021 at 3:51 pm

    Hi Jack; This article is unrelated to WordPress. It is is a purely Windows thang.

jackhammer48 · January 4, 2021 at 9:29 am

At #2 it starts. Some run fine but I’m getting major push back with the message [ and error occurred applying security information to : ~~~~ Access Denied (and then many folders and files) I am on an administration login.

    Ian Matthews · January 19, 2021 at 3:53 pm

    Hi Jack;

    Are you using Windows 10 Home? I understand that there are some additional limitations with HOME, but I have no Win 10 HOME to test with.

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!

jaredthirsk · April 11, 2018 at 6:41 pm

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

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.

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.

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

Avatar placeholder

Your email address will not be published. Required fields are marked *