The information in this article applies to: Microsoft Windows XP Home Edition
Microsoft Windows XP Professional
This article was previously published under Q321305
SUMMARY
This article describes how to log on to Windows XP if you forget your password, or if your password expires and you cannot create a new one.
NOTE:
If you have not created a password reset disk and you have also forgotten your Administrator password, you cannot log on to your existing Windows installation for security reasons. This information applies to starting Windows XP typically, to Safe mode, and to Recovery Console. In this case, you must perform a "clean" installation of Windows XP, re-create all user accounts, and reinstall all of your programs.
MORE INFORMATION
To log on to Windows XP, use any of the following methods:
Method 1: Use a Password Reset Disk
If you created a password reset disk for Windows XP, reset your password by using the
password reset disk. For additional information about how to use a password reset disk, click the article numbers below to view the articles in the Microsoft Knowledge Base:
305478 HOW TO: Create and Use a Password
Reset Disk for a Computer That Is Not a Domain Member in Windows XP
306214 HOW TO: Create and Use a Password Reset Disk for a Computer in a Domain in Windows XP
Method 2: Log on as Administrator and Reset the Password
If you cannot change the password for the default user account, log on to the computer as Administrator, and then reset the password on the user account.
WARNING: If you reset the password for a user account in this manner in Windows XP Professional, the following types of information for that user will be no longer available:
E-mail messages that are encrypted with the user's public key
Internet passwords that are saved on, or remembered by, the computer
Any files that the user has encrypted
Windows XP Home Edition or Windows XP Professional in a Workgroup
To log on as Administrator and reset the password:
Restart the computer. After the Power On Self Test (POST), press the F8 key.
On the Windows
Advanced Options menu, use the ARROW keys to select Safe Mode, and then press ENTER.
When you are prompted to select the operating system to start, select Microsoft Windows XP edition (where edition is the edition of
Windows XP that is installed), and then press ENTER.
On the To begin, click your user name screen, click Administrator.
Type the administrator password, and then press ENTER.
NOTE:
In some cases, the Administrator password may be set to a blank password. In this case, do not type a password before you press ENTER.
Click Yes to acknowledge that Windows is running in Safe mode.
Click Start,
and then click Control Panel (or point to Settings, and then click Control Panel).
Click User Accounts.
Click the user account whose password you want to change.
Click Change Password if you want to keep a
password, or click Remove password if you do not want to use a password. If you remove the password, skip the next step.
Type the new password for the user, and then click Change Password.
Quit the User Accounts tool, and then restart the computer.
Windows XP Professional in a Domain
To log on as Administrator and reset the password:
In the Welcome to Windows dialog box, press CTRL+ALT+DELETE.
Type the logon information for the Administrator account, including the password, and then click OK.
NOTE:
In some cases, the Administrator password may be set to a blank password. In this case, do not type a password before you click OK.
Click Start, click Run, type compmgmt.msc, and then click OK.
In the Computer Management (Local) box, expand Local Users and Groups.
Click the Users folder.
In the right pane of the Computer Management window, right-click the user account whose password you want to reset,
and then click Set Password.
Click Proceed.
In the New password box, type the new password for the user account.
Type the same password in the Confirm password box, and then click OK.
Click OK to acknowledge that the new password has been set.
Quit the Computer Management snap-in, and then restart the computer.
Last Reviewed: 8/6/2002
Keywords: kbenv kbinfo KB321305