Recently, when I start an existing virtual machine in Oracle VirtualBox Manager, it throws the error Failed to open a session for the virtual machine, Failed to construct device ‘usb-ehci’ instance. This article will tell you how to fix it.
1. Steps To Produce The Error.
- When I start VirtualBox, it prompts a window to tell me that there is a new VirtualBox version, I had better install it.
- Then I download it and install the new VirtualBox version.
- After that, when I start an existing virtual machine, it prompts a dialog with the below error message.
Failed to open a session for the virtual machine Ubuntu20.04.3. Failed to construct device 'usb-ehci' instance #0 (VERR_PDM_DEVHLP_VERSION_MISMATCH). Result Code: E_FAIL (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
2. How To Fix The Error.
- From the error message we can see the error is related to the USB device.
- So right-click the virtual machine on the Oracle VM VirtualBox Manager’s left side.
- Click the Settings… menu item in the popup menu list to open the virtual machine’s Settings dialog.
- Click the USB item on the left side.
- Choose the USB 1.1 (OHCI) Controller radio button.
- Click the OK button to save the changes.
- Now when you start the virtual machine again, the error will disappear.
- This is the easiest way to fix this issue.
3. How To Fix VirtualBox Virtual Machine USB Settings Are Not Editable Issue.
- Sometimes, you may find your Virtualbox virtual machine USB settings are not editable.
- This is because your virtual machine does not turn off and the virtual machine has saved a state in the current snapshot.
- Select the Current State snapshot to focus on it, then click the Discard icon button on the top icon bar, then you can edit the virtual machine’s USB settings now.
This works for me indeed. Sometimes you need to analyse all the pssible errors that might cause the vm to produce the Result Code: E_FAIL (0x80004005).
I said to myself, I need to analyse the situation carefully. Hmm, this could be one of the reasons the VM failed to start.
Failed to construct device ‘usb-ehci’ instance #0 (VERR_PDM_DEVHLP_VERSION_MISMATCH).
Let’s try Step 2. Then I did and the VM boot successfully.
Thanks a million
Yo regrese a la version virtualbox que funcionaba y se arreglo. algo pasa con las ultimas versiones
Worked for me. Thanks!