http://support.microsoft.com/kb/315231

Method 1:
  1. Click Start, and then click Run.
  2. In the Open box, type control userpasswords2, and then click OK.

    Note When users try to display help information in the User Accounts window in Windows XP Home Edition, the help information is not displayed. Additionally, users receive the following error message:

    Cannot find the Drive:WindowsSystem32users.hlp Help file. Check to see that the file exists on your hard disk drive. If it does not exist, you must reinstall it.
  3. Clear the “Users must enter a user name and password to use this computer” check box, and then click Apply.
  4. In the Automatically Log On window, type the password in the Password box, and then retype the password in theConfirm Password box.
  5. Click OK to close the Automatically Log On window, and then click OK to close the User Accounts window.
Method 2:

 

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry key:
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon
  3. Using your account name and password, double-click the DefaultUserName entry, type your user name, and then clickOK.
  4. 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:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type DefaultPassword as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type your password in the Value Data box.

    Note: If the DefaultPassword registry entry does not exist, Windows XP automatically changes the value of theAutoAdminLogonregistry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature after the computer is restarted.

  5. 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:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type AutoAdminLogon as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type 1 in the Value Data box.
  6. Exit Registry Editor.
  7. Click Start, click Restart, and then click OK.
Advertisements