Your full service technology partner! 
-Collapse +Expand
Search Industry Group:

-Collapse +Expand Industry Store

Prestwood eMagazine

April Edition
Subscribe now! It's Free!
Enter your email:

   ► KBIT Water-Coo...   Print This     
  From the March 2016 Issue of Prestwood eMag
Industry IT Water-Cooler for Power-Users:
How To Configure Auto Logon In Windows 7
Posted 9 years ago on 7/15/2011
Take Away:

Configure your computer to auto log on to a user (even an admin)


  1. Launch Regedit.
  2. Navigate to:
    HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon
    Set: AutoAdminLogon = 1 (one means on, zero means off.)
  3. Tip: Try Regedit's 'Find': AutoAdminLogon.
  4. Crucial Point set the Administrator's password.
  5. Create a new String Value called DefaultPassword
    Set: DefaultPassword = "xxxxxx".
  6. Check for the existence of a REG_SZ called DefaultUserName. The value should reflect the user who you wish to logon automatically. If this value does not exist, then right-click in the right pane, New, REG_SZ, name it, DefaultUserName. Set the string value to the required UserName.
  7. Optional Item: If your Windows 7 Machine has joined a domain, then create a String Value called DefaultDomainName.
    Set: DefaultDomainName = "OnlyYouKnowDomain"


You can optionally set a program to start at log in as well. This comes in handy for setting up display machines that will run a particular program such as Powerpoint.

1. Open the Start Menu.

2. In the search line, type regedit and press Enter. (See screenshot below)

Startup Programs - Change-start_menu_regedit.jpg

3. For "User" Locations

A) In regedit, go to: (See screenshots below)

Startup Programs - Change-current_reg_run.jpg

Startup Programs - Change-current_reg_runonce.jpg

4. For "All Users" Locations

A) In regedit, go to: (See screenshots below)

For 32-bit and 64-bit Windows 7:
AND (If added by Group Policy)


For 64-bit Windows 7 only:
Startup Programs - Change-all_users_reg_run.jpg
Startup Programs - Change-all_users_reg_runonce.jpg

5. In the right pane of Run and/or RunOnce, right click on the startup program you want to remove and click on Delete. (See screenshots above)
NOTE: RunOnce is only to run the program once for the next time that Windows 7 starts up. Run is to run the program everytime that Windows 7 starts up.

6. Click on Yes to confirm deletion.

7. When done, close regedit.



Share a thought or comment...
Comment 1 of 1

Tried the autologin (I'm Windows 8.1, but reckoned it should be the same). However, after a restart I then couldn't login! It wouldn't auto login, nor would it take the password!

Luckily I had a Microsoft LiveId account and could login with that account.

Beware of this tip - make sure, for instance, you have a password reset disk, just in case.

Posted 6 years ago
Write a Comment...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P125A1
Enter key:
KB Post Contributed By Eric Prestwood:
Visit Profile

 KB Article #102289 Counter
Since 7/15/2011
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site:

©1995-2020 Prestwood IT Solutions.   [Security & Privacy]