If you've forgotten your Windows password and you're on a domain, you should contact your system administrator to reset your password. If you're not on a domain, you can reset your password by using a password reset disk or by using an administrator account.
If you forget the administrator password and don't have a password reset disk or another administrator account, you won't be able to reset the password. If there are no other user accounts on the computer, you won't be able to log on to Windows and will need to re-install Windows.
To use your password reset disk to reset your password
You will not be able to follow these steps if you have locked your computer.
1. If you have typed the wrong password, you'll receive a message that says your user name or password is incorrect. When this message appears, click OK.
2. Click Reset password, and then follow the instructions.
To use an administrator account to reset your password
If you use an administrator account to reset the password, you will permanently lose access to any e‑mail messages or encrypted files that are on that account.
These steps cannot be completed on Windows Vista Starter, Windows Vista Home Basic, and Windows Vista Home Premium.
1. Log on to the administrator account that you will use to reset the forgotten password.
2. Open Local Users and Groups by clicking the Start button Picture of the Start button, typing lusrmgr.msc into the Search box, and then pressing ENTER. Administrator permission required If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
3. Double-click Local Users and Groups, and then click Users.
4. Right-click the account that you need to reset the password for, and then click Set Password.