How to remove virtual drives in Windows 10

by Matthew Adams
Matthew Adams
Matthew Adams
Windows & Software Expert
Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things... read more
Affiliate Disclosure

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Virtual drives are virtualized hard drives that operate much the same as additional external hard disk drives with their own partitions. Although they can come in handy for virtual machines, some users might prefer to remove virtual drives when they’re no longer needed. This is how users can remove virtual drives in Windows 10.

Two Ways to Remove Virtual Drives

1. Delete Virtual Drives With Disk Management Console

  1. To delete virtual drives with the Disk Management Console, press the Windows key + R keyboard shortcut for Run.
  2. Input ‘diskmgmt.msc’ in Run and click OK to open Disk Management.The Disk Management utility windows 10 how to remove virtual drive
  3. Right-click the virtual disk listed in the Volume column and select Delete Volume.
  4. A dialog box will open suggesting that users back up data before deleting the volume. If you’re sure you don’t need anything on the virtual drive, click the Yes option.
  5. That will leave users with unallocated virtual drive space. To delete the virtual hard disk file, right-click the disk number with the unallocated space and select the Detach VHD option.
  6. Select the Delete the virtual hard disk file after removing disk option on the window that opens.
  7. Click the OK button.
  8. Some users might still see their virtual drives in File Explorer. Right-click the virtual drive in File Explorer and click Delete to erase it.

2. Delete Virtual Drives With Diskpart

  1. To delete virtual drives with Diskpart command-line utility, open the Win + X menu with its Windows key + X hotkey.
  2. Click Command Prompt (Admin) to open an elevated CP window.
  3. Enter ‘diskpart’ in the Command Prompt, and press the Return key.Diskpart windows 10 how to remove virtual drive
  4. Then select the virtual drive with this command: select vdisk file=<VHD file>. Users need to replace <VHD file> with the actual VHD file title and the drive it’s stored on as in the snapshot directly vdisk command windows 10 how to remove virtual drive
  5. Input ‘detach vdisk’ in the Command Prompt and press Enter, which will detach the virtual drive.
  6. Then close the Command Prompt.

So, users can delete their virtual drives with the Disk Management Console or Diskpart utilities. With virtual drives deleted, users will have regained some hard drive space for more essential things.


idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

This article covers:Topics: