Monday, September 13, 2010

Enable Administrator account in Windows

When you install Windows XP, Vista or Windows 7, windows asks you to create a user account. When you try to create an account with the user name "Administrator", Windows tell you that you can't do this, because this account already exists by default but is disabled.
At this point you can create, an account with a different user name than "Administrator" and when you log on in Windows, you want to enable the built in "Administrator" account.
Following the below process you can do this.



Windows XP
1. Restart your system, and as your system boots up press F8 to access boot options (Windows Advanced Options)
2. From the menu options select to start Windows in safe mode (minimal)
3. After Windows loads in safe mode go to:
---If you have Windows XP Professional edition----
a. Right-click on My Computer icon on Desktop and select "Manage", it'll open "Computer Management" window.
b. Goto "Local Users and Groups -> Users". In right-side pane double-click on "Administrator" account. It'll open its Properties. Deselect "Account is disabled" option and Apply it.

---If you have Windows XP HOME edition----
1. Go to Start > Run and type regedit
2. In Windows registry editor, navigate to the following path:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
Double click at "Administrator" key and set the value data as '1'.
* If the Administrator key doesn't exist, right-click on the above tree in the pane, choose New > DWORD Value, name it 'Administrator' and press Enter.

Now when you restart your computer the "Administrator" account appears in log on screen, with all the rest user accounts of your computer.

Windows 7 or Vista
1. Go to Start > All Programs > Accessories
2. Right-click on “Command Prompt” and select “Run As Administrator“. If you are prompted to enter password, enter your password and press Enter.
( You can also open Command Prompt in Administrator mode by typing “cmd” in Startmenu Search box and press “Ctrl+Shift+Enter“)
3. In command prompt windows type: net user administrator /active:yes
and press Enter. When the command process ends, you will see a message like this:"The command completed successfully.
Now close the command window and go to users accounts in control panel. As you see the Administrator account is enabled.
If you want to disable it again, simply replace "yes" with "no" in above command.