Page 1 of 1

Can't Uninstall or Open VB After New Update

Posted: 8. Sep 2022, 20:44
by clemfandango
Apologies in advance if my information is incorrect. I'm brand new to programming/coding and just getting used to using linux.
  • I upgraded from 6.1.36 to .38 yesterday. Current installed version: 6.1.38.
    No extension packs installed
    My host OS is Windows 10-pro 64 bit (95 gigs of free space on ssd w/ Host RAM: 16342MB (15.9GB) total, 10106MB (9.8GB) available) and guest is Xubuntu 64-bit (base memory 8192mb).
If I try uninstalling through Apps & Features in Windows-10, VB disappears for a second then reappears. If I try to modify/repair it, I get "the feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package '6klxaha.....msi' in the box below." Both repairing/uninstalling ends the process "prematurely."

A few solutions I came across on google were to install driver VBoxDrv.inf - but this isn't in my drivers folder


Error Codes:
I can only open VirtualBox by going to the program files (VB/Oracle no longer in windows software menu and shows as blank document in taskbar). When I try to run Xubuntu I get this error: Failed to open a session for the virtual machine Xubuntu.Then this pops up:
Ntcreatefile(\Device\VboxDrvStub) failed: 0xc00000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries) (rc=-101). Make sure the kernal module has been loaded successfully. where: supR3HardenedWinReSpawn what: 3 VERR_Open_failed (-101) - File/Device open failed. Driver is probably stuck stopping/starting. Try 'sc.exe query vboxsup' to get more information about its state. Rebooting may actually help


Then:
The virtual machine 'Xubuntu' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\Juneau\VirtualBox VMs\Xubuntu\Logs\VBoxHardening.log'.

Result Code: E_FAIL (0x80004005)Component: MachineWrapInterface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
When running sc.exe query vboxsup I get this:
SERVICE_NAME: vboxsup
TYPE : 1 KERNEL_DRIVER
STATE : 1 STOPPED
WIN32_EXIT_CODE : 2 (0x2)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

Re: Can't Uninstall or Open VB After New Update

Posted: 8. Sep 2022, 20:55
by scottgus1
Your Windows MSI installation database is bunged. It happens. The error message:
clemfandango wrote:"the feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package '6klxaha.....msi' in the box below."
is indicating that the stored "backup" of the installer that Windows uses to uninstall or repair is missing or some such problem.

Download the Windows Virtualbox 6.1.38 version exe from https://www.virtualbox.org/wiki/Download_Old_Builds
Make a temporary folder on you computer to hold the extracted files, like C:\VBOXMSI.
in a regular command prompt window, drag the downloaded exe file. The full path and file name of the exe will appear at the command prompt.
Type {space}--extract{space}--path{space}
Drag the temporary folder you made on the command window. The path and name of the folder will appear in the command window.
The command will look like this:

Code: Select all

drive:\path\to\VirtualBox-[versionnumber]-Win.exe --extract --path c:\VBOXMSI
The MSI will be in that temporary folder.

Note there's one annoying glitch with the MSI installer. A message box which does not have an accompanying icon in the taskbar will display the results of the last command. If you leave this message box open, further runs of commands with the .exe file will not do anything. You will have to find the message box and close it. And if you minimize all the windows with the Desktop Peek tool you may not be able to find it to close it. So close it as soon as you see what it says.

Once you have the .msi file, you have to rename it to the file name in the error message:
6klxaha.....msi
then point the error message box's browsing feature at where the msi file is located.

Re: Can't Uninstall or Open VB After New Update

Posted: 9. Sep 2022, 05:58
by clemfandango
THANK YOU! You have no idea how bummed I was, I thought I was maybe going to lose my files. This worked like a charm.
:D :D