Diskpart List Volume No Volumes: Fix & Causes
In this article
- What Diskpart Actually Shows
- Common Causes of "There are no volumes"
- Step-by-Step Fix: Bring the Disk Online and Create a Volume
- When the Disk Is Not Visible at All
- Recovering Data from a Disk with No Volumes
- Diskpart vs. Disk Management vs. PowerShell
- Preventing This Issue in the Future
- Frequently Asked Questions
The "Diskpart list volume" command returning "There are no volumes" means Diskpart cannot see any volume with a drive letter or mount point on the system. This usually happens when the disk is offline, uninitialized, has no partitions, or the volume is hidden from the Windows volume manager. The fix typically involves bringing the disk online, creating a partition, or assigning a drive letter.
What Diskpart Actually Shows
Diskpart's list volume command displays volumes that Windows has recognized and mounted. A volume is a logical storage unit—usually a partition that has been formatted with a file system (NTFS, FAT32, exFAT) and assigned a drive letter or mount point. If Diskpart reports no volumes, it is not saying the disk is empty; it is saying that no logical volume is currently visible to the operating system.
This is different from list disk, which shows physical drives. You can have a disk present in list disk but no volumes in list volume if the disk is offline, has no partitions, or the partition is not recognized as a volume.
Common Causes of "There are no volumes"
- Disk is offline: On dynamic disks or disks that were previously connected to another system, Windows may mark them as offline to prevent accidental writes.
- Uninitialized disk: A brand-new disk or a disk with a corrupted partition table shows up in
list diskbut has no volumes because no partition exists. - No partition created: Even if the disk is online and initialized, if no partition has been created, there is no volume.
- Drive letter missing: A partition exists but has no drive letter or mount point, so Windows does not treat it as a volume.
- File system corruption: If the partition's file system is damaged, Windows may fail to mount it, and Diskpart may not list it.
- Hidden volumes: Some utility or system policy can hide volumes from the volume manager.
Step-by-Step Fix: Bring the Disk Online and Create a Volume
Before running any commands, back up any important data if the disk is not brand new. The following steps assume you are using an administrative Command Prompt.
- Open Command Prompt as Administrator (right-click → Run as administrator).
- Type
diskpartand press Enter. - Type
list diskto see all physical disks. Note the disk number that corresponds to your missing volume (e.g., Disk 1). - Type
select disk X(replace X with the actual disk number). - Type
online diskto bring the disk online if it was offline. - Type
attributes disk clear readonlyto remove any read-only attribute (if present). - Type
list partitionto see if any partitions exist. If you see a partition, skip to step 10. - If no partition exists, type
cleanto wipe the disk (this erases all data—use only if you are sure). - Type
create partition primaryto create a new partition. - Type
select partition 1. - Type
format fs=ntfs quickto format the partition quickly (usefs=exfatif you need compatibility with other OSes). - Type
assignto give the volume a drive letter. - Type
list volumeagain. You should now see your new volume.
When the Disk Is Not Visible at All
If list disk does not show the disk either, the problem is at a lower level. Check the following:
- Physical connections: For external drives, try a different USB port or cable. For internal SATA drives, reseat the data and power cables.
- BIOS/UEFI detection: Restart the computer and enter the BIOS/UEFI setup (usually by pressing Del, F2, or F12 during boot). See if the drive appears in the storage information.
- Device Manager: In Windows, open Device Manager and look under "Disk drives" for any device with a yellow warning icon. If present, try updating the driver or uninstalling and rescanning.
- Disk Management: Open Disk Management (right-click Start → Disk Management). If the disk shows as "Unknown" or "Not Initialized," right-click it and choose "Initialize Disk" (choose GPT for modern systems).
Recovering Data from a Disk with No Volumes
If the disk contains important data and you see no volumes, do not run clean or create a new partition immediately. The data may still be recoverable if the partition table is corrupted but the data itself is intact.
Use a data recovery tool that can scan the raw disk for lost partitions. Many free and commercial tools exist, but they should be run from a different disk to avoid overwriting the data you want to recover. If the disk is recognized in list disk but has no volumes, a partition recovery scan may find the old partition and allow you to restore it without formatting.
Diskpart vs. Disk Management vs. PowerShell
Diskpart is a command-line tool that has been in Windows for decades. It is powerful but unforgiving—there is no undo. Disk Management (diskmgmt.msc) is the graphical equivalent and is often easier for beginners. PowerShell's Get-Volume and Get-Partition cmdlets provide similar information and are more scriptable.
For the specific problem of "no volumes," Disk Management may show the disk as "Offline" with a clear button to bring it online. It also shows unallocated space, making it obvious if a partition needs to be created. PowerShell commands like Get-Disk and Set-Disk -IsOffline $false can do the same as Diskpart but with more readable output.
Preventing This Issue in the Future
- Always safely eject external drives before unplugging them.
- When moving a disk to a new computer, use Disk Management to bring it online before relying on it.
- Keep a backup of important data—drive failures and partition corruption are common.
- If you use dynamic disks, be aware that they are more fragile than basic disks and not supported on all Windows editions.
Frequently Asked Questions
Why does Diskpart show no volumes but the disk has files?
This usually means the partition table is corrupted or the disk is offline. The files are still on the disk, but Windows cannot mount the volume. Use a data recovery tool to scan the raw disk before attempting repairs.
Can I fix "no volumes" without losing data?
Yes, if the problem is an offline disk or a missing drive letter. Bring the disk online and assign a letter—no data loss. If the partition table is corrupted, you need a recovery tool to restore the partition, which usually preserves data.
What is the difference between a disk and a volume in Diskpart?
A disk is a physical storage device (HDD, SSD, USB). A volume is a logical partition on that disk that has been formatted and assigned a letter. A disk can have multiple volumes, or none.
Does clean erase all data?
Yes, clean removes all partitions and volume information from the selected disk, making the disk appear empty. It does not securely wipe data, but the data becomes inaccessible and overwriting it will destroy it permanently.
Why does my new SSD show no volumes?
New SSDs come uninitialized and unpartitioned. You must initialize the disk (GPT or MBR), create a partition, format it, and assign a drive letter before Windows will show it as a volume.
Can I use Diskpart on a system drive that shows no volumes?
If your system drive (C:) is missing, the computer likely will not boot. You would need to boot from Windows installation media, open Command Prompt (Shift+F10), and run Diskpart from there. Be extremely careful—cleaning the wrong disk can destroy the operating system.