3

When I run the following command prompts to get ownership of all files on my disc on my admin account:

TAKEOWN /A /F C:

and

TAKEOWN /F C:

I get the error message:

"ERROR: The current logged on user does not have administrative privileges"

How do I fix this? I need full permissions to delete a folder that is giving me "access denied" and I feel like I'm running in circles here.

1

1 Answer 1

9

Make sure your command prompt is elevated, otherwise it won't have admin rights even though you are an "admin".

To open an elevated command prompt, search for cmd in your start menu and press CTRL + SHIFT + ENTER or right click on it and choose Run as administrator.

Confirm it is elevated by looking for "Administrator:" prefixed to the window title.

Admin prefix CMD

2
  • 2
    Fantastic! Thank you! Generally speaking, is the takeown command a good workaround if Windows isn't letting an admin account receive full permissions?
    – Joshpho
    Mar 29, 2013 at 5:55
  • 1
    @Joshpho, Good question, I think you should put that as a standalone question.
    – Pacerier
    Apr 25, 2015 at 8:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .