How to Enable Automatic Logon in Windows NT
ID: Q97597
|
The information in this article applies to:
-
Microsoft Windows NT operating system version 3.1
-
Microsoft Windows NT Advanced Server version 3.1
-
Microsoft Windows NT Server versions 3.51, 4.0
-
Microsoft Windows NT Workstation versions 3.51, 4.0
Windows NT allows you to automate the logon process by storing your
password and other pertinent information in the Registry database.
NOTE: This feature allows other users to start your computer and use
the account you establish to automatically logon. Also, timing
conflicts can occur. For example: If you have several network
transports loaded, enabling automatic logon may make Windows NT
attempt to connect to network resources before the network transports
are completely loaded.
Use the Registry Editor (Regedt32.exe) to add your logon information, as
follows:
WARNING: Using Registry Editor incorrectly can cause serious,
system-wide problems that may require you to reinstall Windows NT to
correct them. Microsoft cannot guarantee that any problems resulting
from the use of Registry Editor can be solved. Use this tool at your
own risk.
- Start REGEDT32.EXE and locate the following Registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
\Windows NT\CurrentVersion\Winlogon
- Establish your domain name, account name, and password, using the
values you would normally type when logging on. You should assign
the following values:
DefaultDomainName
DefaultUserName
DefaultPassword
NOTE: The DefaultPassword value may not exist. If it doesn't, from
the Edit menu, choose Add Value. In the Value Name field, type:
"DefaultPassword" (without the quotation marks). Select REG_SZ for
the Data Type. In the String field, type your password. Save your
changes.
Also, if no DefaultPassword string is specified, Windows NT
automatically changes the value of the AutoAdminLogon key from 1 (true)
to 0 (false), thus disabling the AutoAdminLogon feature.
- From the Edit menu, choose Add Value. Enter AutoAdminLogon in the
Value Name field. Select REG_SZ for the Data Type. Enter 1 in the
String field. Save your changes.
- Exit REGEDT32.
- Exit Windows NT and turn off your computer.
- Restart your computer and Windows NT. You should be able to logon
automatically.
NOTE: To bypass the AutoAdminLogon process, and to logon on as a different
user, hold down the SHIFT key after a logoff or after a Windows NT
restart.
Additional query words:
regedit auto login autologon automated
Keywords : kbusage ntsecurity NTSrvWkst
Version : WinNT:3.1,3.51,4.0
Platform : winnt
Issue type : kbinfo
Last Reviewed: January 13, 1999