Enabling and disabling the Administrator account in Windows 7

Windows 7, like Windows XP and Vista, has a built-in administrator account. This can be used for system recovery, resolving permissions issues, and logging in when a user’s profile is corrupt, among other things.

However, in Windows 7 the administrator account is disabled by default. This is actually a good thing, as XP had it enabled by default with no password — not very secure.

So how do you enable the administrator account?

Via command line:

At an administrator-level command prompt, enter the following command:

net user administrator /active:yes

This enables the administrator account. To disable it, simply do:

net user administrator /active:no

You can also set the administrator password by typing:

net user administrator __password__

substituting your desired password for __password__.

That’s it.

Comments are welcome, as always.