Silicophilic

For All Tech Lovers

  • Home
  • Gadgets
    • Android
  • Internet
    • Saas
  • Windows
    • Software
  • Contact
    • Write For Us
  • Fact Checking Policy
  • Privacy Policy
You are here: Home / Windows / How Do I Delete A Virtual Drive In Windows 10?

How Do I Delete A Virtual Drive In Windows 10?

Updated: August 4, 2020 by Prataan Chakraborty

Users use Virtual machines to test different operating systems and run software that they may not be able to run in the main operating system. The apps and operating systems run in a virtual drive are run in a sandboxed environment, thus preventing any harmful side effects on your main operating system.

However, once the test is over, users may not have any more use of the virtual drive. Here, I shall discuss how to remove virtual drives from a Windows 10 PC.

How To Remove Virtual Drives From Windows 10 PC?

Table of Contents

Toggle
  • How To Remove Virtual Drives From Windows 10 PC?
    • Method 1: Use Disk Partition Manager
    • Method 2: Use Disk Properties
    • Method 3: Use Diskpart
  • Wrapping Up

A virtual disk in Windows 10 is indexed as a separate partition, similar to how external storage devices are treated. Thus, you will need to virtually detach the virtual drive in order to remove it from your computer. There are three simple methods which allow you to do so, which I shall discuss below.

Method 1: Use Disk Partition Manager

Windows has had a built in disk manager for quite a while now, and the applet is quite easy to use as well. To remove virtual drive from your computer, use the disk manager to perform this task without any errors. Follow these steps for the same:

  1. Right click on the Start button, or press the combination Win + X to launch the WinX menu.
  2. Here, click on Disk Management to launch the Windows 10 Disk Manager.
  3. Here, select your virtual drive and right click on it.
  4. Select Delete Volume… from the context menu.
  5. Confirm the action is the warning dialog.
    This will change the disk space to unallocated space.
  6. Right click on the unallocated disk space and select Detach VHD from the context menu.

detach_VHD_disk_manager

This will remove the virtual disk from your computer.

Method 2: Use Disk Properties

The next method I shall discuss involves using the disk properties dialog box to detach the virtual drive from your computer. Here are the simple steps that you need to follow:

  1. Use the keyboard shortcut Win + E to quickly launch Windows Explorer.
  2. If you are not in This PC by default, open it from the quick jump menu in the left.
  3. In the list of drives present, locate your virtual drive and right click on it.
  4. Select Properties from the context menu.
  5. Go to the Hardware tab and click on the Properties button again.
    This will open another pop up dialog.
  6. In this dialog box, switch to the Driver tab.
  7. Click on the Uninstall Device button to remove the virtual disk from your computer.
  8. Finally, reboot your device to finalize your changes.

Method 3: Use Diskpart

Diskpart is the command line equivalent of the Disk manager that you used in Method 1 above. Use the command line interpreter if you do not wish to use the GUI related methods above, or if you are stuck on the boot loop. Follow these steps for the same:

  1. Open an elevated command prompt window. If you can boot into Windows, in a Run dialog, type cmd and press Ctrl + Shift + Enter to launch the command prompt with administrative privileges.
  2. First, enter the disk manager by typing the following command and pressing Enter:
    diskpart
  3. Next, select your virtual disk by entering the following command and pressing Enter:
    select vdisk file=”<full_path_of_the_VHD file>”
    Note:
    replace <full_path_of_the_VHD file> with the path of the virtual disk.
  4. Finally use the following command to remove the disk:
    detach vdisk

detach_vdisk_diskpart

This will remove the virtual disk from your computer. Restart your device for the allocated space to be integrated with one of the other partitions, and use the disk manager to further fine tune your settings.

Wrapping Up

So there you have it. Now you know how to remove virtual drives using the methods provided above. Comment below if you found this useful, and to discuss further the same.

Filed Under: Windows Tagged With: Delete virtual disk

About Prataan Chakraborty

A CU graduate, a tech enthusiast. He loves trying out new software and gadgets, and writes about them with a user friendly mindset.

Silicophilic_Twitter_handle Silicophilic_Facebook_handle Silicophilic_Youtube_handle Silicophilic_Linkedin_Handle Silicophilic_Rss_Feed

Recent Posts

  • How I Learned to Tune FC26 to My Mood
  • Stuck at the Splash Screen: Here’s What Worked
  • FC26 Sync Error Locked Me Out — Here’s How I Fixed it
  • EA SPORTS FC 26 Ultimate Edition Crashed: How I Got It Running Again
  • FC 26 Black Boots Bug – The Career Mode Fix That Actually Works

© 2026 · Silicophilic