Remove Virtual Drive on Windows 10: 2 Simple Ways to Do It

Don't need one? You can easily delete Virtual Drives

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
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • Virtual Drives function as regular drives except for the computing power and the slower performance, and you may often need to remove them in Windows 10.
  • There are two ways to remove virtual drives, Disk Management and the Diskpart command.
  • Uninstalling the driver for the virtual drive won't remove it, and it will reappear as soon as you restart the PC. 
learn how to remove virtual drive in windows 10

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro 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 partitions. Although they can be useful for virtual machines, some users remove virtual drives in Windows 10 when no longer needed.

The process of deleting a virtual drive is different from creating it. And to free up storage space if the virtual drive is not required, deleting it is the best way to proceed. So, let’s find out all about it.

What is a virtual drive?

A Virtual Drive is similar to a regular one and can be created on a connected storage drive. It usually has two extensions, .vhdx and .vhd, with distinct features and individual sets of pros and cons.

To any program or application on the PC, the virtual drive appears as a real/physical device and is used as such. Here are some of the key features of a virtual drive:

  • Easy to create: Virtual drives are easy to create and can be built on an existing storage drive, all in a matter of minutes.
  • Can be quickly moved: A major benefit of virtual drives is the enhanced portability, meaning they can be moved quickly and easily from one system to another.
  • Used by Virtual Machines: Virtual Drives are mostly employed by Virtual Machines to store the OS, programs, and data. So, once done with the latter, you can remove the virtual drive in Windows 10.
  • Slower than regular drives: One of the aspects users often complain about is the slow speed of drives that were created virtually. And there’s ain’t much you can do because that’s how the way it works.

How can I remove the virtual drive on Windows 10?

Tip icon
Many recommend removing the Virtual Drive via the Uninstall Device option in the Drivers tab in its Properties. But, the method wouldn’t work. As soon you restart the computer, the virtual drive will reappear, given that Windows automatically installs the missing driver.

1. Using Disk Management

  1. Press Windows + X to open the Power User menu, and select Disk Management from the list.disk management
  2. In Disk Management, locate the Virtual Drive, right-click on it, and choose Detach VHD.detach VHD to remove Virtual Drive in Windows 10
  3. Click OK in the confirmation prompt to remove the Virtual Disk in Windows 10.ok

This is the simplest method to remove the virtual drive in Windows 10, and it shouldn’t take more than a few seconds. But, if you prefer the command line over GUI, we have a solution for that as well.

2. With Diskpart

  1. Press Windows + R to open Run, type cmd, and hit Ctrl + Shift + Enter.command prompt
  2. Click Yes in the UAC prompt.
  3. Paste the following command and hit Enter:diskpartdiskpart to remove virtual drive windows 10
  4. Next, execute this command while replacing Path of the VHD file with the actual one on your PC:select vdisk file=”Path of the VHD file”virtual drive
  5. Finally, run this command to delete Virtual Drive in Windows 10:detach vdiskdetach to remove virtual drive windows 10

Expert tip:


Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

The Virtual Drive has now been removed from Windows 10. Also, you could head over to the file path and delete the .vhd or .vhdx file to free up storage space in case there’s no data on the Virtual Drive.

Besides, if there’s critical data on the virtual drive, we recommend you use a reliable backup tool to store it and only then remove the drive.

How to delete a virtual hard disk on VirtualBox?

  1. Launch VirtualBox, right-click on the Virtual Machine, and select Settings.
  2. Now go to the Storage
  3. Right-click on the virtual drive and select Remove Attachment from the context menu.remove attachment
  4. Once done, click OK to save the changes.

If you were wondering how to remove the virtual CD drive, it could be done via the VirtualMachine settings in no time.

These are all the ways you can remove a Virtual Drive in Windows 10 and even on VirtualBox. And while we are on the subject, check our curated list of the best Virtual Machines in Windows.

If you have any queries or want to share additional information on the subject, comment below.

Still having issues? Fix them with this tool:


If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

This article covers:Topics: