This code is part of «VDF GUIdance»
Visit us @ http://www.vdf-guidance.com
e-Mail us @ info@vdf-guidance.com
VDF GUIdance is a mutual project of
Frank Vandervelpen - Vandervelpen Systems and
Wil van Antwerpen - Antwise Solutions

Autologon in Windows NT

Sometimes you want to have a windows NT machine that doesn’t just stop at the logon screen, but instead performs an automatic logon during the boot process. This could be convenient in the case that you want to have a machine wich is always online and has some programs that should run always, but are not defined as a service. Another reason could be that the user just doesn’t want the logon feature on the machine.

You could enable an autologon in two ways:

Steps scenario 1 Autologon as an Administrator:

AutoAdminLogon = "1"

DefaultPassword = "abcde"

Where "abcde" is your logon password.

 

Steps scenario 2 Autologon as a user:

AutoAdminLogon = "1"

DefaultUserName = "abcde"

DefaultPassword = "abcde"

DefaultDomainName = "abcde"

Where "abcde" are the values exactly the same just as you would normally type in the logon screen.

 

Notes:

 

See also: Microsoft Technet article: "How To Enable Automatic Logon In Windows NT"