You can reset a Lenovo laptop to factory settings without the password, but the method depends on whether you can still reach the login screen
If you are locked out of your Lenovo laptop, a factory reset will erase everything on the drive and return it to the state it shipped in — no files, no programs, no password. The path forward depends on one thing: can you turn the laptop on and see the Windows login screen, or does it not start at all?
If the laptop starts and shows a login screen, you have the easiest route: use Windows built-in recovery tools without needing the password. If the laptop does not start, or if Windows will not load, you will need to create a bootable USB drive on another computer. Both methods take 30 minutes to an hour, but they work on any Lenovo model running Windows 10 or Windows 11.
Key Takeaways
- If your Lenovo shows the Windows login screen, use the "Reset this PC" tool from the login screen itself — no password needed.
- If Windows will not start, you must create a bootable Windows recovery USB on another computer and boot from it.
- A factory reset erases everything on the drive, so this is a last resort when you cannot recover the password any other way.
- You will need either a second computer and a USB drive (8 GB or larger) or access to the Windows installation media.
- After the reset completes, the laptop will restart and ask you to set up Windows as if it were new — you will create a new password at that point.
Reset from the Windows login screen (no second computer needed)
If your Lenovo turns on and displays the Windows login screen with a password field, you can reset the entire system without entering the password. Look for a link that says "Reset this PC" or "I forgot my password" — the exact wording varies by Windows version, but it appears on the login screen itself.
Click that link. Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything" for a full factory reset. The system will then ask you to confirm — this is your final note to back out, because the next step erases the entire drive.
Once you confirm, Windows will restart and begin the reset process. This can take 20 to 45 minutes depending on the size of your drive and the speed of your laptop. Do not turn off the laptop during this time. When it finishes, the laptop will restart and show the Windows setup screen, where you will create a new user account and password.
Reset using a bootable USB drive (when Windows will not start)
If your Lenovo does not start at all, or if Windows crashes before you reach the login screen, you need to create a bootable USB drive on another computer. You will need a USB drive that is at least 8 GB, a second computer with internet access, and about 15 minutes to prepare the drive.
On the working computer, go to Microsoft's Windows read page and select "Create Windows installation media." read the Media Creation Tool, plug in your USB drive, and run the tool. Select "USB flash drive" as your destination. The tool will read Windows and write it to the USB drive — this takes 10 to 15 minutes depending on your internet speed.
Once the USB drive is ready, plug it into your Lenovo and turn the laptop on. when ready start pressing the boot menu key — for most Lenovo models, this is F12, but some use F2, Escape, or Delete. You should see a menu listing your boot options. Select the USB drive from this menu.
The laptop will boot from the USB and show the Windows setup screen. Look for a link that says "Repair your computer" or "Troubleshoot" — this is usually in the bottom left corner. Click it, then select "Reset this PC," and follow the same steps as above: choose "Remove everything" and confirm.
What happens after the reset completes
When the factory reset finishes, your Lenovo will restart and show the Windows setup wizard. This is the same screen you would see if you bought the laptop brand new. You will be asked to choose your language, region, and keyboard layout, then to create a new user account.
At the account creation step, you will set a new password. This is your chance to choose something you will remember — write it down in a safe place, or use a password manager to store it. Once you finish setup, you will have a clean Windows installation with no files, no programs, and no old password.
If you had programs installed before the reset, you will need to reinstall them. If you had files on the laptop, they are gone — a factory reset cannot be undone. This is why it should be your last resort, used only when you cannot recover the password through other means.
Why the boot menu key matters
The boot menu key is the button you press when ready after turning on the laptop to choose what device to start from. For Lenovo laptops, this is usually F12, but it can vary by model. If F12 does not work, try F2, Escape, or Delete while the Lenovo logo is on the screen.
If you press the key too late, Windows will start normally and you will miss the boot menu. If this happens, turn the laptop off, wait a few seconds, and try again. You have only a few seconds after the Lenovo logo appears, so be ready to press the key as soon as you see it.
If you are not sure which key your model uses, look at the bottom of the screen during startup — many Lenovo laptops display the boot menu key as the logo appears. You can also check your laptop's manual or the Lenovo support website by searching for your model number.
When a factory reset might not be the answer
A factory reset is permanent and erases everything. Before you do it, consider whether there is another way to recover access. If you set up a Microsoft account on the laptop, you can reset the password through Microsoft's website without touching the laptop. If you remember any other account on the system, you might be able to use that account to reset the password for the locked account.
If the laptop is owned by an employer or school, a factory reset may violate policy or remove security software that is required. If the laptop is encrypted with BitLocker (a Windows security feature), a factory reset may not work without the recovery key. Check with the owner or administrator before proceeding.
If you are trying to reset a laptop that belongs to someone else, stop here. A factory reset is a form of access recovery, and using it on someone else's device without permission is not legal.
Preparing for the next time: password recovery options
After you set up your new password, take steps to avoid being locked out again. Set up a password hint that only you will understand. Link a phone number or backup email to your Microsoft account so you can reset the password online if you forget it. If your workplace or school manages the laptop, ask them how to recover a forgotten password before you need it.
If you use the same password on multiple devices, write it down in a password manager like Bitwarden, 1Password, or KeePass. These programs store passwords securely and can generate strong passwords that are hard to forget because you do not have to remember them at all.
Frequently Asked Questions
Will a factory reset remove viruses or malware from my Lenovo?
Yes. A factory reset erases the entire drive and reinstalls Windows from scratch, so any malware is removed. However, if the malware infected your files before the reset, and you restore those files afterward, the malware may come back. Only restore files from backups you made before the infection.
Can I recover my files after a factory reset?
Not reliably. A factory reset overwrites the drive, and once it is overwritten, recovery is difficult and expensive. If you have a backup from before the reset, restore from that. If not, your files are gone.
What if my Lenovo is encrypted with BitLocker?
BitLocker is a Windows encryption feature that protects your drive. If it is turned on, you will need the recovery key to reset the laptop. The recovery key is usually stored in your Microsoft account or was printed when BitLocker was first turned on. If you do not have the key, you cannot reset the laptop without it.
How long does a factory reset take?
The reset itself takes 20 to 45 minutes depending on your drive size and laptop speed. Creating the bootable USB drive takes another 10 to 15 minutes. Plan for about an hour total, and do not interrupt the process once it starts.
Do I need the Windows product key after a factory reset?
If your Lenovo came with Windows pre-installed, the product key is stored in the firmware and will set up automatically when you set up Windows again. If you installed Windows yourself, you will need the product key to set up it after the reset.