How To Fix Failed To Create The Hard Disk Storage Windows10.vdi When Create A New Windows Guest Virtualbox Virtual Machine

This article will tell you how to fix the error failed to create the hard disk storage D:\Work\VirtualBox-VM\Windows10\Windows10.vdi when you create a new guest virtual machine in VirtualBox.

1. The Detail Error Messages.

  1. Below is the detailed error message.
    Failed to create the hard disk storage D:\Work\VirtualBox-VM\Windows10\Windows10.vdi.
    Cannot register the hard disk 'D:\Work\VirtualBox-VM\Windows10\Windows10.vdi' {75ff6d95-3b1d-4cef-80c8-0db461f06dac} because a hard disk 'D:\Work\VirtualBox-VM\Windows10\Windows10.vdi' with UUID {22bb3dd5-959c-4456-9bdb-5f3f96601cdc} already exists.
    Result Code: E_INVALIDARG (0x80070057)
    Component: VirtualBoxWrap
    Interface: IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d}

2. Steps To Reproduce The Error.

  1. Open VirtualBox Manager, and create a new virtual machine in it.
  2. Select the Create a new hard disk now radio button on the Hard disk wizard dialog, then click the Create button.
  3. Select the VDI(VirtualBox Disk Image) radio button on the Hard disk file type wizard dialog, then click the Next button.
  4. Select the Dynamically allocated radio button on the Storage on physical hard disk wizard dialog, then click the Next button.
  5. Click the Create button in the next wizard dialog.
  6. Now it will popup an alert dialog with the above error message.

3. How To Fix The Error.

  1. As the error message said, the new hard disk can not be registered because there exists one.
  2. And when you browse the virtual machine saved folder in file explorer, you can see that the .vdi file already exists.
  3. So you can click the back arrow in the create new virtual machine window to go back to the Hard disk wizard dialog.
  4. And then select the Use an existing virtual hard disk file radio button, and select the existing windows hard disk file ( maybe there is a yellow alert icon before the hard disk file ) from the dropdown list below it.
  5. If it shows the hard disk file is Inaccessible, then there will have a yellow alert icon before it.
  6. So you can click the Next button in the current and following wizard dialogs to complete the create new virtual machine process.
  7. And you can attach the windows10 installer iso file in the virtual machine’s Settings —> Storage —> Storage Devices —> Add Optical Drive area.
  8. Now you can right-click the window virtual machine in the VirtualBox Manager left panel, and then click the Start —> Normal Start menu item to start it.
  9. You may encounter another error message like below.
    Failed to open a session for the virtual machine Windows10.
    UUID {75ff6d95-3b1d-4cef-80c8-0db461f06dac} of the medium 'D:\Work\VirtualBox-VM\Windows10\Windows10.vdi' does not match the value {22bb3dd5-959c-4456-9bdb-5f3f96601cdc} stored in the media registry ('C:\Users\zhaosong\.VirtualBox\VirtualBox.xml').
    Result Code: E_FAIL (0x80004005)
    Component: MediumWrap
    Interface: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
  10. Don’t worry, what you need to do is close the VirtualBox Manager and wait for some time then start it again, and remove the virtual machine, and then recreate the virtual machine again. Now you will see the error disappear.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.