Open a VHDX (from Disk2vhd) leads to "Error opening file".

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
Posts: 2
Joined: Sat Sep 02, 2023 7:15 pm

Sat Sep 02, 2023 7:18 pm


first of all, thank you very much for the V2V Converter - great software!

I noticed, when I try to open a VHDX created with Disk2vhd v2.02 as "Local file", I get the error message:
Error opening file (2) [0]
Error opening file
If I mount the VHDX in Windows first (in non read-only mode) and then unmount it, I can open it in V2V Converter.
When I create a VHD the problem does not occur.

Is anything known about this?
Maybe my workaround will help someone.

Thanks and greetings,
yaroslav (staff)
Posts: 2392
Joined: Mon Nov 18, 2019 11:11 am

Sat Sep 02, 2023 7:46 pm

Thanks for your kind words!
This can be because it is picked up as a device from gen 1 VM and therefore does not see VHDX.
As a workaround, I'd suggest using VHD and then try this cmdlet ... ver2022-ps
Posts: 1
Joined: Wed Nov 22, 2023 3:47 am

Wed Nov 22, 2023 3:51 am

I tried using VHD as you said and it helped me solve my problem. Thank you.
yaroslav (staff)
Posts: 2392
Joined: Mon Nov 18, 2019 11:11 am

Wed Nov 22, 2023 8:14 am

Thanks for sharing your experience!
Post Reply