Midland (432) 242-2700 | Odessa (432) 363-5200

Tech & Security Blog

August 4, 2016
Find more like this in Advice and Help | Tech Tips

You can use the following registry settings in order to configure a Windows machine to automatically log into a domain. This should only be done with low risk/low security computers/users as the password is stored in the clear in the registry.

In the following registry key:

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

Create or modify these values:

DefaultUserName
String Value (REG_SZ)
(username to login with)

DefaultPassword
String Value (REG_SZ)
(password to login with)

DefaultDomainName
String Value (REG_SZ)
(domain to log in to)

AutoAdminLogon
Value: 1

If the AutoLogonCount or AutoLogonChecked keys exist, delete them.

 Westechs LLC

3001 W Loop 250 N
Suite C105-324
Midland, Texas 79705

(432) 242-2700 Midland
(432) 363-5200 Odessa

(888) 726-6222 Toll-Free

Privacy Policy | Careers | Service Status | Become a Vendor

Copyright 2026 Westechs LLC - All Rights Reserved
Westechs is licensed by the state of Texas for security services - License Number B20675