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
lucybc81
Posts: 1
Joined: Tue Mar 05, 2024 12:57 pm

Tue Mar 05, 2024 1:02 pm

Hi everyone!

I'm trying to convert from a virtual machine .vmdk to hyper-v but, when I select it, the message is the next one:
error opening file (2) 0 disk encoding error.

I have read that this error has happened previously but I tried the different solutions and nothing happened. I tried to execute it as administrator, the vm is powered off...
yaroslav (staff)
Staff
Posts: 3598
Joined: Mon Nov 18, 2019 11:11 am

Tue Mar 05, 2024 1:34 pm

Can you please check if there are any snapshots for that disk? Please also make sure the converter is run as administrator.
BrandynKunde
Posts: 1
Joined: Fri Dec 06, 2024 1:56 am

Fri Dec 06, 2024 1:59 am

Verify File Integrity: Ensure the .vmdk is not corrupted.
Convert with Third-Party Tools: Use software like qemu-img to convert the .vmdk to .vhdx.
Check Disk Type: Ensure the .vmdk is a supported type (e.g., monolithic or flat).
Permissions: Confirm you have full permissions and run as administrator
Last edited by BrandynKunde on Sun Dec 08, 2024 12:48 pm, edited 1 time in total.
MichaelStephens
Posts: 1
Joined: Fri Dec 06, 2024 4:26 am
Location: https://fnafgames.io

Fri Dec 06, 2024 4:34 am

I have the same error as you and I still haven't solved it.
Post Reply