Software⏱️ 3 min read📅 2026-06-11

How to Fix: Format USB Disk Using DiskPart Yields "No volume selected" Error

Error when formatting USB disk using DiskPart on Windows 10, no volume selected.

Quick Answer: Use the 'select' command before 'format' to specify the correct disk and partition.

The error 'No volume selected' when using DiskPart to format a USB disk in Windows 10 can be frustrating, especially for users who have successfully formatted their disks in earlier versions of Windows. This issue occurs because the DiskPart command sequence requires that a primary partition is created before formatting can proceed.

This problem affects users who are trying to use DiskPart to format their USB disks, and it may be more common than expected due to the increasing popularity of portable storage devices.

💡 Why You Are Getting This Error

  • The primary reason for this error is that the DiskPart command sequence requires a primary partition to be created before formatting can proceed. If no primary partition exists, DiskPart will not allow you to format the disk.
  • Another possible cause of this error is that the disk is already in use by another process or program, which prevents DiskPart from recognizing it as a valid disk to format.

✅ Best Solutions to Fix It

Manually Creating a Primary Partition Using DiskPart

  1. Step 1: Open DiskPart and select the disk you want to format (in this case, Disk 2).
  2. Step 2: Type 'select disk 2' and press Enter to confirm that Disk 2 is now selected.
  3. Step 3: Next, type 'create partition primary' and press Enter to create a new primary partition on the selected disk.
  4. Step 4: Once the primary partition has been created, you can proceed with formatting the disk by typing 'format fs=ntfs label=

Alternative Advanced Fix

    ✨ Wrapping Up

    Did this fix your problem?

    If not, try searching for specific error codes.

    🔍 Search Error Database

    ❓ Frequently Asked Questions