To factory reset an HP laptop running Windows 7, back up your files, plug in the power adapter, and restart the laptop. As soon as it turns on, press F11 repeatedly to open HP Recovery Manager (or, from Windows, click Start > All Programs > Recovery Manager > Recovery Manager). Choose System Recovery, select the option to recover without backing up (if you’ve already saved your files) or to back up first, and click Next. The laptop erases the drive and reinstalls Windows 7 with its original drivers and software, which can take one to several hours.
This guide covers the full process, what to do if F11 doesn’t work or the recovery partition is gone, and important notes about using Windows 7 today.
Before you start
- Windows 7 is no longer supported. Microsoft ended support in January 2020, so a freshly reset Windows 7 laptop won’t get security updates, and many current browsers and apps no longer support it. Avoid using it for banking or email online; consider it for offline use, or install a supported operating system if the hardware allows.
- Back up everything you want to keep to an external drive or cloud storage. A factory reset erases all personal files and programs.
- Plug in the AC adapter and keep it connected for the whole process.
- Disconnect printers, USB drives, and other accessories except the mouse and keyboard.
Method 1: Reset from startup with F11
- Shut down the laptop completely.
- Turn it on and immediately press F11 about once per second until Recovery Manager opens. On some models, press Esc first to open the startup menu, then press F11.
- Under I need help immediately, click System Recovery.
- Choose Recover without backing up your files if your files are already backed up, or Back up your files first (recommended) to save them before the reset.
- Click Next and follow the prompts. The laptop restarts several times.
- When it finishes, complete the Windows 7 setup screens (language, username, time zone).

Method 2: Reset from within Windows 7
- Click Start > All Programs > Recovery Manager > Recovery Manager.
- Click Yes if User Account Control asks.
- Click Advanced Options (or look under I need help immediately) and choose System Recovery.
- Click Next. The laptop restarts into Recovery Manager and continues as in Method 1.
If F11 doesn’t work
- Try the startup menu – press Esc at power-on and look for a System Recovery option (usually F11).
- The recovery partition may be deleted – if Recovery Manager doesn’t open, the hidden recovery partition (often drive D:, labeled RECOVERY) may have been removed or damaged.
- Use recovery discs or USB – if you created recovery media when the laptop was new, boot from it (press Esc, then F9 for boot options) and follow the prompts.
- Order recovery media from HP – HP has sold recovery kits for some models, but availability for Windows 7 laptops is now very limited. Check HP’s support site with your serial number.
- Install from a Windows 7 disc – if you have a Windows 7 installation disc and your product key (on a sticker under the laptop), you can do a clean install, then download drivers from HP’s support site if they’re still available.
Other options
- Microsoft System Restore – if you only need to undo recent problems, System Restore returns Windows to an earlier point without erasing your files.
- Install a newer operating system – many Windows 7-era HP laptops can run Windows 10, and some lightweight Linux distributions run well on older hardware. Check that your laptop meets the requirements first; Windows 10 support has also ended, so compare options carefully.
Selling or giving away the laptop
A standard factory reset may leave recoverable data on the drive. Before selling, use a drive-wiping tool or your laptop’s secure erase option, or remove the hard drive and keep it.
Frequently asked questions
How long does an HP factory reset take on Windows 7?
Usually one to three hours, depending on the drive speed and model. Don’t turn off the laptop during the process.
Will a factory reset remove viruses?
It erases the drive and reinstalls Windows, which removes most malware. It won’t fix hardware problems.
Do I need a product key after resetting?
Usually not. HP’s recovery reinstalls the preactivated Windows 7 that came with the laptop.

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.