I found myself doing some end user PC maintenance this afternoon and came across a scenario that required me to access Windows’ built in administrator account. However, the laptop I was working on didn’t have this account enabled so I needed to find a way to enable it.

It’s quite simple so I thought I’d share it.

To enable the administrator account simply type in the following command in the command prompt window.

Obviously to deactivate the administrator account you can make use of the same command except with no instead of yes. It will look like this

Note that you cannot disable the administrator account while you’re logged into the administrator account. You will need to deactivate it while logged into another user account.

This was tested on Windows 7 but should work on all recent versions.

Have fun.