There are quite a few articles on how to do this around the internet but I noticed the other day that we did not have one so I decided to make a quick post on how to do this. In previous versions of Windows such as XP all you had to do was press F8 at boot time and the administrator account icon would appear on the log on screen so that administrative tasks could be preformed. This is not the case in Windows Vista or Windows 7. Below I will show how to enable the Administrator account using a elevated command prompt.
Open an elevated Command prompt in Windows 7 by right clicking on the command prompt and select “Run as Administrator”. Enter the following command below to activate the account.
net user administrator /active:yes
You can also specify a password by using the following command.
net user administrator password
No when you log off with your user you will see the log on icon for the administrator on the screen.
After you are done with your administrative tasks it is always a good idea to disable the administrator account. This can be done easily by reversing the previous command.
net user administrator /active:no
Thats all there is to enabling the admin account in Windows 7 or Windows Vista.