Set up Auto Login for a Domain user account

Windows 7 Login Screen

Set up Auto Login for a Domain user account

April 16, 2014 9:30 AM

By: Rutledge Daugette


If you're like me, you have services like Plex Media Server running on your PC at home that you need to be logged in to have running, and there's a simple way to do that (which you can find here). But say you have a business process that runs off of a domain account, and you have to be logged in for it to run, such as the Rapattoni Scheduler? That is a bit more complex, but can easily be done with some registry edits. Here's how to set up Auto Login for a Domain user account!

Step 1: Open up the Registry Editor




Press the Start Button and type "regedit" and hit Enter

Step 2: Expand the Registry Tree to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon


Step 3: Modify (or create) the following keys:
  • DefaultUserName
  • DefaultPassword
  • DefaultDomainName
  • AutoAdminLogin

If any of the above are missing, you should add them as a String (REG_SZ). If AutoLogonCount exists, it should be deleted as well. Here's how they should be filled out:


    • DefaultUserName = the username you'd like to log in automatically with
    • DefaultPassword = the above user's password
    • DefaultDomainName = the domain name (same as if logging into a machine)
    • AutoAdminLogin = 1
Step 4: Close the registry editor and reboot the machine, then it will automatically log in!

Note: If the password changes, it will have to be changed in the registry as well.


There you have it, the way to log in automatically with a domain account!