TechRepublic : A ZDNet Tech Community

Set up an automatic logon to Windows XP

Tags: Mark Kaelin, Microsoft Windows XP, Microsoft Windows, automatic logon, user account

  • Save
  • Print
  • Recommend
  • 4

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

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.


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
> Automatic Login to Windows XP
> Tech Q&A: Windows XP Logon
> MKBA 315231: How to turn on automatic logon in Windows XP
> Customize Windows logon and security dialog title
> Lock IT Down: Prevent Windows 98 users from bypassing the logon screen
> MKBA 282866: How to automatically log on to a user account in Windows XP
  • Save
  • Print
  • Recommend
  • 4

Print/View all Posts Comments on this article

Is this tip a good idea?? Mark W. KaelinTechrepublic Moderator | 07/28/04
Yes, for kiosk applications... dnotarnicola@... | 07/28/04
Didn't think of that Mark W. KaelinTechrepublic Moderator | 07/29/04
Touchscreen only? CraigMaq | 07/29/04
90% of the time NO, Its not a good idea.. TomSal | 07/29/04
I use it in W2K gshollingsworth | 07/29/04
Alternative solution for autologon. BHLang | 08/16/04
Almost TheGooch1 | 08/17/07
Anything to get around MS's help robapacl@... | 08/16/04
must use command line psandefur@... | 08/16/04
Not good tafland1@... | 08/17/04
Not a good idea for me! pcscomp@... | 04/30/05
Check box not in window bob.withers@... | 07/29/04
Works on XP Home only CraigMaq | 07/29/04
... and XP Pro in a workgroup (sorry...) CraigMaq | 07/29/04
Are you running under a domain Mark W. KaelinTechrepublic Moderator | 07/29/04
what if multiple users? wodenickel1@... | 08/16/04
How to autologon Jshee42 | 08/16/04
null jmschattke@... | 08/25/04
useful for a open office ramnaumi_india@... | 09/01/04
RE: Set up an automatic logon to Windows XP Cap'n Billy | 11/08/08
xp automatic logon srozhkov@... | 12/11/08

What do you think?

White Papers, Webcasts, and Downloads

Article Categories

Security
Security Solutions, IT Locksmith
Networking and Communications
E-mail Administration NetNote, Cisco Routers and Switches
CIO and IT Management
Project Management, CIO Issues, Strategies that Scale
Desktops, Laptops & OS
Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
Data Management
Oracle, SQL Server
Servers
Windows NT, Linux NetNote, Windows Server 2003
Career Development
Geek Trivia
Software/Web Development
Web Development Zone, Visual Basic, .NET

SmartPlanet

Click Here