How to get the Physical path of a mounted VHD in Windows Server 2008 R2
Solution 1:
I couldn't find any easy way to do it; even the Disk Management console will not show you the physical path of the VHD when checking its properties.
However, if you select the disk and click on "Detach VHD", you will at last be able to see it:
Solution 2:
The diskpart command can show the path of mounted VHDs. Run the following commands in a command prompt or PowerShell.
diskpart
list vdisk
Example output:
VDisk ### Disk ### State Type File
--------- -------- -------------------- --------- ----
VDisk 0 Disk 2 Attached not open Expandable F:\Test.vhd