How to Factory Reset a Laptop (Windows 11, Dell, HP, Lenovo)

Open laptop with a plain blue screen and a USB flash drive plugged in, ready for a Windows 11 factory reset

Here is how to factory reset laptop models on Windows 11: open Settings > System > Recovery, select Reset PC, choose Keep my files or Remove everything, then pick Cloud download or Local reinstall.

If Windows will not start, run the same Reset this PC tool from the Windows Recovery Environment. Tap F12 on Dell, press F11 on HP, or use the Novo button on a Lenovo IdeaPad.

Two things decide whether the reset goes smoothly: a backup of your files, and your BitLocker recovery key. Find the key before you start.

In short
Windows 11 path
Settings > System > Recovery > Reset PC
Selling the laptop
Remove everything + Clean data
Windows will not start
Windows RE > Troubleshoot > Reset this PC
Brand shortcuts
Dell F12, HP F11, Lenovo IdeaPad Novo button
Have ready first
48-digit BitLocker recovery key
DellOne2One is an independent site with no affiliation, partnership, sponsorship or relationship of any kind with Dell Inc. or Dell Technologies. Brand names are trademarks of their owners and are used only to identify products.

Back up your files and find your BitLocker key first

Microsoft puts it plainly: resetting your PC reinstalls Windows, and depending on your choice, apps, settings and personal files may be removed. Copy anything you care about to an external drive or the cloud.

Windows Backup can sync your Desktop, Documents, Pictures, Videos and Music folders to OneDrive. A free Microsoft account includes 5 GB of OneDrive storage, so a large photo library needs an external drive or more storage.

Hands holding an external drive connected to a laptop to back up files before a factory reset
Copy your files to an external drive or OneDrive before you start the reset.

Now the BitLocker trap. When you first set up a laptop with a Microsoft account, Device Encryption is turned on and a recovery key is attached to that account. If the drive is encrypted, the reset asks for a 48-digit key.

From another device, sign in at aka.ms/myrecoverykey and match the first 8 digits of the recovery key ID. Microsoft Support cannot retrieve or recreate a lost key, so back it up through Manage BitLocker if you have not. If you set Windows 11 up without a Microsoft account, Device Encryption is not turned on automatically.

Example: You bought a used laptop that a relative set up years ago. Microsoft notes the recovery key may sit in the Microsoft account of whoever turned BitLocker on. Ask them to sign in at aka.ms/myrecoverykey before you reset.

Also list your paid software. Dell warns that after a factory reset you must enter product or license keys again for software such as Microsoft Office 365.

Keep my files or remove everything, cloud or local

Reset this PC asks two questions. The first decides what happens to your data. The second decides where the new copy of Windows comes from.

Windows 11 reset choices compared
ChoiceWhat it doesPick it when
Keep my filesReinstalls Windows, removes apps and settings, keeps documents and photosWindows is unstable and you want your files to stay
Remove everythingReinstalls Windows and removes personal files, apps and settingsYou want a clean start or are giving the laptop away
Clean data (on)Also cleans the drive so removed files are harder to recoverYou are selling, donating or recycling the laptop
Cloud downloadDownloads a fresh copy of Windows with the latest updatesLocal files are corrupted or missing and the internet is stable
Local reinstallUses the Windows files already on the laptopYour connection is slow; it may not include the latest updates

Source: Microsoft Support, Reset your PC, checked November 23, 2026.

Clean data is easy to miss. Without it, Remove everything deletes your files but leaves them easier to recover. Microsoft also notes that this erasure is aimed at consumers and does not meet government and industry data erasure standards.

HP estimates Reset this PC at about 20 minutes or more, with an extra 4 to 5 GB download when you pull the latest build. Dell Support recommends the cloud option when your connection is stable.

Video: Dell Support

Dell Support shows SupportAssist OS Recovery, System Restore and Reset this PC side by side, so you can see which tool fits your problem.

How to factory reset a laptop from Windows 11 settings

This is the route for a laptop that still boots. It works the same on Dell, HP, Lenovo and every other Windows 11 machine, because it is Microsoft’s own tool.

Steps
  1. Back up your files and confirm you can see your BitLocker recovery key.
  2. Plug in the charger. Lenovo tells you to reset with the AC adapter connected.
  3. Open Settings > System > Recovery.
  4. Under Recovery options, select Reset PC.
  5. Choose Keep my files or Remove everything. If you sell the laptop, turn on Clean data.
  6. Choose Cloud download or Local reinstall, then select Reset and leave the laptop alone until the Windows welcome screen appears.

Expect a long black screen. Microsoft says it can last upwards of 15 minutes and the laptop may restart itself. Restarting it yourself at that point can make the reset fail.

Example: You reset a work-from-home laptop with Keep my files. Your documents survive, but your printer app and VPN client are gone. Write the list of apps down before you reset, so you can reinstall them in one sitting.

Reset a laptop that will not start

When Windows cannot boot, you reach Reset this PC through the Windows Recovery Environment (Windows RE). Windows opens it by itself after several failed starts.

You can force it. Turn the laptop on, hold the power button as soon as the logo appears, and repeat once. On the third start, Windows shows Automatic Repair. Select Advanced options, then Troubleshoot > Reset this PC.

If even that fails, boot a USB recovery drive and choose Recover from a drive. Microsoft’s Recovery Drive page says the drive does not hold your personal files, so it is no substitute for a backup. To boot from USB, you may need to open the BIOS on Windows 11 and change the boot order.

Factory reset keys for Dell, HP and Lenovo

Each maker adds its own shortcut into recovery. The table lists what each maker’s own support pages say, including the USB drive size each tool asks for.

Factory reset keys and recovery tools by brand
BrandKey or buttonTool it opensRequirements from the maker
Dell (supported models)Tap F12 at the Dell screen, then pick SupportAssist OS RecoverySupportAssist OS Recovery: Reset to factory settings, or Reset and updateCloud Restore needs internet and a 24 GB USB drive; not on Qualcomm models
HPPress F11 while the laptop restartsWindows RE: Troubleshoot > Reset this PCHP Cloud Recovery Tool needs a 64 GB USB drive and 20 GB free; boot the USB with F9
Lenovo IdeaPadNovo button (small button or pinhole) with the laptop offNovo menu > System Recovery > Reset this PCPlug in the AC adapter before you select Reset
Lenovo ThinkPadNo Novo buttonSettings, Shift + Restart, or a USB recovery driveLenovo asks for a flash drive of at least 16 GB for the recovery drive
Any Windows 11 laptopHold Shift and select Power > RestartWindows RE: Troubleshoot > Reset this PCBitLocker key if the drive is encrypted

Source: Dell KB 000177401, HP software recovery options, HP Cloud Recovery Tool, Lenovo HT503785, Lenovo HT117511 and Microsoft, Windows Recovery Environment, all checked November 23, 2026.

On Dell, SupportAssist OS Recovery offers Reset to factory settings, which restores the software the laptop shipped with.

Dell lists the local restore only for Dell, Inspiron, Vostro, XPS and Alienware products; other models may only see Reset and update, which downloads Windows. Dell computers with Qualcomm processors do not support it, so Dell points them to Windows Push-Button Reset instead.

On a Lenovo IdeaPad, the Novo button sits beside a small backwards-arrow icon. Press it with an unfolded paper clip while the laptop is off. ThinkPad, ThinkCentre and Lenovo tablets do not have one.

Video: HP Support

HP Support’s clip shows the F11 route on a laptop that will not boot, including the BitLocker key prompt and the Local reinstall choice. HP says the reinstall can take up to an hour.

Example: Your HP laptop shows a black screen after a failed update. You press F11 at startup, choose Troubleshoot > Reset this PC, and Windows asks for the BitLocker key. Because you looked it up at aka.ms/myrecoverykey on your phone beforehand, you type it in and the reset continues.
USB flash drive next to a closed laptop, used as a Windows recovery drive for a factory reset
A USB recovery drive lets you reset a laptop whose recovery tools are damaged.

When a factory reset is the wrong fix

A reset wipes your apps and settings. For many problems, a smaller tool in the same Windows RE menu does the job with less rebuilding.

Reset when
  • You are selling, donating or handing the laptop on
  • Windows crashes or fails to start after Startup Repair
  • Malware or broken apps keep coming back
  • You want the factory state without the clutter of years of installs
Try something smaller first when
  • Trouble started after a recent update (Uninstall Updates in Windows RE)
  • A restore point from before the problem exists (System Restore)
  • The laptop is only slow or full of preinstalled apps
  • You cannot find your BitLocker key yet

If the laptop is just sluggish, work through our fixes for a slow laptop first. If the problem is preinstalled clutter, remove bloatware instead of wiping the whole drive.

Mistakes that break a factory reset

Holding the power button during the long black screen is the classic one. Microsoft warns it can make the reset fail.

Formatting the drive by hand is the second. Dell cautions that manually formatting the hard drive deletes the SupportAssist OS Recovery environment.

The third is deleting the recovery partition after making a USB recovery drive. Lenovo offers that option to free space, and if you ticked Back up system files, the USB stick then becomes your only recovery image, so keep it safe.

Last, selling with Keep my files. Use Remove everything with Clean data on, and if you are weighing a sale against repairs, check how long laptops last first.

Factory reset questions

How long does it take to factory reset a laptop?

HP estimates about 20 minutes or more for Reset this PC, plus time for a 4 to 5 GB download if you choose the cloud. HP Support’s video says the reinstall can take up to an hour, depending on the laptop.

Does a factory reset remove Windows 11?

No. Reset this PC reinstalls Windows. Remove everything deletes your files, apps and settings, but the laptop boots into a fresh copy of Windows 11.

Can I factory reset a laptop without the password?

Partly. Interrupt the startup twice, or use F11 on HP, F12 on Dell or the Novo button on an IdeaPad, to reach recovery without signing in. Lenovo’s steps still ask for the account password if you choose Keep my files, and an encrypted drive needs the BitLocker key.

Will a factory reset ask for my BitLocker key?

It can. Microsoft says you need the key to reset from Windows RE on an encrypted device. Find it at aka.ms/myrecoverykey before you start.

Evelyn Cohen
Evelyn Cohen covers Linux, open-source software, and enterprise technology for DellOne2One. She spent six years as a systems administrator before switching to tech journalism in 2018. Her reporting focuses on developer tooling, workstation hardware, and the business case for open-source adoption. She holds a B.S. in Computer Science from Vanderbilt University and has contributed to coverage cited by The Register and ZDNet.