Enable or Disable Built-in Administrator Account in Windows Vista
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.
<component name=”Microsoft-Windows-Shell-Setup” processorArchitecture=”x86″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<AutoLogon>
<Password>
<Value>SecurePasswd123</Value>
<PlainText>true</PlainText>
</Password>
<Username>Administrator</Username>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
</AutoLogon>
<UserAccounts>
<AdministratorPassword>
<Value> SecurePasswd123</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
</UserAccounts>
</component>
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 disable UAC or 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.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- Activate, Enable and Show Administrator Account in Vista Welcome Screen
- Enable and Unhide Administrator Account with Vista Local Security Policy Setting
- How to Enable and Turn On Hibernation Feature in Windows Vista
- Temporarily Disable IE7 Protected Mode in Vista on Ad-hoc Basis
- How to Disable or Enable Vista User Access Control in Command Prompt
- Unhide the Administrator Account in Windows XP
- The Call to DllRegisterServer Failed with Error Code 0×80004005 on Windows Vista
- Workaround to Change System Display Language When Vista MUI Install Tool Fails
- Ways to Turn Off and Disable Vista IE 7 Protected Mode
- Disable and Turn Off (or Enable or Turn On) Data Execution Prevention (DEP) in Windows Vista
































