Cannot take ownership to folder

Михаил Андросов 336 Reputation points

I'm domain administrator and have all permission into folder on the file server.
I met with such a problem. I need to delete a file in a folder, but I can't do it.
When I open the Security tab I get a message:
You must have Read permissions to view the properties of this object
I know that in such cases it is necessary to change the owner of the file to your account.
But when I try to change the owner to my account I get an error message:
You do not have permission to view or edit this object's permission settings.
The file server runs on Windows Server 2012 R2.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,315 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 39,436 Reputation points


    In this case I would recommend to takeover ownership through commandline, following the next steps:

    Step 1: Press Windows + R to invoke Run window.

    Step 2: Input cmd and press Ctrl + Shift + Enter to run your Command Prompt as administrator.

    Step 3: Type the command lines takeown /F Path (Path should be replaced by the actual path of the problematic file) and press Enter key to take ownership of the file.

    Step 4: Type the command lines icacls Path /grant administrators:F and press Enter key to grant Administrators full control permission for the file.

    If it still does not work, try:

    Last but not least, as a last resource you can access in Safe Mode as Administrator which would ensure that you don´t have any locks on the file or path.


    --If the reply is helpful, please Upvote and Accept as answer--

    4 people found this answer helpful.

0 additional answers

Sort by: Most helpful