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.
How do I overcome this issue?
Vm won't start
-
- 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
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.
(*) 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
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
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
-
- 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
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
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}
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}
-
- 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
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.)
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
Hot Stuff! Forget user elevation!! Shame on ME!
Thanks you for working brain. Age has it's merits but where are mine?
Thanks you for working brain. Age has it's merits but where are mine?
Re: Vm won't start
Went to com elevated state and continue to encounter moving error showing vm is VHD as per pic attached.
Log file:
Log file:
- Attachments
-
- w11 -2022-01-23-22-29-46.zip
- (37.6 KiB) Downloaded 3 times
Re: Vm won't start
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?
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?