How to clean and format storage drive using Diskpart

 

1. Use the Windows key + X
2. Select Command Prompt (Admin).
3. Connect the drive you want clean and format to your computer.
4. Type the following commands:

diskpart

list disk

select disk 3

clean

list disk

create partition primary

select partition 1

active

format FS=NTFS label=RasPi quick

assign letter=R

 

Use the exit command to close DiskPart to complete the task.

Scroll to top
Skip to content