On TV.com: CHUCK Spied a Return Date
BNET Business Network:
BNET
TechRepublic
ZDNet

July 30th, 2007

Vista Hands On #18: Log on automatically

Posted by Ed Bott @ 4:00 am

Categories: Vista Mailbag, Windows Vista

Tags: Password, Microsoft Windows Vista, Ed Bott

In Focus » See more posts on: Hands on Vista, Vista

Today’s tip is in response to a reader question:

When Vista is booting it displays the welcome screen and requires me to click on the icon with my name on it before it will continue to boot. My old machine with XP did not make me do this, it continued to boot without any input from me. How can I make Vista do the same?

The procedure for automatically logging on to a default user account is essentially the same in Vista as it is in XP. First, the obligatory caveats and warnings:

Don’t do this if your system contains confidential data and is physically insecure. It’s a very bad idea to enable auto-logon on a notebook, for instance, because anyone who walks away with the notebook can get to its contents just by turning it on. The same is true if your system is in a location that can’t be locked up, such as a cubicle in an office bullpen. A passerby who wants to break into your computer only has to hit the power switch and wait for your system to restart and log on automatically to your account.

Also, don’t follow the instructions from some older Windows versions to enter your default password in the Registry. That option works but leaves your logon password exposed in clear text where anyone can find it. The option described here saves this value as an encrypted LSA secret, which is many times more secure.

As long as you understand and accept the risks, here’s how to enable auto-logon (these steps work identically in all Vista editions, including Home Basic and Home Premium). These instructions assume you are using a workgroup configuration and not logging on to a Windows domain:

1. From an account in the Administrators group, click Start. In the search box, type netplwiz and press Enter. This opens the Advanced User Accounts Control Panel shown here. (Update: If you’re trying to accomplish this in Windows XP, click Start, Run, and type control userpasswords2 in the Open box.)

Auto logon to Vista

2. Clear the check box to the left of Users must enter a user name and password to use this computer and then click Apply.

3. In the Automatically Log On dialog box, enter the user name assigned to the account you want to Windows to use each time you start up. Enter the password in both dialog boxes.

Auto logon to Vista step 2

4. Click OK to save your changes.

Now restart your system. You should bypass the logon screen and go straight to your desktop, just as you did in XP.

For a little more control over the autologon process, including the ability to set up Autologon for a limited number of sessions, download the Autologon.exe command line utility, created by Microsoft developer Andrew Jennings. Usage instructions and some interesting comments are available in this post on the Microsoft Shell Blog.

Ed BottEd Bott is an award-winning technology writer with more than two decades' experience writing for mainstream media outlets and online publications. See his full profile and disclosure of his industry affiliations.

Email Ed Bott

Subscribe to Ed Bott's Microsoft Report via Email alerts or RSS.

  • Talkback
  • Most Recent of 32 Talkback(s)
RE: Vista Hands On
Ed, there is the Vista Autologon tool we develeop named LogonExpert http://www.logonexpert.com I hope it will be interesting for this article readers as alternative secure autologon solution... (Read the rest)
Posted by: srozhkov@... Posted on: 01/23/08 You are currently: a Guest | | Terms of Use
The only situation I can think of  Michael Kelly | 07/30/07
Other situations  Ed BottZDNet Moderator | 07/30/07
For the home  voska | 07/30/07
Vista already has parental controls  Michael L Hereid Sr | 07/30/07
Auto-logon not for a shared PC  Ed BottZDNet Moderator | 07/30/07
When you think about it...  Michael Kelly | 07/30/07
If someone steals my PC...  Ed BottZDNet Moderator | 07/30/07
I know I'm getting off-topic here  Michael Kelly | 07/30/07
True, but ...  mwagner@... | 07/30/07
trusted family members  aussieblnd@... | 07/30/07
If a guy breaks into my house  Ed BottZDNet Moderator | 07/30/07
i have to agree if someone breaks in to the house theres more goodies  SO.CAL Guy | 07/30/07
Even for home, I make my wife ...  mwagner@... | 07/30/07
I have no kids, and my wife has her own PC  Ed BottZDNet Moderator | 07/30/07
Vista Hands On - aka How To Shoot Thyself In The Foot  jack-daniels@... | 07/30/07
What's this prat on about?  Feist | 07/30/07
Nah.. He's just trolling to be a troll...  Wolfie2K3 | 07/30/07
semi-auto-login, another use  Jim Johnson | 07/30/07
Autologin  johnemrylaw@... | 07/30/07
For XP...  Ed BottZDNet Moderator | 07/30/07
The same command works for me in XP and Vista  jorios_cr@... | 07/30/07
See update in post  Ed BottZDNet Moderator | 07/31/07
Blank password  rseiler | 07/30/07
Correct  Ed BottZDNet Moderator | 07/30/07
No Welcome screen  rseiler | 07/30/07
Password security is overrated.  angrykeyboarder | 07/30/07
not sure this is completely accurate  inertman@... | 07/31/07
Yes, it's accurate  Ed BottZDNet Moderator | 08/01/07
the key is 'if'...  inertman@... | 08/02/07
this tip provides a very useful safety valve  crestale | 08/06/07
RE: Vista Hands On #18: Log on automatically  cashbelden@... | 11/09/07
RE: Vista Hands On  srozhkov@... | 01/23/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

advertisement

Archives

ZDNet Blogs

White Papers, Webcasts, and Downloads