To factory reset an HP laptop that runs Windows 11, open Settings > System > Recovery, select Reset PC, choose Remove everything, pick Cloud download or Local reinstall, and confirm with Reset. If Windows won’t start, HP’s documented route is to restart and press F11 repeatedly to reach the same Reset this PC tool from the recovery screen.
Both routes reinstall Windows 11 and, with Remove everything, erase your files, apps and settings. HP also offers a separate Cloud Recovery tool that rebuilds the laptop from a USB drive when the built-in recovery won’t work. This page covers all three, in the order you should try them, for HP consumer laptops (Pavilion, ENVY, Spectre, OMEN, Victus and similar) and HP business laptops running Windows 11. If the laptop is about to be sold, the checklist for wiping a Windows 11 PC before selling it adds the pre-sale steps, such as turning off Find my device and removing the PC from your Microsoft account.
Read this before you erase anything
A factory reset can’t be undone. Once the reset starts deleting, the files it removes are gone. Do these checks first:
- Back up your files. Copy documents, photos, videos and anything on the desktop to an external drive or cloud storage. Do this even if you plan to choose Keep my files, because a failed or interrupted reset can still cost you data. If you’ve never set up a backup, the steps to back up Windows 11 with Windows Backup or File History walk through both built-in tools.
- Find your BitLocker recovery key. Many Windows 11 laptops have BitLocker or device encryption turned on without the owner knowing. Microsoft says you need the recovery key if the reset asks for it, especially when you start from the recovery screen. For a Microsoft account, the key is usually stored at aka.ms/myrecoverykey (open it on another device and sign in with the account that set up the laptop). If the laptop was ever signed in with a work or school account, check aka.ms/aadrecoverykey or ask your IT team. Write the key down or save it somewhere off the laptop.
- Know your sign-in details. After the reset you’ll go through Windows setup again and sign in with a Microsoft account. Make sure you know its password, or can reset it from your phone.
- Plug in the charger. Keep the laptop connected to power for the whole reset. A laptop that dies halfway through can be left unable to start.
- Note your software licenses. Apps you installed yourself are removed. Have the installers, product keys or account logins for things like Microsoft 365 or Adobe apps ready.
- Unplug extras. Remove external drives, USB sticks and docks so nothing else is accidentally included or confuses the restart.
Which reset route fits your situation
| Your situation | Use this |
|---|---|
| Windows starts and you can sign in | Reset from Settings (Method 1) |
| Windows won’t start, or you can’t sign in | Reset from the recovery screen with F11 (Method 2) |
| The recovery screen won’t load or the reset fails | HP Cloud Recovery from a USB drive (Method 3) |
Method 1: Reset your HP laptop from Settings
This is the route Microsoft and HP both list first, and it works on any HP laptop that still boots into Windows 11.
- Open Recovery settings. Press Windows logo key + I to open Settings, select System in the left-hand list, then scroll down the right side and select Recovery. Recovery is a page inside System, not a tab of its own. You can also search the Start menu for Recovery options.
- Start the reset. Under Recovery options, find Reset this PC and select the Reset PC button. A blue window titled Reset this PC opens.
- Choose what to keep. Select Keep my files to reinstall Windows and remove apps and settings while keeping your personal files, or Remove everything to erase files, apps and settings for a true factory reset. Pick Remove everything if you’re selling, giving away or recycling the laptop.
- Choose how to reinstall Windows. Cloud download downloads a fresh copy of Windows 11 from Microsoft, which is useful if Windows files are damaged and needs an internet connection. Local reinstall uses files already on the laptop and doesn’t need a download. If you’re not sure, Local reinstall is fine for most resets; switch to Cloud download if a local reset fails.
- Review the additional settings. The next screen shows your current choices. Select Change settings to adjust them:
- With Remove everything, turn on Clean data if the laptop is leaving your hands. It takes longer but makes your deleted files much harder to recover. Microsoft notes this is a consumer-level wipe that doesn’t meet government or industry data-erasure standards.
- With Keep my files, Restore preinstalled apps controls whether HP’s preinstalled apps and customizations come back.
Select Confirm, then Next.
- Start the reset. Windows lists what will happen. Check it, then select Reset. The laptop restarts and begins reinstalling Windows.
- Leave it alone until setup appears. The laptop restarts several times. Microsoft warns that the screen can stay black for a long time (sometimes more than 15 minutes) and that restarting it yourself can make the reset fail. When it finishes, you’ll see the Windows 11 setup screens, the same ones you saw when the laptop was new.
Method 2: Reset from the recovery screen when Windows won’t start
If the laptop won’t load Windows, or you can’t get past the sign-in screen, use the Windows Recovery Environment (a blue troubleshooting screen built into Windows). HP’s HP PCs – Reset the computer page documents these steps.
- Open the recovery screen. Turn on or restart the laptop and immediately press F11 repeatedly. If you can reach the Start menu, you can instead hold Shift while you select Power > Restart, and keep holding Shift until the blue screen appears.
- Go to Troubleshoot. On the Choose an option screen, select Troubleshoot.
- Select Reset this PC. On the Troubleshoot screen, select Reset this PC.
- Pick your options. Choose Keep my files or Remove everything, then Cloud download or Local reinstall, exactly as in Method 1. If the laptop is encrypted, you’ll be asked for the BitLocker recovery key here.
- Confirm and wait. Select Reset and leave the laptop plugged in until the Windows setup screens appear.
If you’ve forgotten your password, this method is the legitimate way back in: it lets you reset without signing in, and the price is your data. Choose Remove everything so you can set the laptop up again from scratch with an account you can sign in to. If the laptop asks for a BitLocker key you don’t have, Microsoft says the only remaining option is a reset that removes all files.
If F11 doesn’t open the recovery screen
- Tap, don’t hold. Start pressing F11 the moment you press the power button and keep tapping about once a second.
- Use the automatic route. Microsoft documents that Windows opens the recovery screen by itself after it fails to start several times. You can trigger this by holding the power button to turn the laptop off as Windows starts loading, twice in a row. On the third start, choose Advanced options on the Automatic Repair screen.
- Business laptops with HP Sure Recover. Some HP business laptops have HP Sure Recover turned on. HP recommends using Sure Recover on those machines; if you’d rather use Reset this PC, HP says you must first turn Sure Recover off in the BIOS (press F10 at startup, Advanced tab, Sure Recover).
Method 3: Rebuild the laptop with HP Cloud Recovery
When the recovery screen won’t load, the reset keeps failing, or the drive has been replaced, HP’s Cloud Recovery tool creates a USB drive that reinstalls the original HP setup. HP keeps a list of supported models on its Cloud Recovery page, so check that your laptop is on it first. The tool restores HP’s original operating system image and drivers. If your laptop originally shipped with Windows 10, that’s what you’ll get back, and you’ll need to upgrade to Windows 11 again afterward.
What you need, according to HP’s Using the HP Cloud Recovery Tool page:
- A working Windows computer (any brand) with 64-bit Windows, at least 20 GB free and an internet connection. Ethernet is recommended.
- A blank USB flash drive of at least 64 GB. Everything on it is erased. HP says an external hard drive won’t work.
- Your HP laptop’s product ID if you build the drive on a different computer. It’s on a label on the bottom of the laptop.
- One to four hours, depending on your connection and the USB drive.
- Install the tool. On the working computer, install HP Cloud Recovery Tool from the Microsoft Store. Business laptops use a different tool, HP Cloud Recovery Client, which HP documents separately.
- Create the recovery drive. Insert the USB drive, search for Cloud Recovery, right-click HP Cloud Recovery Tool and select Run as administrator. Follow the screens, enter the product ID if asked, choose your USB drive and confirm the warning that it will be erased. Select Finish when it’s done.
- Boot the HP laptop from the USB drive. Plug in the USB drive and the charger, disconnect other accessories, turn the laptop on and immediately press F9 to open the boot menu. Select the USB drive and press Enter.
- Follow the recovery prompts. The recovery wipes the internal drive and reinstalls HP’s factory image. Keep the laptop plugged in until it finishes.
If the tool reports that your product ID doesn’t match or is invalid, HP says Cloud Recovery isn’t available for that model yet; check HP’s software and driver downloads for your model or contact HP support.
Windows reset or HP Cloud Recovery: what’s different
HP’s own comparison explains why the two can leave you with a slightly different laptop:
- Windows reset reinstalls the version of Windows 11 currently on the laptop. It keeps drivers that Windows installed through its standard driver packages and drops device utilities installed outside them. HP’s preinstalled desktop apps return to their factory state.
- HP Cloud Recovery restores the operating system and drivers exactly as HP shipped them, so expect a round of updates afterward if the factory image is older than what you were running.
Either way, apps you installed yourself are removed, so plan to reinstall them. Store apps come back from Library in Microsoft Store, and downloading apps on an HP laptop with Windows 11 covers desktop programs and HP’s own apps as well.
After the reset: check that it worked
- Finish Windows setup. Choose your region and keyboard, connect to Wi-Fi and sign in. If you’re giving the laptop away, turn it off at the first setup screen instead, so the new owner can set it up.
- Confirm the reset. Open File Explorer and check that your old files are gone (or, with Keep my files, still in Documents and Pictures). Windows 11 should reactivate by itself once you’re online; you can check under Settings > System > Activation.
- Install updates. HP recommends running Windows Update after a recovery. Open Settings > Windows Update, select Check for updates, install everything, restart, and repeat until nothing new appears. This also brings back HP drivers.
- Restore your files and apps from your backup, and reinstall the apps you use.
- Test the hardware keys. Check Wi-Fi, sound, the touchpad and the function keys. If the keyboard backlight key stops working, the HP keyboard light steps cover the BIOS settings that control it.
There’s no way to undo a factory reset itself. Your way back is the backup you made beforehand.
When the reset doesn’t work
- The reset stops with an error. Try again with the other reinstall option (Cloud download if Local reinstall failed, and the other way around). If both fail from Settings, try Method 2, then Method 3.
- The reset seems stuck. A black screen or a percentage that doesn’t move for a while is normal. HP says the most common cause of recovery problems is interrupting the process, so give it at least a couple of hours before you consider turning the laptop off.
- Asked for a BitLocker recovery key. Check your Microsoft account at aka.ms/myrecoverykey from another device, a printout, or a USB drive where you saved it. Without the key, the drive’s contents can’t be unlocked, and only a reset that removes everything will get the laptop working again.
- Windows is gone or the drive was replaced. Method 3 (Cloud Recovery) is designed for this.
Common questions about resetting an HP laptop
Does a factory reset remove Windows 11?
Settings and the F11 recovery screen reinstall Windows 11 and remove only your files (with Remove everything), apps and settings. HP Cloud Recovery is different: it restores the operating system the laptop shipped with, so a laptop that came with Windows 10 and was upgraded will be back on Windows 10 and needs upgrading to Windows 11 again.
How long does it take?
It varies with the laptop, the options you pick and your internet speed. A Settings reset often takes under an hour, Clean data adds a lot more time, and HP says Cloud Recovery can take one to four hours. Plan for an evening and keep the charger connected.
Do I need the internet?
Not for Local reinstall. Cloud download and HP Cloud Recovery both need a connection, and you’ll want one afterward for Windows Update.
Will it fix a slow or broken laptop?
It fixes software problems such as stubborn errors or unwanted programs. It won’t fix a failing drive, a worn battery or overheating. HP suggests trying a System Restore first if a recent change caused the problem, since that doesn’t touch your files.
For the general Windows 11 version of these steps on any brand, see how to factory reset a Windows 11 PC, or the shorter walkthrough to reset a laptop running Windows 11.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.