Automatic Login in Windows 2000, server 2003, XP user account using registry


If you have intension of running your computer and have some programs that have to run auto than this tutorial will tell you how to make windows automaticlly login to system with username and password every time yout computers starts up. It is great if your computer uses some sort of backup program and if it powers down on auto-start you do not need to impot username and password to log on.

Why use auto login feature in Windows XP?
  • Programs in StartUp folder are run only when you enter your username and password
  • No need for typing in your username and password to logon

Step by step how to make your windows to auto-login

1. Go to Start>Run (or you can also press the windows key+r)

2. Type regedit and press the enter key or click on OK. This will open the Registry Editor.

3. In the registry editor go to HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows NT>CurrentVersion>Winlogon

4. On the right pane of the registry editor you should now see a list of names and it’s values. Among these name check whether AutoAdminLogon, DefaultPassword and DefaultUsername are there.

5. If any of names are listed make them by: right click on empty area in the right pane, then select New>String Value and enter the value names: AutoAdminLogon, DefaultPassword and DefaultUsername (or only keystrings that are not present)

6. After creating them double-click each value and enter the following value data for the particular value
  • AutoAdminLogon Value : 1
  • DefaultPassword Value : the pasword of the user profile (example: pass123)
  • DefaultUsername Value : the username of the account you want to log in to (example: Administrator)
7. Thats it. Restart (reboot) your computer and next time it starts it will auto-startup and login entered username and password.


Images for automatization of user login to windows xp professional

windows start run registry editor  run windows  -regedit
Start - Run - Registry Editor - "regedit"

registry keys of autologin windows user and password
In windows registry editor AutoAdminLogon, DefaultPassword and DefaultUsername must be added in order for windows to login to the system.

Some links for login, registry, windows:
Microsoft windows operating systems
Windows registry on
How to turn on automatic logon in Windows XP on microsoft website

For any questions/suggestions I'm availabel on my email: This tutorial can be used with windows server 2003, windows server 2000, windows XP and windows XP proffessional. If you find this tutorial to be usefull please add link to it so other people will also find this tutorial page.

Questions & Answers on automatic login to windows


Hello, At first, sorry for my English. I have just read your article "Automatic Login in Windows 2000, server 2003, XP user account using registry". It's very helpful, thank you a lot. I'm wondering if there is any possibly risk in storing the administrator's password in windows registry entry? Thank you for your answer. Jan Sach

If You are The only one using this computer and noone else has access to it than it is not a problem. As long as you have an appropriate antivirus and antispyware solution installed on your computer. (Who Hasn't got it?!)

Interesting webpages
web-link Exchange:
spletna trgovina za vaše hišne ljubljenčke (pse, muce, ribe ...)
zelo ugodno lektoriranje
vseh vrst besedil
knjigovodstvo - vodenje knjigovodstva in računovodstvo
ugodna izdelava različnih
spletnih strani
FTP server under Windows
passive FTP and active FTP access on windows 2003 server
sendMail for Windows
sending mails with sendmail program under Windows
LinkExchange Diskom
Izmenjava povezav Diskom webdirectory
Web directory add your sites for free and free link exchange.
Free Computers directory
Free submission to Computers Web Directory.
This webpage is supported by link exchange and web directory at You can add link in directory to your website for free.
All content and photos of webpage Automatic Login in Windows 2000, server 2003, XP user account using registry
are copyrighted material and are not allowed to distribute without author permission. Copyrighted ©2007