The message “There is no volume selected. Please select a volume and try again” means DiskPart did not have a volume in focus when you ran a command that needs one. Check the disks and volumes, then select the correct volume before using commands such as assign. Selecting a partition or disk is not the same as selecting a volume.
Why DiskPart says no volume is selected
DiskPart works with different storage objects: disks, partitions, and volumes. A command operates on the object that currently has focus, so a volume command cannot act on a selected disk or partition in place of a selected volume. Microsoft explains this focus requirement in its DiskPart command reference.
As an Amazon Associate I earn from qualifying purchases.
The error identifies a selection problem at the time the command ran. By itself, it does not establish whether a volume is missing, the partition is a special type, a prior command changed the disk, or the command sequence was wrong.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →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. Do not guess the disk number from an example: check the size and contents before selecting anything.
#1 Best Overall
- 1.1 GHz (boost up to 2.4GHz) Intel Celeron N5030 Quad-Core
-
Start DiskPart and inspect the disks:
diskpart list disk -
Select the disk you have positively identified, then inspect its partitions and all listed volumes:
select disk <target-disk-number> list partition list volume -
If the intended volume appears in
list volume, select its number and check the current 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
Replace the angle-bracketed examples with the numbers shown on your computer; do not type the brackets. In DiskPart’s list output, an asterisk marks the object with focus. Microsoft documents that select volume shifts focus to the specified volume and can also select by drive letter or mount path; see the select volume reference.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallIf you were trying to assign a drive letter
assign assigns a drive letter or mount point to the volume in focus. Use list volume to find the target, select it with select volume, and then run the assignment. A partition number is not a substitute for a volume selection.
Rank #3
- 14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
If a partition appears under list partition but no corresponding target appears under list volume, stop rather than trying to assign a letter to the partition. Inspect the disk in Disk Management and establish what the partition is for. Some Microsoft Q&A reports describe special or hidden partitions in this situation, but individual community reports do not prove that this is the cause on every PC.
If you were trying to format or change the disk
First identify the exact target and confirm that you intend to erase or change it. Formatting can delete data. Microsoft’s Format documentation describes the command and warns about data loss; do not copy a sample workflow that creates and formats a partition onto a disk that contains files you need.
Rank #4
- 【Efficient Performance】 Powered by Intel Core i3 processor (2 cores, 4 threads, up to 3.4GHz) with 12GB RAM and 256GB SSD. Handles multitasking, office software, online classes, and HD video streaming smoothly. Integrated Intel UHD Graphics 620
- Backlit Keyboard & Complete Package】Comes with a cool backlit keyboard. Comes with awebcam, dual stereo speakers (8Ω/1.0W each), DC charger, and user manual – ready for late-night studying, online classes, video conferencing, and daily productivity
- 【Vibrant Display】 15.6-inch Full HD (1920x1080) anti-glare screen with 16:9 aspect ratio delivers crisp images and vivid colors – perfect for studying, watching lectures, or entertainment. Thin-bezel design maximizes viewing area
- 【Fast Connectivity & Expansion】 Equipped with WiFi 6 (802.11ax) and Bluetooth 5.2 for stable, high-speed wireless. Features 3 x USB 3.0, HDMI 2.1, Type-C (supports PD3.0 fast charging), and a TF card slot expandable up to 2TB – easily connect external monitors, mice, drives, or expand storage for all your files
- 【Long Battery Life & Portable】 Built-in 11.55V 5000mAh/57.75Wh high-capacity battery delivers approximately 7 hours of mixed-use battery life – enough for a full day of classes and assignments. Lightweight at just 1.63kg (3.6 lbs) and 19.5mm thin, plus a compact packing size – easily slips into a backpack for campus, library, or coffee shop
Do not treat clean as another way to format a volume. Microsoft describes clean as removing partition or volume formatting from the disk with focus. If the disk holds important data, do not use clean, delete, format, or partition-ID and attribute changes as trial-and-error fixes.
Free tools Windows power users keep installed
One-click scans. No signup required.
When the target volume is missing or the disk state is unclear
If the device is shown as “No Media,” is offline, or is absent from list volume, the error alone is not enough to choose a safe repair. Do not run destructive commands to see whether they help. Record the DiskPart disk, partition, and volume listings and inspect the device in Disk Management before deciding what to do. A missing volume can have different causes, and the available Microsoft Q&A examples are reports of individual cases rather than a universal diagnosis.
Quick Recap
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.




