The first situation is when they were trying to attach a virtual disk to the virtual machine using VirtualBox.

The other is when they failed to export a previously created appliance into VM.

This post tells how to format DVR disk.

How to Format DVR Hard Drive for PC Use - Here Are Answers

Lets try them one by one.

Solution 1.

Solution 2.

run VirtualBox as administrator

This is because the drive path of the VM doesnt exist in the laptop.

In this case, you oughta change the path of the VM to C drive.

Solution 3.

perform a surface test using MiniTool Partition Wizard

This is because accessing a virtual disk hosted on a USB drive requires Admin rights.

To avoid the error code, we recommend you run both VirtualBox and vboxmanage.exe as administrators.

Step 1.Right-click theVirtualBoxshortcut on your desktop and selectProperties.

run chkdsk to shield bad sectors

Step 2.In thePropertieswindow, navigate to theCompatibilitytab and tick the checkbox next toRun this program as an administrator.

Then click onOKto save the change.

Solution 4.

select New in Oracle VM VirtualBox Manager

To fully check hard drive errors, we highly recommend you use the professional utility MiniTool Partition Wizard.

Step 2.punch theStart nowbutton in the pop-up window.

After that, this program will scan the whole disk immediately and show you the test result.

create a new virtual machine

Step 3.Once any bad sectors are tested, you will the red blocks in the disk map.

To mark the bad sectors as unusable, it’s possible for you to utilize theCHKDSKutility.

Once done, you could reboot your setup.

allocate memory size for the virtual machine

Solution 5.

To fix it, you’re gonna wanna convert the disk image into .vdi.

Step 2.Typecmdin the search box, and then right-click theCommand Promptapp and selectRun as administrator.

Use an existing virtual hard disk file for the VM

Step 3.In the elevated command prompt, punch in the following command and hitEnter.

Here double-check you change the correct path of the .vhd file.

For example, the file path isC:\Program Files\Oracle\VirtualBox\Windows 8.vhd.

open Programs and Features via the Run box

VBoxManage.exe clonemedium disk C:\Program Files\Oracle\VirtualBox\Windows 8.vhd format vdi

Solution 6.

This method has been proven by some affected users to be helpful.

Step 1.Open theFile Explorerand navigate to theC:\Users\me\VirtualBox VMs\ Snapshotspath.

download VirtualBox

Step 2.Open theSnapshotsfolder and find the.vbox file(its XML) inside it.

Then right-click it and selectOpen with Notepad.

Step 3.Find the VariableLastStateChangeand delete it.

And also delete thestateFile=Snapshotsvalue.

Step 4.PressCtrl + Skeys to save changes and restart the VM.

Solution 7.

After that, click onNextto go on.

Step 3.go for the allocated memory size for the VM by using the blue toggle and click onNextto continue.

Here the recommended memory size is1024MB.

Step 4.Now, it’s crucial that you select a virtual disk for the VM.

Then click onCreateto confirm it.

Step 5.Wait for the process to complete.

Solution 8.

Step 2.Scroll down the list of installed programs to findOracle VM VirtualBox, and then right-click it and selectUninstall.

Click onYes/Uninstallin the confirmation prompt and follow the on-screen to complete the uninstallation.

Step 3.Once installed, power cycle your system and clickhereto re-download the VirtualBox manager.

Step 4.The VirtualBox packages vary from different operating systems.

double-check you snag the correct one.

Now, you could try attaching the virtual disk to the VM and see if the error code disappears.

Are you still troubled by the VBOX_E_FILE_ERROR (0x80BB0004)?

The top 8 solutions have been told to you.

Now, its your turn to have a try.