Skip to content

IT Support Guides

  • Knowledge Base
  • Blog
  • Latest comments
  • Tools and resources
    • Password generator
    • What is my IP?
    • Who is – domain name info
    • Screen colour picker
    • How to convert to MP4 and compress videos
    • WCAG Colour Contrast Analyser
  • About
  1. Home
  2. Knowledge Base
  3. Windows 7
  4. [SOLVED] Windows 7 – Auto Logon With Domain Computer

[SOLVED] Windows 7 – Auto Logon With Domain Computer

Thursday, 8 November 2012Sunday, 2 August 2015 by Adrian Gordon

Problem

After a workstation is added to an Active Directory domain you are unable to set the computer to automatically logon using the control userpasswords2 (User Accounts) tool.

When you open the tool you find the ‘Users must enter a user name and password to use this computer’ option is missing.

MSWindows7-AutoLogonDomain

Solution

NOTE: Passwords for domain accounts typically expire and are changed regularly. If the password for the domain account changes you will need to update the settings in the registry.

You will need to configure the automatic logon through the registry editor.

  1. Open the registry editor (regedit)
  2. Navigiate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Open the ‘AutoAdminLogon’ key and change it’s value to “1”
  4. MSWindows7-AutoLogonDomain2
  5. Open the ‘DefaultDomainName’ key and set the value to your domain name (or the computers name if using a local account)
  6. Open the ‘DefaultUserName’ key and set the value to the user name for the auto logon
  7. Create a new STRING (REG_SZ) value called ‘DefaultPassword’ and set the value to the user account password.

NOTE:

If you’re unsure what the ‘DefaultDomainName’ field needs, you can open the command prompt (Windows + R, enter cmd and hit enter) and enter

echo %userdomain%

If you’re unsure what the ‘DefaultUserName’ field needs, you can open the command prompt (Windows + R, enter cmd and hit enter) and enter

echo %username%

The output (in this case “DEV” needs to be the same as the ‘DefaultDomainName’ value as indicated in the picture below).

MSWindows7-AutoLogonDomain3

Was this article helpful?

Yes No

Related Articles

  • Windows 7 – Can’t save images in ZIP folders
    • Format USB drives beyond FAT32 32GB limit – for PS4 and MAC OS
      • Windows 7 – How to stop AutoPlay from appearing
        • Windows 7 – How to display hidden files and folders
          • Windows 7 – How to install the Active Directory Users and Computers tools
            • 12
          • IrfanView – Thumbnails not displaying in Windows Explorer

            Latest Articles

            • Squiz Matrix – How to create breadcrumbs with Microdata schema
            • Regex to select table from HTML content
            • Windows 10 – How to disable OneDrive downloading prompt
            • Windows 10 – How to search using multiple terms
            • Word 2016 – Merge field codes always displayed

            Knowledge Base Categories

            • WordPress
            • Windows XP Tips
            • Windows 8
            • Windows 7
            • Windows 10
            • Website Tips
            • VBS Scripts
            • Uncategorized
            • Ubuntu
            • Technology Tips & Tricks
            • SQL Server
            • Server stuff
            • Server Side Tips
            • QGIS
            • Online marketing
            • Office 2016
            • Office 2013
            • Notepad-plus-plus
            • MySource Matrix
            • Microsoft Office 2010

            Article Tags

            WordPress Google Office 2010 SQL Management Studio CMD PDF T-SQL File Explorer TSQL Outlook 2016 Search Adobe Acrobat iPad iPhone iPod TinyMCE VLC Media Player Outlook 2010 phpMyAdmin CAST Adobe Reader htaccess Silent install Windows 10 Windows 8 Windows 7 Word 2013 Crystal reports Firefox SQL Google Chrome Office 2013 Outlook 2013 Gravity Forms jQuery SCCM ConfigMgr Excel 2013 PHP SQL Server Excel 2016 Ubuntu Word 2016 Microsoft Facebook

            Latest comments

            • Pamela BB I tried them all, but haven't had a resolution yet. The Header Row is there on 2 pages, but not the 3rd page. (Nov. 2019)

              Word 2013 & 2016 – Table ‘repeat header row’ not working  ·  2 weeks ago

            • Kevin Huang thanks for useful tutorial...

              WordPress – How to create a “Must-Use” plugin ·  3 weeks ago

            • andrew ko did anyone figure this out? i'm having this problem and it's 2019 on my new surface laptop 2. this sucks!

              Windows 10 – How to disable automatic brightness adjustments  ·  4 weeks ago

            • Bronwen Beth Thank you! Text wrapping was my issue, could never have got to that alone

              Word 2013 & 2016 – Table ‘repeat header row’ not working  ·  last month

            • BarcaManutd20Yrs thanks

              What to do if you get ‘Java Application Blocked’ error message ·  last month

            Recent Posts

            • [REVIEW] Ring Doorbell 2
            • 7 questions to ask at an IT Support job interview
            • What do HP product codes mean
            • 5 ways to stay safe on public Wi-Fi
            • The difference between Win + D and Win + M commands
            • About
            • Donate
            • Privacy policy
            • Copyright
            © Copyright IT Support Guides