Disabled admin account on Win 2008 R2

Posted by James Bates on Server Fault See other posts from Server Fault or by James Bates
Published on 2011-11-26T11:34:02Z Indexed on 2011/11/26 17:55 UTC
Read the original article Hit count: 361

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?

© Server Fault or respective owner

Related posts about Windows

Related posts about windows-server-2008