Those of you who have hurriedly downloaded the Windows Vista Feb CTP (build 5308) may have noticed something sinister: unless you join a domain, it is awfully difficult to logon to the built in Administrator account.
To work around this using AutoLogon:
- Logon as the account you created during the installation.
- From the Start menu, go to "All Programs", "Accessories"
- Right-click on "Command Prompt" and choose "Run as Administrator"
- Click "Allow" from the ConsentUI prompt
- In the resulting Command window, enter "regedit" and press enter
- In regedit, browse to HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
- In the Winlogon key, create a new value of type REG_SZ (string) titled AutoAdminLogon and set the value to 1.
- Also create a string value titled "DefaultPassword" and set it to the password you want for the Administrator account.
- In the value "DefaultDomainName" enter the name of your computer
- In the value "DefaultUserName" enter "Administrator"
- Close regedit
- Back in the command prompt, enter "Net User Administrator password*" (replace password with the password you entered for DefaultPassword).
- Log off or reboot. You are now logged on with the local Administrator account. To stop it from auto logging on, remove that "AutoAdminLogon" value or set it to 0.
To work around this using a registry hack (the same one that works for enabling the Administrator account on XP Home):
- Logon as the account you created during the installation.
- From the Start menu, go to "All Programs", "Accessories"
- Right-click on "Command Prompt" and choose "Run as Administrator"
- Click "Allow" from the ConsentUI prompt
- In the resulting Command window, enter "regedit" and press enter
- In regedit, browse to HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
- Add a new key at that level called SpecialAccounts
- In the SpecialAccounts key, create a sub-key called UserList
- At this point the path is: HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
- In the UserList key, create a new value of type DWORD (32 bit) called Administrator and set the value to 1.
(Thanks to Ed LaLonde for calling my attention to this trick.)
For those of you who join your computer to a domain, you can easily logon as the local administrator account using Switch User.
Remember to get Connected on WindowsConnected.
Posted
Feb 22 2006, 02:24 PM
by
Jerry
Follow Me on Twitter
Did you enjoy this article? If yes, then subscribe to our

or