HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Data type Range Default value
REG_SZ 0 | 1 0


Determines whether the automatic logon feature is enabled. Automatic logon uses the domain, user name, and password stored in the registry to log you on to the computer when the system starts. The Log On to Windows dialog box is not displayed.

Value Meaning
0 Disables automatic logon.
1 Enables automatic logon.

Activation method

You must log off of Windows 2000, shut down the computer, and start it again before changes to this entry take effect.

Note Image Note

Automatic logon requires that DefaultDomainName and DefaultUserName appear in the registry with valid values.

Caution Image Caution

Automatic logon allows other users to start your computer and log on using your account.

Because automatic logon proceeds in a different order than an authenticated logon, it can cause timing conflicts. If you are loading several network transport protocols, automatic logon might cause Windows 2000 to attempt to connect to network resources before the protocols network transports are completely loaded.

If you disable automatic logon by setting the value of AutoAdminLogon to 0, remember to delete the value of DefaultPassword, which is stored and displayed in your registry editor in plain, unencrypted text.

Related Entries

Page Image

Page Image