Setting Up AutoAdminLogon for Windows NT/2000/XP

Windows NT, Windows 2000, and Windows XP can automate the logon process by storing passwords and other pertinent information in the Registry database.

WARNING:  There is a security risk to using the AutoAdminLogon feature. Usernames and passwords in the registry are visible to users. This feature also allows other users to start the computer and use the account to automatically logon even if the workstation is locked. Refer to the Microsoft recommendations on when to use AutoAdminLogon. For more information, see the following TID at .

Use Registry Editor (REGEDIT.EXE) to add the needed logon information.

WARNING:  Using Registry Editor incorrectly can cause serious, systemwide problems that might require reinstalling Windows NT or Windows 2000 to correct them.

HINT:  To bypass the AutoAdminLogon process, and to log in as a different user, hold down the Shift key after a logout or after a Windows NT restart.


AutoAdminLogon Options

This section lists the options that you can choose from when setting AutoAdminLogon. To set the options, use the procedure in Setting the AutoAdminLogon Options.

Additional information on AutoaAdminLogon may also be available in Technical Information Document # 10052847 on the Novell Technical Support Web Site.


AutoAdminLogon for Windows Workstation Only

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WindowsNT\CurrentVersion\Winlogon
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ Login

AutoAdminLogon=1

DefaultDomain or Local WorkstationName=Name of Domain or Local Workstation

DefaultUserName=Windows User Name

DefaultPassword=Windows Password for the DefaultUserName specified above

AutoAdminLogon=0


AutoAdminLogon for Windows Workstation and NetWare

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WindowsNT\CurrentVersion\Winlogon
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ Login

AutoAdminLogon=1

DefaultDomain or Local WorkstationName=Name of Domain or Local Workstation

DefaultUserName=Windows User Name

DefaultPassword=Windows Password for the DefaultUserName specified above

AutoAdminLogon=1

DefaultLocationProfile=Name of the Location Profile that contains the information about the Novell User to log in to the NetWare network such as Username, Tree, Context, Server, etc.

DefaultPassword=Novell Password for the DefaultUserName specified in the Location Profile

Location profiles allow you to save a user's specific login information. The profile automatically sets up login information such as the user's name, server, tree, context, login script, and other applicable information so that the user does not have to type this information. For more information, see Setting Up Location Profiles.

NOTE:  The NT Credential information in the Location Profile will not be used. The NT user information in the registry will be used instead.


AutoAdminLogon for NetWare Only Using Dynamic Local User (DLU) for Windows

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WindowsNT\CurrentVersion\Winlogon
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ Login

AutoAdminLogon=0

AutoAdminLogon=1

DefaultLocationProfile=Name of the Location Profile that contains the information about the Novell User to log in to the NetWare network such as Username, Tree, Context, Server, etc.

DefaultPassword=Novell Password for the DefaultUserName specified in the Location Profile

Location profiles allow you to save a user's specific login information. The profile automatically sets up login information such as the user's name, server, tree, context, login script, and other applicable information so that the user does not have to type this information. In this case, the location profile must specify an NDS user with Dynamic Local User (DLU) privileges on the Windows NT or Windows 2000 workstation. For more information, see Setting Up Location Profiles.


AutoAdminLogon for Windows and Query for NetWare

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WindowsNT\CurrentVersion\Winlogon
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ Login

AutoAdminLogon=1

DefaultDomain or Local WorkstationName=Name of Domain or Local Workstation

DefaultUserName=Windows User Name

DefaultPassword=Windows Password for the DefaultUserName specified above

AutoAdminLogon=0

AutoAdminQueryNDS=1


AutoAdminLogon for NetWare under Terminal Server

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WindowsNT\CurrentVersion\Winlogon
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ Login

AutoAdminLogon=1

DefaultLocationProfile=Name of the Location Profile that contains the information about the Novell User to log in to the NetWare network such as Username, Tree, Context, Server, etc.

DefaultPassword=Novell Password for the DefaultUserName specified in the Location Profile


Turn Off AutoAdminLogon

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WindowsNT\CurrentVersion\Winlogon
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ Login

AutoAdminLogon=0

AutoAdminLogon=0


Setting the AutoAdminLogon Options

  1. Start Registry Editor (REGEDIT.EXE).

  2. Locate the specified Registry keys and set the values as indicated.

    If a value does not exist, click Edit > New > String Value, type the name of the value, and then press Enter.

    IMPORTANT:  If no DefaultPassword string is specified, the value of the AutoAdminLogon key is automatically changed from 1 (true) to 0 (false), disabling the AutoAdminLogon feature.

  3. Exit the Registry Editor and log out of Windows NT or Windows 2000.


Changing Passwords in NetWare Login with AutoAdminLogon

If AutoAdminLogon is enabled, be careful when running the NetWare Login utility from the icon in the NetWare (Common) group. When run as a standalone utility from the icon, NetWare Login does not recognize that the workstation is running AutoAdminLogon.

If the primary connection's password expires when running NetWare Login from the icon, the user will be given the chance to synchronize all NetWare and NT passwords. Make sure that users do not synchronize the NT password, because NetWare Login does not update the Registry setting for AutoAdminLogon.



Previous | Next