Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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




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.

share|improve this question
have you started the command prompt with elevation(aka run as admin)? – Sathya Mar 29 '13 at 5:37

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

share|improve this answer
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 '13 at 5:55
@Joshpho, Good question, I think you should put that as a standalone question. – Pacerier Apr 25 '15 at 8:44

You must log in to answer this question.

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