How to Format a Drive in Windows 10 Using Disk Management & DiskPart

beginnerHardware Setup5 min
Independently tested and verified on Dec 13, 2025. Commands reproduced exactly as run.

Prerequisites

  • Windows 10 operating system
  • Backup of all important data on the target drive
  • Connected USB flash drive or external SSD (if applicable)

This tutorial takes about 5 minutes to complete.

Step 1: Backup and Connect Drive

Backup all important data from the target drive before making any changes. Connect any USB flash drives or external SSDs to your computer if you plan to format removable storage.

Step 2: Open Disk Management

Type Disk Management into the Windows search box and select Create and Format Hard Disk Partitions. Locate the specific disk you intend to modify within the main window.

Disk Management window with Disk 4 highlighted in green, showing the target drive selected for formatting.

Step 3: Initiate Standard Format

Right-click the target drive entry and choose the format option from the context menu. This opens the formatting dialog where you can configure the drive settings.

Step 4: Configure Formatting Options

Enter your desired volume label and leave the file system set to NTFS with the default allocation unit size. Ensure the Quick Format box is checked before clicking OK to proceed.

Format dialog box in Windows 10 with NTFS file system selected and Quick Format checkbox enabled.

Step 5: Confirm and Resolve Prompts

Acknowledge the warning that all data will be erased and verify you selected the correct drive before confirming. If a message states the volume is in use, click Yes to allow the operation to continue.

Step 6: Launch Elevated Command Prompt

If the format option is grayed out for your target partition, type CMD into the Windows search box and click Run as Administrator. Accept the User Account Control prompt to open the required elevated command window.

Step 7: Identify Disk and Start DiskPart

Return to Disk Management to confirm the exact disk number you need to format. In the command prompt, type diskpart and press Enter to launch the utility and list all connected drives.

Elevated Command Prompt window showing DISKPART launched next to Disk Management for confirming the disk number.

Step 8: Wipe and Create Partition

Type select disk X replacing X with your confirmed disk number and press Enter to verify selection. Follow this by typing clean to remove all partitions, then enter create partition primary to establish a fresh partition.

Step 9: Format and Assign Letter

Type format fs=NTFS quick and press Enter to complete the file system formatting process. Finally, enter assign to allocate a new drive letter, then verify the healthy partition status in Disk Management.

Command Prompt showing DiskPart successfully formatted and assigned the drive letter, with the new USB Drive visible in File Explorer.

FAQ

Leave the file system set to NTFS with the default allocation unit size unless a specific requirement is met.
Certain system partitions like EFI are protected from standard graphical formatting and require the command-line DiskPart utility instead.
Click Yes to continue when prompted, which allows Windows to proceed with formatting despite the active volume status.
Type assign in the DiskPart command prompt to automatically allocate a new drive letter to the newly created partition.

Never miss an issue

One email a week on local LLMs, DIY AI hardware, and the tools that power them. No spam — unsubscribe anytime.

Subscribe free

Products used in this tutorial

ORICO M.2 NVMe SSD Enclosure (10Gbps)
storage

ORICO M.2 NVMe SSD Enclosure (10Gbps)

ORICO USB 3.1 Gen 2 (10Gbps) M.2 NVMe SSD enclosure supporting 2230/2242/2260/2280 form factors up to 8TB, with UASP support for fast external drive performance.

3 retailers
HGST HTS721010A9E620 1TB SATA HDD
storage

HGST HTS721010A9E620 1TB SATA HDD

HGST Travelstar Z5K1000 1TB 2.5" laptop hard drive - reliable energy-efficient storage for desktops and workstations with SATA III interface

2 retailers
WDC WD10EZEX-08WN4A0 1TB SATA HDD
storage

WDC WD10EZEX-08WN4A0 1TB SATA HDD

Western Digital Blue WD10EZEX 1TB 3.5" desktop hard drive with SATA III interface - reliable high-capacity storage for everyday computing needs.

2 retailers
fanxiang S880R 1TB PCIe 4.0 NVMe SSD
storage

fanxiang S880R 1TB PCIe 4.0 NVMe SSD

fanxiang S880R 1TB PCIe 4.0 NVMe M.2 SSD with built-in heatsink — up to 7300MB/s reads and 3D TLC NAND for high-performance desktop and console storage.

2 retailers
Kingston A2000 1TB NVMe SSD
storage

Kingston A2000 1TB NVMe SSD

Kingston A2000 1TB PCIe 3.0 x4 NVMe M.2 SSD - reliable budget-friendly storage for everyday computing on desktops and laptops with fast sequential performance

2 retailers