What you can do when you forget your Windows password
If you have forgotten your Windows password, you have three main paths: use a password reset disk if you created one before you locked yourself out, use another administrator account on the same computer, or reset your password through your Microsoft account online. Which one works depends on what you set up beforehand and whether you can still access the computer at all.
The fastest route is usually the one you prepared in advance. If you never created a backup way to get back in, you will need to either use a second admin account or go through Microsoft's account recovery process, both of which take longer but work without special tools.
Key Takeaways
- A password reset disk, created before you forgot your password, lets you reset it in minutes without leaving your computer.
- If you have another administrator account on the same machine, you can use it to reset the forgotten password from the login screen.
- Microsoft account holders can reset their password online at account.microsoft.com and sign back in within an hour.
- Local accounts without a reset disk or backup admin account are harder to recover and may require professional help or a Windows reinstall.
Using a password reset disk you created earlier
A password reset disk is a USB drive or floppy disk you create while you still know your password. It stores the information Windows needs to let you set a new password without knowing the old one. To use it, plug the disk into your computer, click "I forgot my password" on the login screen, and Windows will walk you through creating a new one.
This method works only if you made the disk before you locked yourself out. If you did not create one, this option is not available to you now. The disk itself does not contain your actual password — it contains a key that lets Windows accept a new one.
Resetting your password from another admin account
If someone else uses the same computer and has an administrator account, that person can reset your password without needing your old one. They sign in with their account, go to Settings > Accounts > Other people, find your account name, and click "Reset password." They will not see your old password, and you will be able to sign in with whatever new password they set.
This only works if the other account has administrator rights. A standard user account cannot reset another account's password. After the reset, you should change your password again to something only you know — go to Settings > Accounts > Your info > Password and choose "Change."
Recovering a Microsoft account password online
If your Windows account is linked to a Microsoft account (the kind you use for Outlook, OneDrive, or Xbox), you can reset your password without touching the computer. Go to account.microsoft.com on any device, click "Can't access your account," and follow the steps to verify your identity. Microsoft will ask you to confirm your email or phone number, and you can then set a new password.
Once you have reset your Microsoft account password online, you can use that new password to sign into Windows. This usually takes effect within an hour. If you have two-factor authentication turned on, you will need to verify your identity through your phone or backup email before you can reset the password.
What to do if you have a local account with no recovery options
A local account is one that exists only on your computer, not linked to Microsoft. If you created a local account, never made a reset disk, and have no other admin account on the machine, recovering your password becomes much harder. You cannot reset it online because there is no Microsoft account to recover.
Your options at this point are to contact a professional computer repair service, which may charge a fee to reset Windows, or to reinstall Windows entirely, which will erase everything on the drive. Before you choose either path, check whether you might have set up a Microsoft account without realizing it — try signing in with your email address instead of your username, or visit account.microsoft.com and try to recover that account first.
Creating a password reset disk for the future
Once you regain access to your computer, create a password reset disk so you never face this problem again. Plug in a USB drive, go to Settings > Accounts > Sign-in options, scroll down to "Password reset disk," and click "Create a password reset disk." Windows will walk you through the process and store the recovery key on the drive.
Keep the disk in a safe place — not on your desk, but somewhere you will remember if you need it. You only need to create it once per account. If you change your password later, the same disk will still work.
Preventing lockouts with a backup sign-in method
The easiest way to avoid this situation is to set up a backup way to sign in before you need it. If you use a Microsoft account, add a phone number or backup email to your account at account.microsoft.com. If you use a local account, create a password reset disk now. If multiple people use your computer, make sure at least one other person has an administrator account.
You can also set up Windows Hello (facial recognition or fingerprint) as an additional way to sign in without typing your password. Go to Settings > Accounts > Sign-in options and follow the prompts for your device. This does not replace your password, but it gives you another way to get in if you forget it.
Frequently Asked Questions
Can I reset my password if I do not remember the answer to my security questions?
If you are recovering a Microsoft account and cannot answer your security questions, you can verify your identity using your phone number or backup email instead. Microsoft will send you a code to confirm you own the account. For a local account, you will need either a password reset disk or another admin account.
Will resetting my password delete my files?
No. Resetting your password does not touch your files, photos, or programs. Everything stays on your computer. You will be able to access all your files once you sign in with the new password.
What if I do not have a USB drive to create a password reset disk?
You can use any removable storage — a USB drive, an external hard drive, or even a memory card with a card reader. Windows will format it and store the recovery key. You only need a few megabytes of space.
Can someone else reset my password without my permission?
Only if they have physical access to your computer and an administrator account on it. If you are concerned about this, set up a PIN or Windows Hello in addition to your password, and keep your computer locked when you step away.
How long does it take to reset a Microsoft account password?
The reset itself is when ready, but it can take up to an hour for the change to sync to your Windows computer. If you are in a hurry, restart your computer after resetting your password online — that usually speeds up the sync.