Virtualization Find Location Path of Mounted VHD and VHDX Virtual Disks in Windows 11


  • Staff
Drive_banner.png

This tutorial will show you how to find the full path location of VHD and VHDX files of mounted virtual disks in Windows 10 and Windows 11.

Virtual hard disks (VHDs) are disk image file formats that have similar functionalities to a physical hard drive and are designed primarily for use with Hyper-V virtual machines.

When you attach a .vhd or .vhdx file, it will be mounted as a drive in File Explorer > This PC to open and access.


Contents

  • Option One: Find Location Path of Mounted VHD and VHDX Virtual Disks using Get-Disk Command
  • Option Two: Find Location Path of Mounted VHD and VHDX Virtual Disks using diskpart Command




Option One

Find Location Path of Mounted VHD and VHDX Virtual Disks using Get-Disk Command



1 Open Windows Terminal, and select Windows PowerShell.

2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshot below)

Get-Disk | Select-Object FriendlyName,Location

3 You will now see the file path Location of any mounted VHD and VHDX files as virtual disks.

VHD_location_Get-Disk.png





Option Two

Find Location Path of Mounted VHD and VHDX Virtual Disks using diskpart Command


You must be signed in as an administrator to use this option.



1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste the commands below one at a time into Windows Terminal (Admin), and press Enter after each command. (see screenshot below)

diskpart

list vdisk

3 You will now see the File path location of any mounted VHD and VHDX files as virtual disks.

VHD_location_diskpart.png



That's it,
Shawn Brink


 

Attachments

  • Drive.png
    Drive.png
    2.7 KB · Views: 7
Last edited:

Latest Support Threads

Back
Top Bottom