Enable Administrator Account from Command Line

In dealing with that messed up computer mentioned in my last post, I learned a command for enabling the administrator account to use to fix a problem. In this case, the user account was not working and Windows would boot into a limited account desktop from which you could do very little. There were no other accounts available to log into to address the problem and Windows now disables the administrator account by default. However, from the limited account I was able to open a command prompt and type the following command to enable the administrator account:

net user administrator /active:yes

Changing the yes to no will disable an active administrator account.

Yet another reason not to write off the command line.

Leave a Reply