Petri Newsletter Sign-up
Tech Tuesday

Subscribe to Tech Tuesday, the latest insights from for IT Pros.

    See All Petri Newsletters

    Configuring Auto Logon

    Posted on by Daniel Petri in Windows Client OS with 8 Comments

    Can I configure Windows 2000/XP/2003 to log me on automatically?

    You sure can!

    Old but nevertheless good. The auto logon can be accomplished by means of Registry modifying, or by use of 3rd-party tools.

    To configure auto logon through the Registry follow these steps:

    1. Open Registry Editor.

    2. In Registry Editor, navigate to the following registry key:

    1. Create or modify the following value (REG_SZ):


    and enter the exact username you’d like to use.

    Then, create or modify the following value (REG_SZ):


    and enter the exact password you’d like to use.

    Note: The password is stored in clear text, allowing anyone with access to the registry (either locally or remotely) to see your password. Use with extreme caution!

    Next, create or modify the following value (REG_SZ):


    and enter a value of 1.

    Finally, create or modify the following value (REG_SZ):


    and enter the domain name you wish to logon to.

    Note: As always, before making changes to your registry you should always make sure you have a valid backup. In cases where you’re supposed to delete or modify keys or values from the registry it is possible to first export that key or value(s) to a .REG file before performing the changes.

    1. Close Registry Editor and reboot the computer.

    Note: As far as I know, this trick will NOT work if the user does not have a password. It will only work once, but for subsequent logons it will stop working.

    In order to configure auto logon with a 3rd-party tool I recommend using Tweak UI from the Microsoft PowerToys suit: Free Tweaking Tools

    Download TweakUI for Windows XP

    Related articles

    You might also want to read the following related articles:


    Rename or Delete Special Folders


    Don't have a login but want to join the conversation? Sign up for a Petri Account


    Register for this Petri Webinar!

    Want to Make Your Backup Storage Unlimited & Ready for the Cloud? – Free Thurrott Premium Account with Webinar Registration!

    Tuesday, August 27, 2019 @ 1:00 pm EDT

    A Scale-Out Backup storage infrastructure is a must-have technology for your backups. In this webinar, join expert Rick Vanover for a look on what real-world problems are solved by the Scale-Out Backup Repository.

    Register Now

    Sponsored By