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?

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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