Ticket #8910 (new defect) — at Version 3

Opened 10 years ago

Last modified 5 years ago

Failed to Move Image from Linux to Windows : Failed to Open Virtual Machine

Reported by: AntonyReynolds Owned by:
Component: VM control Version: VirtualBox 4.0.8
Keywords: failed open virtual machine medium closed Cc:
Guest type: Linux Host type: Windows

Description (last modified by frank) (diff)

Copied Virtual Machine directory from a Linux host to a Windows host. I got the following error when trying to "Add" the machine.

Failed to open virtual machine located in

Medium 'D:\VirtualMachines\OEL6-x64\OEL6-
x64.vdi' cannot be closed because it is still attached to 1
virtual machines.

The Details box contains:

Result Code: 
IMedium {9edda847-1279-4b0a-9af7-9d66251ccc18}
IVirtualBox {d2de270c-1d4b-4c9e-843f-bbb9b47269ff}
Callee RC: 
E_INVALIDARG (0x80070057)

This is VirtualBox 4.0.8. Image was created under 4.0.6 but I tested it on 4.0.8 before moving it to the new machine.

I have uploaded the .vbox file.

I have tried removing the DVDImage tag and the SharedFolder tag.

See Wiki discussion at

Change History

Changed 10 years ago by AntonyReynolds

VBox file that fails

comment:1 Changed 10 years ago by Perryg

Add name to watch thread

comment:2 Changed 10 years ago by AntonyReynolds

I found the solution.

I deleted all references to DVDImages and SharedFolders, replacing <DVDImages>...<DVDImages> with <DVDImages/> and <SharedFolders>...<SharedFolders> with <SharedFolders/>

Seems that earlier versions were more forgiving.

comment:3 Changed 8 years ago by frank

  • priority changed from critical to major
  • Description modified (diff)
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use