-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Operating System and Recovery
- Reset laptop from command prompt

Create an account on the HP Community to personalize your profile and ask a question
07-06-2021 05:04 AM
Click below link if you want to reset you windows operating system.
However if you want to format the system entirely and run a new operating system click the link below;
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
I am a volunteer and I do not work for, nor represent, HP
07-07-2021 12:14 AM
To format a hard drive using DiskPart, you need to follow the commands below:
Step 1: Open Command Prompt by right-clicking on Windows icon, select "Search" and type: command prompt.
Right-click on Command Prompt and select "Run as administrator".
Step 2: Type diskpart in Command Prompt and hit Enter.
Step 3: Type DiskPart format command lines in DiskPart and hit Enter each time so as to quick format hard drive
- list disk
- select disk 2 (Replace 2 with your disk number)
- list volume
- select volume 10 (Replace 10 with the volume number of the partition that you want to format)
- format fs = ntfs quick (If you need to format a hard drive partition to FAT32 or other file systems, replace NTFS with FAT32, exFAT, etc.)
Step 4: Type exit and hit Enter to close the program when DiskPart reports it has successfully formatted the volume.