Page 1 of 1

Vm won't start

Posted: 26. Jan 2022, 00:00
by max22941
Yesterday, encountered VB notation W11 inaccessible. Today after starting VB the W11 note was the only Vm shown. Removed that instance.

Went to Programs folder on Host, ran W11 Virtual machine. When attempted to start Vm received the following : The VM session was closed before any attempt to power it on.
Result Code:
E_FAIL (0x80004005)
Component:
SessionMachine
Interface:
ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}

Log attached.
w11 -2022-01-23-22-29-46.zip
(37.6 KiB) Downloaded 16 times
How do I overcome this issue?

Re: Vm won't start

Posted: 26. Jan 2022, 10:40
by mpack
You seem to have copied VM files into VirtualBox program folders (*). This can lead to permission and ownership problems. Please move the VM folder to a traditional data folder. Howto: Move a VM.

(*) Though I note this is on a G drive, so it's possible you just gave the G folder a name which is contrived to mislead.

Re: Vm won't start

Posted: 26. Jan 2022, 16:12
by max22941
Attempted copy of Vm and receive this error:

Runtime error opening 'G:\Program Files\Oracle\w11_\w11_.vbox-tmp' for overwriting: -38 (Access denied.).
F:\tinderbox\win-6.1\src\VBox\Main\src-server\MachineImpl.cpp[9871] (long __cdecl Machine::i_saveSettings(bool *,class util::AutoWriteLock &,int)).


Result Code:
E_FAIL (0x80004005)
Component:
SessionMachine
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

Help please

Re: Vm won't start

Posted: 26. Jan 2022, 16:21
by mpack
Why would you be writing to Program Files again? That is the opposite of what I asked you to do.

Re: Vm won't start

Posted: 26. Jan 2022, 19:44
by max22941
Attempted to move to another location - on the G drive but different folder and got this:

Runtime error opening 'G:\Program Files\Oracle\w11_\w11_.vbox-tmp' for overwriting: -38 (Access denied.).
F:\tinderbox\win-6.1\src\VBox\Main\src-server\MachineImpl.cpp[9871] (long __cdecl Machine::i_saveSettings(bool *,class util::AutoWriteLock &,int)).


Result Code:
E_FAIL (0x80004005)
Component:
SessionMachine
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

Also attempted to move to a different partition and got this

Runtime error opening 'G:\Program Files\Oracle\w11_\w11_.vbox-tmp' for overwriting: -38 (Access denied.).
F:\tinderbox\win-6.1\src\VBox\Main\src-server\MachineImpl.cpp[9871] (long __cdecl Machine::i_saveSettings(bool *,class util::AutoWriteLock &,int)).


Result Code:
E_FAIL (0x80004005)
Component:
SessionMachine
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

Re: Vm won't start

Posted: 26. Jan 2022, 19:50
by scottgus1
I beleive the error is because "move" requires write permissions in a folder, as moving involves deleting. "Program Files" requires you to provide a UAC elevation to write or delete.

Close Virtualbox and wait a minute. Then right-click Virtualbox and Run As Administrator. Then try the move. Whether the move works or not, close Virtualbox afterward and wait a minute. (The minute waits are to allow the VboxSVC service to die off ahead of the change in permission level. Virtualbox should not be run as Admin for normal VM operation.)

Re: Vm won't start

Posted: 26. Jan 2022, 20:06
by max22941
Hot Stuff! Forget user elevation!! Shame on ME!

Thanks you for working brain. Age has it's merits but where are mine?

Re: Vm won't start

Posted: 26. Jan 2022, 20:29
by max22941
Went to com elevated state and continue to encounter moving error showing vm is VHD as per pic attached.

G-oracle-w11 detail.jpg
G-oracle-w11 detail.jpg (91.75 KiB) Viewed 2642 times

Log file:
G-oracle-w11 detail.jpg
G-oracle-w11 detail.jpg (91.75 KiB) Viewed 2642 times

Re: Vm won't start

Posted: 27. Jan 2022, 05:28
by max22941
Let Virtualbox rest several minutes after closing. Restarted elevated. Attempted Move and this is the result:

The given path 'G:\Program Files\Oracle\w11_\w11 .vhd' is an existing file. Delete or rename this file..


Result Code:
VBOX_E_FILE_ERROR (0x80BB0004)
Component:
MediumWrap
Interface:
IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}

Why the error ".Vhd as this is one of the files creating the Vm?

Just for kicks, will reboot host and try that.


Tried the host reboot and fresh elevated VB. Same error as above.

Will I need to uninstall VB & Vm files. Recreate all again?