Vm won't start

Discussions related to using VirtualBox on Windows hosts.
Post Reply
max22941
Posts: 30
Joined: 4. Aug 2016, 21:51

Vm won't start

Post 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 11 times
How do I overcome this issue?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Vm won't start

Post 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.
max22941
Posts: 30
Joined: 4. Aug 2016, 21:51

Re: Vm won't start

Post 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
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Vm won't start

Post by mpack »

Why would you be writing to Program Files again? That is the opposite of what I asked you to do.
max22941
Posts: 30
Joined: 4. Aug 2016, 21:51

Re: Vm won't start

Post 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}
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Vm won't start

Post 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.)
max22941
Posts: 30
Joined: 4. Aug 2016, 21:51

Re: Vm won't start

Post by max22941 »

Hot Stuff! Forget user elevation!! Shame on ME!

Thanks you for working brain. Age has it's merits but where are mine?
max22941
Posts: 30
Joined: 4. Aug 2016, 21:51

Re: Vm won't start

Post 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 2536 times

Log file:
G-oracle-w11 detail.jpg
G-oracle-w11 detail.jpg (91.75 KiB) Viewed 2536 times
Attachments
w11 -2022-01-23-22-29-46.zip
(37.6 KiB) Downloaded 1 time
max22941
Posts: 30
Joined: 4. Aug 2016, 21:51

Re: Vm won't start

Post 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?
Post Reply