Share via

Hyper-V-VMMS cannot connect to VHDs

tocguy 160 Reputation points
2026-03-27T19:34:35.5433333+00:00

This issue showed up today. Last VM run was on the 3/23. Only WUpdates since then are Defender defns. Now, cannot connect/launch any VMs.

Unsuccessful Troubleshooting:

  1. Verified Full Access privileges to VHD folders on active account.
  2. Discovered and set Hyper-V Settings for folder locations that had resorted back to their default folders:
    1. Virtual Hard Disks
    2. Virtual Machines
  3. Deleted content of C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines Cache\ to remove VMs from Hyper-V Manager list thus re-enable import of the established VMs. Requires stopping Hyper-V Virtual Machine Manager service first. Import fails with Event errors 15040 and 16300.
    1. Other Hyper-V-VMMS related Events included in this fiasco are 16320, 16410, 16420.
  4. Removed/Reinstalled Hyper-V using Control Panel - Programs and Features - Turn Windows Features on or off.
  5. Created new folder and copied content of existing VM's folder to it.
    1. Register in-place fails with error 16300 and 15040.
    2. Restore the VM fails with error 16300 and 15040.
  6. Used Powershell to mount the VHDX file to extract important data only to discover via Disk Management that the drive is BitLocker encrypted! I DID NOT ENCRYPT THE VM! WTH????

Plz advise on nature of these errors and their resolution. In lieu of that, how may I extract important data files from the VHDX?

Windows for home | Windows 11 | Performance and system failures

Answer recommended by moderator
  1. tocguy 160 Reputation points
    2026-03-28T16:19:29.0833333+00:00

    Resolved - create New VM and when prompted about where you'd like to store the new VM's VHDX select the option to connect to an existing VHDX. Browse to the existing VHDX location and proceed with the rest of the new VM process.

    This worked 2/2 for resolving this configuration corruption issue for me.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Thomas4-N 13,240 Reputation points Microsoft External Staff Moderator
    2026-03-29T11:33:19.18+00:00

    Hello tocguy,

    Thank you for taking the time to come back and share the fix.

    It sounds like your VM configuration files (.vmcx) had become corrupted — likely from the settings path reset — which is why re-importing and registering kept throwing errors like 16300 (0x8007000D "data is invalid"). The VHDX itself was untouched, just the config pointing to it was broken. Creating a new VM and attaching the existing VHDX essentially rebuilds that config from scratch, giving Hyper-V a clean, valid entry to work with again.

    I really appreciate it. This kind of detailed update could really help others on the forum who run into the same issue.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.