The fastest way depends on what you remember

If you forgot your Windows password, your next step depends on whether you use a Microsoft account or a local account, and whether you can still reach the login screen. A Microsoft account password can be reset from another device by visiting account.microsoft.com. A local account password — one that exists only on your computer — requires different steps, usually involving a password reset disk you may have created earlier, or using another admin account on the same machine.

The login screen itself tells you which type you have. If your username shows an email address, you have a Microsoft account. If it shows only a name, you likely have a local account. Knowing this before you start saves time and prevents frustration.

Key Takeaways

  • Microsoft account passwords reset online at account.microsoft.com from any device with internet access, and the change takes effect on your computer within minutes.
  • Local account passwords require a password reset disk created before you forgot the password, or access to another admin account on the same computer.
  • If you have neither a reset disk nor another admin account, you will need to reinstall Windows or use third-party recovery tools, both of which erase your files.
  • The login screen shows your account type: an email address means Microsoft account; a name only means local account.
  • Creating a password reset disk or backup admin account now prevents this problem in the future.

Resetting a Microsoft account password from another device

Go to account.microsoft.com on any computer or phone with internet access. Click "Sign in" and enter your email address. When prompted for your password, click "Forgot my password" instead. Microsoft will ask you to verify your identity — usually by sending a code to a backup email address or phone number you registered earlier.

Once you verify, you can create a new password. Return to your locked Windows computer and wait a few minutes, then try logging in with your new password. The change syncs automatically. This method works whether you are at home or away from your computer, and it does not require any preparation beforehand — as long as you set up a backup email or phone number when you created your Microsoft account.

If you cannot remember the email address associated with your account, or if you did not set up a backup contact method, you will need to contact Microsoft support directly. They can verify your identity through other means, though the process takes longer than a self-service reset.

Using a password reset disk for a local account

If you created a password reset disk before you forgot your password, insert it into your computer now. At the login screen, enter any password (it does not have to be correct), then click "Reset password" when the option appears. Windows will guide you through creating a new password using the disk.

The reset disk is a USB drive or floppy disk you create in advance through Control Panel. To make one for the future, open Control Panel, go to User Accounts, select your account, and choose "Create a password reset disk" from the left menu. Windows walks you through the process and stores the reset information on the disk itself — not online.

If you do not have a reset disk and cannot find one, move to the next section.

Using another admin account on the same computer

If someone else uses your computer and has an admin account with a password you know, log in as that person. Open Control Panel, go to User Accounts, and select your account. Click "Reset password" and create a new one without entering your old password. You will then be able to log in as yourself.

This method only works if another admin account exists on your computer. If you are the only user, or if all other accounts are standard (non-admin) accounts, you cannot use this approach.

What to do if you have no reset disk and no other admin account

At this point, you have two options, both of which erase everything on your computer. The first is to reinstall Windows using installation media — a USB drive or DVD you create on another computer using the Windows Media Creation Tool (available free from Microsoft's website). This erases your files but gives you a fresh Windows installation with no password.

The second option is to use a third-party password recovery tool. These are programs designed to reset Windows passwords and run from a USB drive or DVD. Some are free; others cost money. They work by modifying Windows system files before Windows itself loads, which is why they can bypass the password entirely. However, they also carry risk: some versions contain malware, and using them may violate your computer's warranty or licensing terms.

Before choosing either option, consider whether your files are backed up elsewhere. If they are not, and the files matter to you, consult a computer repair shop — they have tools and experience to recover data before reinstalling Windows.

Preventing this problem in the future

Create a password reset disk now, even if you remember your password. Open Control Panel, select User Accounts, click your account, and choose "Create a password reset disk." Use a USB drive you label clearly and store somewhere safe. This takes five minutes and solves the problem when ready if you ever forget your password.

If you use a Microsoft account, make sure your backup email address and phone number are current. Log into account.microsoft.com, go to Security settings, and verify the contact information Microsoft has on file. Update it if it is outdated or if you no longer have access to that email or phone number.

Consider also setting up a second admin account with a password you will not forget, or that someone you trust knows. This gives you a fallback if your main account becomes inaccessible.

Frequently Asked Questions

Can I reset my password without losing my files?

Yes, if you use a Microsoft account or have a password reset disk or another admin account. All three methods let you create a new password while keeping your files intact. Only reinstalling Windows or using third-party recovery tools erases your data.

How long does it take to reset a Microsoft account password?

The reset itself takes a few minutes online. The change then syncs to your computer within a few minutes, though it can occasionally take up to an hour. You can log in as soon as the sync completes.

Is it safe to use third-party password recovery tools?

Some are legitimate, but others contain malware or spyware. Research any tool thoroughly before downloading it, and only use tools from well-known sources. If you are unsure, reinstalling Windows is safer, though it erases your files.

What if I forgot my Microsoft account password and my backup email is also inaccessible?

Contact Microsoft support directly. They can verify your identity through other methods, such as asking security questions or verifying your phone number. The process takes longer than a self-service reset but does not require you to reinstall Windows.

Can I reset someone else's password on my computer?

Only if you have an admin account and know your own password. You cannot reset another person's password without admin access. If you are the only admin and forgot your own password, you will need a reset disk, another admin account, or to reinstall Windows.