Unlike Windows XP where the built-in Administrator user account is created with
blank password (no password) during Out-of-Box-Experience (OOBE) and simply hidden from the view of users,
Windows Vista also by default will create a built-in Administrator account with empty password, but this Administrator account is disabled by default in all clean installations and upgrades of Windows Vista, including factory pre-installed Windows Vista from Original equipment manufacturers (OEMs) and system builders. The admin account is disabled in order to enhance the security protection of the system.
How to Enable Windows Vista Administrator Account
Method 1
Under the command prompt shell window, run the following command:
net user administrator /active:yes
Note that you may need to
disable UAC or
open elevated command prompt.
Method 2
Enable the built-in Administrator account by using the Local Users and Groups MMC console to change the properties of the Administrator account:
- Open the MMC console and select Local Users and Groups.
- Right-click the Administrator account and select Properties. The Administrator Properties window appears.
- On the General tab, clear the Account is Disabled box.
- Close the MMC console.
- Administrator access is now enabled.
Method 3
You can enable the Administrator login access automatically during the unattended setup and installation of Windows Vista, by using the AutoLogon unattended Setup setting. To do so, set the AutoLogon setting to Administrator in the Microsoft-Windows-Shell-Setup component. This option will enable the built-in Administrator account in Windows Vista, even if a password is not specified in the AdministratorPassword setting.
For fully automated procedure, system administrators can create an answer file by using Windows System Image Manager (Windows SIM), as shown in the sample below that will enable the Administrator account, specify an Administrator password, and automatically log onto the system.
SecurePasswd123
true
Administratortrue5
SecurePasswd123
true
How to Disable Administrator Account Logon Access
Method 1
Under the command prompt shell window, run the following command:
net user administrator /active:no
Note that you may need to http://www.mydigitallife.info/2006/12/19/turn-off-or-disable-user-account-control-uac-in-windows-vista/">disable UAC or http://www.mydigitallife.info/2007/02/17/how-to-open-elevated-command-prompt-with-administrator-privileges-in-windows-vista/">open elevated command prompt.
Method 2
Reset and remove all unique and customized account information including product activation status to return to end users first-run out-of-box experience (OOBE) by using sysprep.exe /generalize command. Sysprep (System Preparation Utility) is an integral part of the operating system and is always present in the C:\Windows\system32 directory, and thus can be invoked from the command line as shown below or via a GUI dialog box. To run it, execute any of the following command in command prompt or Run box.
sysprep /generalize
or
c:\windows\system32\sysprep\sysprep.exe /generalize
The next time the computer starts, the built-in Administrator account will be disabled.