Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
1  
have you started the command prompt with elevation(aka run as admin)? superuser.com/a/392401/4377 –  Sathya Mar 29 '13 at 5:37

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.