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 disabled the administrator account on an install of Windows Server 2008 R2 via the net user command.

Now I cant get an elevated command prompt to re-enable the admin user, nor do any privileged operation that requires an admin password. Normally I would type in a password and click yes but there is no password field and yes is grayed out.

How can I re-enable the administrator account?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Try booting up in safe mode with command prompt and typing net user administrator /active:yes

share|improve this answer

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.