Set up an automatic logon to Windows XP - TechRepublic

Set up an automatic logon to Windows XP

TechRepublic member dusty1one is seeking a way to bypass the Microsoft Windows XP logon/welcome screen. Here’s how to do it.

Written By
Mark W. Kaelin
Mark W. Kaelin
May 4, 2004
We may earn from vendors via affiliate links or sponsorships. This might affect product placement on our site, but not the content of our reviews. See our Terms of Use for details.

Problem

In versions of Microsoft Windows prior to XP, you could set
up your PC to automatically log on and load the desktop, bypassing the normal
logon/welcome screen. In Windows XP, if there is only one user account, it is
relatively simple to set up the system to automatically log on. However, if
there is more than one user account, designating that all of the accounts can
automatically log on is much more obscure.

Solution

To get access to a user account control panel that will
allow you to set up accounts for automatic logon in Windows XP, you must use the
command line and an obscure control application. At the command prompt, enter:

control userpasswords2

That command will open control panel that
looks like Figure A.

Figure A

The User Accounts control panel

From this control panel, you can uncheck the Users Must Enter
A Name And Password To Use This Computer setting. When
you click the Apply or OK button, you will be asked to supply a password (you
can leave it blank). After clicking OK on that screen, you will have set your
PC to log on automatically.


Advertisement

Fate plays a hand

This solution is really a by-product of an odd coincidence.
The night before I read dusty1one’s Tech Q&A post, I read this article
in PC Magazine. I took it as an omen.


Next Steps: Build your skills with these hand-picked resources
>” width=”8″ height=”10″ align=”absmiddle”><br />
<a target=Automatic Login to Windows XP
>” width=”8″ height=”10″ align=”absmiddle”><br />
<a target=Tech Q&A: Windows XP Logon
>” width=”8″ height=”10″ align=”absmiddle”><br />
<a target=MKBA 315231: How to turn on automatic logon in Windows XP
>” width=”8″ height=”10″ align=”absmiddle”><br />
<a target=Customize Windows logon and security dialog title
>” width=”8″ height=”10″ align=”absmiddle”><br />
<a target=Lock IT Down: Prevent Windows 98 users from bypassing the logon screen
>” width=”8″ height=”10″ align=”absmiddle”><br />
<a target=MKBA 282866: How to automatically log on to a user account in Windows XP
Mark W. Kaelin

Mark W. Kaelin has been writing and editing stories about the information technology industry, software, hardware, gaming, finance, accounting, and technology geekdom for more than 30 years.