Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

The DiskPart message “There is no volume selected. Please select a volume and try again” means the command you just ran needs a volume in focus, but DiskPart does not have one selected. Check the disk and volume listings, then select the correct volume before running a volume command such as assign. A selected partition is not necessarily a selected volume.

Why DiskPart reports that no volume is selected

DiskPart manages different kinds of storage objects: disks, partitions, and volumes. Commands act on the object that currently has focus, and a command that requires a volume cannot use a disk or partition selection in its place. Microsoft’s DiskPart reference says to list and select an object before using DiskPart commands.

The error identifies a selection or focus problem at the moment the command ran. It does not, by itself, explain why the volume is unavailable or what happened to the disk.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Inspect the disk and select the intended volume

Open Command Prompt or Windows Terminal as an administrator. DiskPart requires membership in the local Administrators group or equivalent. List the disks, select the intended disk, and inspect its partitions and volumes:

#1 Best Overall
diskpart
list disk
select disk <target-disk-number>
list partition
list volume

Replace <target-disk-number> with the number shown for the intended disk. Check its size and other identifying details; do not assume an example number matches your computer. In DiskPart listings, an asterisk marks the object with current focus.

If the intended volume appears in list volume, select it by its listed number and check the current volume focus:

Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.
select volume <target-volume-number>
select volume

Use the actual volume number from your listing. Microsoft’s select volume reference documents selection by volume number, drive letter, or mount path. With no argument, select volume displays the volume currently in focus.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If you were trying to assign a drive letter

assign assigns a drive letter or mount point to the volume in focus. After selecting the intended entry from list volume, run the assignment command appropriate to your goal, for example:

Rank #3
15.6 Inch Laptop Computer, N4020, 4GB DDR4 RAM, 128GB eMMC,with Windows 11
  • EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
  • 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
  • RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
  • ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
  • LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.
assign letter=E

Choose an unused letter and verify that the selected volume is the one you intend to expose. If a partition appears in list partition but no corresponding volume appears in list volume, do not try to assign a letter as though that partition were a volume. Check Disk Management and establish the partition’s type and purpose before changing it. Some Microsoft Q&A reports describe special or hidden partitions in this situation, but those individual cases do not establish a universal cause.

If you were trying to format a volume

First confirm the target and whether it contains data you need. Formatting creates a file system and can delete data; Microsoft’s Format reference warns that formatting may cause data loss. Do not copy a sample DiskPart workflow that creates or formats a partition onto a disk containing data.

Rank #4
15.6 Inch Win 11 Laptop Computer, N4020, 4GB DDR4 RAM, 128GB Storage
  • WINDOWS 11 | STABLE PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 system, this laptop delivers stable performance for everyday computing tasks. It supports web browsing, online learning, document editing, email communication, and basic office work with optimized power efficiency, providing a practical and reliable experience for essential daily use for daily use.
  • 15.6” FHD IPS DISPLAY: Features a 15.6-inch Full HD IPS display with narrow bezels, offering wider viewing angles and clearer image details compared to standard panels. The improved screen-to-body ratio enhances visual experience for study, reading, document work, and video playback, making it suitable for both productivity and entertainment use.
  • 4GB DDR4 + 128GB eMMC STORAGE: Equipped with 4GB DDR4 memory and 128GB eMMC storage for everyday basics such as browsing, documents, email, and online learning platforms. The built-in TF card slot supports storage expansion up to 1TB, giving you more flexibility for files, photos, videos, and daily documents. TF card not included.
  • CONNECTIVITY & PORTS: Includes 1× TF card slot, 2× USB 3.2 Gen1 ports, and 2× full-featured Type-C ports (USB 3.2 Gen1). The Type-C ports support data transfer, charging, and video output, enabling flexible connection with external devices such as monitors, storage, and peripherals for daily work and study use.
  • LIGHTWEIGHT DESIGN | ONLINE COMMUNICATION: Designed with a slim, portable profile, this laptop is easy to carry for school, commuting, and travel. A built-in 1MP front camera supports online classes, video meetings, remote communication, and everyday conferencing. The 3300mAh battery works with the low-power system design to support practical daily use, while thermal optimization helps maintain quieter operation during extended tasks.

clean is a different, destructive operation: Microsoft describes it as removing partition or volume formatting from the disk with focus. It is not a substitute for selecting a volume or formatting one. Do not run clean, delete, format, or partition ID or attribute changes as trial-and-error fixes when data matters.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If the target partition is missing from the volume list

A partition listed by list partition is not automatically a usable volume for a volume command. Inspect the disk in Disk Management and determine the partition’s purpose before making changes. The message alone cannot establish whether the partition is special, hidden, or affected by a previous command.

If the disk shows “No Media,” is offline, is absent from list volume, or contains important data and its state is unclear, stop before making changes. Save the output of list disk, list partition, and list volume, and note what Disk Management shows. Those details are needed to choose a safe next step; the error itself is not enough to prescribe a recovery action.

Quick Recap

Bestseller No. 1
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$245.99
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$285.00

What to check before running the command again

  • Does the command require a volume, and is a volume—not just a disk or partition—in focus?
  • Does the intended target appear in list volume, and have you confirmed it by its displayed details?
  • If it does not appear, have you checked Disk Management and established the partition’s purpose?
  • Could the next command erase data or alter partition information? If so, stop unless you have confirmed the target and accept the consequences.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.