By Lucas / Last Updated May 20, 2022

In need of formatting hard drive in HP laptop

HP laptop earns a good reputation among its users all over the world, in which laptops like Pavilion G6, G4, and DV6 series are more popular. Why would some users still ask how to format HP laptop in Windows 10? In general, one of the following causes is the main factor that leading to the demand.

✐ HP laptop won’t reset to factory settings
After using HP laptop for a long period of time, some users want to restore their laptop to factory setup to gain peak performance. The Recovery disc that received from HP support can help perform Factory Reset. However, the factory reset not working as it does not clean up everything, let alone reinstalls the original operating system.
✐ HP laptop won’t do system restore
Some users try to reset computer to gain more storage on HP laptop or ensure smooth running. It can be achieved by repeatedly pressing the F11 key after powering on the computer until Recovery Manager opens. Choose System Restore and follow the wizard to complete. Nevertheless, HP laptop fails to restore or even fails to restart in a few cases.

It is suggested to turn to professional assist of HP Support in those cases. However, to format hard drive in HP Pavilion is a possible solution as well. One can perform a system reinstallation after system drive totally erased.

How to format HP laptop in Windows 10/8/7 securely?

Two ways are available below in reformatting hard drive of HP laptop. Turn to the first solution if you have a Windows installation disc in hand. Also, you can refer to the second one to learn how to format HP laptop in Windows 7 without CD, for instance. Let’s get to know them one by one.

Note: these two operations will cause data loss and system unbootable on HP laptop hard drive. Please backup important files to cloud storage or external drive in advance if necessary.

How to format HP laptop with installation disc?

In the first place, shut down your HP laptop and insert the installation disc.

1. Boot up your HP laptop from the installation disc. To do that, you may need to change boot order in BIOS.

2. Click Repair your computer in the screen of Install now after two “Next” clicks.

3. Press Shift + F10 to start command prompt.

4. Type diskpart and press Enter at the prompt, and then type following commands successively and press Enter after each input.

◆ list disk
◆ select disk n (where n is the disk number of the hard drive you want to format)
◆ clean
◆ exit

To format system drive only, input these commands instead:

◆ list disk
◆ select disk n (where n is the disk number of the hard drive you want to format)
◆ list partition
◆ select partition m (where m is the volume number of the system drive)
◆ format fs=ntfs quick
◆ exit

5. Wait for the process completes and shut down your computer.

Tips: you can install Windows operating system with the help of Windows installation disc immediately after formatting the drive, or overwrite the current operating system by installing new Windows OS directly.

It is quite helpful to format hard drive on HP laptop by using the installation disc. However, not all users have installation disc around. Also, some users may not familiar with command-line operations, which becomes a potential cause for unnecessary data loss. Fortunately, there is another easier way to secure erase HP laptop hard drive. Let’s take a closer look.

How to format HP laptop with USB drive?

AOMEI Partition Assistant Standard is free partition manager that helps you erase or format HP laptop thoroughly. It allows you to format partition or wipe hard drive in graphical user interface. It also embeds the technology to secure erase SSD without hurting its lifespan. In addition, if you cannot boot up laptop successfully, you can use the feature Make Bootable Media on a good condition PC and then do the formatting in WinPE mode. Take formatting HP laptop hard drive with a bootable USB drive for example.

1. Prepare a USB drive and plug it into your HP laptop. Insert it to a Windows-based good condition computer if your HP laptop cannot boot.

2. Free download, install and run AOMEI Partition Assistant Standard on that computer.

Download Freeware Win 10/8.1/8/7/XP
Secure Download

3. Click on Make Bootable Media in the left pane. Choose USB drive option in the next page and then click Proceed to start.

Make Bootable Media

Notice: AOMEI Partition Assistant Standard will be pre-installed on the USB drive.

4. Shut down your HP laptop (or remove the USB drive from the computer) and then boot HP laptop from the USB drive. You may need to change boot order as covered before.

5. Once log in, you’ll see loaded AOMEI Partition Assistant Standard. Right-click the hard drive you want to format and select from the menu to execute.

  • Wipe Hard Drive: It will delete all partitions and erase all data on the selected hard drive.

Fill Sectors With Zero System

✍ Choose the first option to fill hard drive with zero, if you want to other three wiping methods, upgrade to Professional version.

✔ Fill sectors with random data: This method will write random data to all sectors on hard drive, making it harder for recovery software to find any meaningful data.
✔ DoD 5220,22-M: A software-based data sanitization method, can prevent all software based file recovery methods from recovering data from the hard drive. It is safer but takes a longer time.
✔ Gutmann: A software-based data sanitization method, can prevent all software based file recovery methods, and most hardware-based recovery method from retrieving information on the wiped hard drive. It is much more secure, but it takes a rather long time.

  • Delete All Partitions: You have two choices, delete all partitions only, or delete all partitions and wipe all data on the hard drive.

Choose First Option

6. Click Apply on the toolbar and then Proceed in the pop-up window to execute the changes. Then, shut down your laptop.

Tips: To format a certain partition like system drive only, please right-click the partition and select Format Partition from the menu. And then, specify partition label, file system and cluster size for that partition. Finally, click Apply and then Proceed to take effect.

After formatting hard drive on HP laptop, you may want to know how to clean install Windows 10 to hard drive. Above steps also apply to how to format HP laptop in Windows 7, Windows 8/8.1, Windows XP/Vista.


Two ways are discussed on how to format HP laptop in Windows 10 when your HP laptop fails to reset to factory settings or won’t do system restore. No matter which method you choose, the final purpose is to build a fast and secure Windows environment on HP laptop.