0% found this document useful (0 votes)
126 views2 pages

CLEAN Format Disk

To fix a hard drive with DiskPart commands on Windows 10: 1. Open the Command Prompt as Administrator and use "diskpart" to launch DiskPart. 2. Use "list disk" and "select disk 0" to select the problematic drive, then "clean" to wipe it. 3. Create a new primary partition with "create partition primary", format it using NTFS with "format FS=NTFS", and assign a drive letter with "assign letter=g" to make the drive available in File Explorer.

Uploaded by

Anthony Manalo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
126 views2 pages

CLEAN Format Disk

To fix a hard drive with DiskPart commands on Windows 10: 1. Open the Command Prompt as Administrator and use "diskpart" to launch DiskPart. 2. Use "list disk" and "select disk 0" to select the problematic drive, then "clean" to wipe it. 3. Create a new primary partition with "create partition primary", format it using NTFS with "format FS=NTFS", and assign a drive letter with "assign letter=g" to make the drive available in File Explorer.

Uploaded by

Anthony Manalo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

To fix a hard drive with problems with DiskPart commands on Windows 10, use these

steps:

Important: These instructions will erase everything on the drive that you'll select
changes can't be undone. If the drive is still accessible, it's recommended to
backup its data before proceeding. If you have multiple drives connected to your
device, it's recommended to disconnect them to avoid selecting the wrong one.

Open Start.
Search for Command Prompt, right-click the top result, and select the Run as
administrator option.
Type the following command to launch DiskPart and press Enter:

diskpart

Type the following command to list all the active drives and press Enter:

list disk

Type the following command to select the drive that you want to clean and press
Enter:

select disk 0

Diskpart clean drive command

In the command, make sure to replace 0 for the drive number that you want to
repair. If you don't perform this step correctly, you could end up wiping out the
wrong drive. Proceed with caution.

Type the following command to wipe out the drive and press Enter:

clean

Type the following command to confirm the drive still selected and press Enter:

list disk

Quick note: The output should include an asterisk (*) next to the selected drive.

Type the following command to create a new partition and press Enter:

create partition primary

Diskpart create primary partition


Source: Windows Central

Type the following command to select the new primary partition and press Enter:

select partition 1

Type the following command to make the partition active and press Enter:

active

Type the following command to format the partition using the NTFS file system, set
a drive label, and press Enter:

format FS=NTFS label=Data quick


In the command, remember to replace Data for the name of the drive as you want to
appear in File Explorer. Also, the quick flag is optional for a faster format, and
you should not use it if you're not sure the drive good to perform a bad sectors.
The only downside about omitting the "quick" option is that formatting will take a
very long time.

Type the following command to assign a letter and make the drive available in File
Explorer and press Enter:

assign letter=g

Diskpart format partition on Windows 10

In the command, replace g with the drive letter that you want to use, which isn't
currently assigned by another drive.

Type the following command to terminate DiskPart and press Enter:

exit

Type the following command to close Command Prompt and press Enter:

exit

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy