Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How do I login automatically with Windows XP Pro?

Question:

I run Windows XP Pro, and I frequently use remote desktop. Unfortunately
remote desktop requires that my login account have a password; that, in turn,
means that I can’t set up my machine to automatically login when I boot it. Or
can I? Is there a way to automatically login to a passworded account?

Yes there is. I use it myself for all the same reasons you’ve outlined.

It’s not difficult, but I do download a helper utility from Microsoft. And
after we do that, we need to talk about the security implications of auto-login
in general.

Become a Patron of Ask Leo! and go ad-free!

Start by grabbing a copy of TweakUI
from microsoft.com. TweakUI has a number of
nifty features that allow you to adjust or “tweak” many of the features of
Windows XP that aren’t otherwise or easily exposed.

Once you fire up TweakUI (most likely under Start,
All Programs, Powertoys for Windows XP), one
of the options on the right is “Logon” and underneath that, “Autologin”. There
you can specify the account that you want to use as well as that account’s
password, which is then encrypted and stored in the registry. The next time you
boot up, your machine will automatically login to that account.

This video walks you through those steps:

Now, about the security implications.

You’ve probably already heard me say “If it’s not physically secure, it’s
not secure” and that’s nowhere more true than in this situation. Anyone who
can physically get to your machine can login as you, even if the login
screen is up
. That login screen might be the login required after a screen
saver kicks in or the login that is shown when you’re accessing your machine
via remote desktop.

But your machine logs in automatically.

That means all someone need do is push the reset button, or turn off the
power and turn it back on again, causing your machine to reboot. Reboot and
login, that is, after which they have access to everything associated with that
account.

If you do need automatic login, then I’d recommend making sure you use an
account that does not have administrative privileges, and/or making
sure that the machine itself is appropriately, physically, secure.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

3 comments on “How do I login automatically with Windows XP Pro?”

  1. Hi Leo.
    I really enjoyed your video presentation and will be looking for many more to come, i found it a great way to follow instructions. Bring us more I say. :)

    Reply
  2. Hello,
    I plan on having a computer at a colocation.
    I need to be able to have remote access to do an auto shut down of the computer and be able to do an auto start up. I do not want a restart. I have a windows based system with XP Pro. Is this possible? I see options for remote shut down only thru XP Pro.

    Thank you
    Steve Rifkin

    Reply
  3. Steve Rifkin..
    .
    i don’t know about the auto startup..
    .
    but to shut down a computer through remote access.. just open run and type in the command shutdown -s -t “00”
    .
    that shuts off the computer.. =D

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.