Key decision – decide if you need a password for the administrator’s account that you are going to activate. My point is that the local policy may insist on a complex password, thus you will not be able to activate the administrator with a blank password. This technique also works on Windows Server 2008, however on that operating system it is more likely you will set /active:no.
Overview
- Logon to Vista using your usual account.
- Launch the cmd prompt – Make sure you select, ‘Run as administrator’
- Net user administrator
- Net user administrator /active:yes
- Switch User, or logoff
- Logon as Administrator Password
Detailed Instructions to activate the Administrator
- Logon to Vista using your normal username and password.
- Click on the Start button
- Click on Start Search.
- Type, cmd.
- Right-click cmd, select ‘Run as administrator’ from the shortcut menu.
- In the black ‘DOS box’, type the following at the command line:
- Net help user
- The idea of the last command is just to observe the options for Net User. In particular, examine the syntax to set the password.
- The next instruction is the crucial command. I have chosen password = p£ssworD, you may want to choose different characters.
- Net user administrator p£ssw0rd
- Net user administrator /active:yes
- Check the message : The command completed successfully
- Switch User, or logoff
- Logon as Administrator Password p£ssw0rD (Your password may be different!)
Trap1: There should be no space between the word ‘active’ and the colon.
|
1 2 |
/active :yes is wrong. /active:yes is correct. |
Trap2: You need a forward slash before /active
|
1 2 |
Net user administrator active:yes is wrong Net user administrator /active:yes is correct |
Trapx: Pay close attention to the command, it should be active, not activate.
Local Security Method to Enable the Administrator Account
If you prefer a simpler method, visit the Local Security policy, incidentally, this MMC is worth exploring in its own right.
This is how you navigate to the Local Security Policy.
Firstly click on Vista’s Start orb, then in the Start Search dialog box type: secpol.msc. Note: you must include the .msc extension.
Secondly drill down to Local Policy, Security Options
Thirdly double click Accounts: Administrator account status, and select enable.