2 Feb 2009

XP - Auto logon for a Domain PC

The below explains how to setup a PC to autologin which is part of a domain.  This is done my storing the username / password in the registry and then enabling the Autologon key.
Open the registry editor by clicking Start / Run and typing "Regedit"
Then locate the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK. 
Double-click the DefaultPassword entry, type your password under the value data box, and then click OK.
If there is no DefaultPassword value, create the value. To do this, follow these steps: 
In Registry Editor, click Edit, click New, and then click String Value. 
Type DefaultPassword as the value name, and then press ENTER. 
Double-click the newly created key, and then type your password in the Value Data box.
If no DefaultPassword string is specified, Windows XP automatically changes the value of the AutoAdminLogon registry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature. 
Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK.
If there is no AutoAdminLogon entry, create the entry. To do this, follow these steps: 
In Registry Editor, click Edit, click New, and then click String Value. 
Type AutoAdminLogon as the value name, and then press ENTER. 
Double-click the newly created key, and then type 1 in the Value Data box.
Quit Registry Editor. 
Click Start, click Restart, and then click OK.
After your computer restarts and Windows XP starts, you can log on automatically. 
If you want to bypass the automatic logon to log on as a different user, hold down the SHIFT key after you log off or after Windows XP restarts. Note that this procedure applies only to the first logon. 
To enforce this setting for future logoffs, the administrator must set the following registry key: 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Value:ForceAutoLogon
Type: REG_SZ
Data: 1

No comments:

Post a Comment