Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I accidentally removed the builtin/local Administrator on Security tab of one of the drive's Properties. I did changing the UAC: User Account Control: Run all administrators in Admin Approval Mode to Disabled. I can click the Edit button on the Security Tab of the drive's Properties. However, when I try to click Apply, it says Access is denied. Is there any way I can add the builtin/local Administrator again? Need help on this. Thanks guys!

share|improve this question
add comment

1 Answer 1

Open cmd.exe as an elevated administrator and type:

takeown /F E:\

this gives the ownership of the E drive back to the current user. As soon as you are the owner, you can set permissions again, even if you don't have any rights to do so.

You may need to run the recursively, check:

takeown /?

share|improve this answer
add comment

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.