Virtualbox version is 7.0.16 r162802
After starting the guest system, I choose "Devices -> Upgrade Guest Additions" and get the following error shown in the notification area to the right:
Code: Select all
Name: /usr/share/virtualbox/VBoxGuestAdditions.iso
Running update file "C:\WINDOWS\system32\config\systemprofile\AppData\Local\VBoxAutoUpdate-3jv3pac3vxs1\VBoxCertUtil.exe" on guest failed: VERR_GENERAL_FAILURE.
Result Code:
VBOX_E_IPRT_ERROR (0X80BB0005)
Component:
GuestSessionWrap
Interface:
IGuestSession {(ID)}
Also, is there perhaps a better place to ask how to fix issues like this one (this looks very much like a bug, since any proper software should provide some information about what is wrong).
UPDATE: these are the lines in the log that correspond with the time the error occurs:
```
01:00:45.479114 VMMDev: Guest Log: 13:48:16.772402 main VBoxService 6.1.34 r150636 (verbosity: 0) win.amd64 (Mar 23 2022 00:49:46) release log
01:00:45.479142 VMMDev: Guest Log: 13:48:16.772402 main Log opened 2024-04-29T13:48:16.772402700Z
01:00:45.479193 VMMDev: Guest Log: 13:48:16.772402 main OS Product: Windows 10
01:00:45.479219 VMMDev: Guest Log: 13:48:16.772402 main OS Release: 10.0.19045
01:00:45.479239 VMMDev: Guest Log: 13:48:16.772402 main OS Service Pack:
01:00:45.479261 VMMDev: Guest Log: 13:48:16.772402 main Executable: C:\WINDOWS\System32\VBoxService.exe
01:00:45.479264 VMMDev: Guest Log: 13:48:16.772402 main Process ID: 7120
01:00:45.479267 VMMDev: Guest Log: 13:48:16.772402 main Package type: WINDOWS_64BITS_GENERIC
01:00:45.479291 VMMDev: Guest Log: 13:48:16.772402 main Hi, this is guest session ID=3
01:00:45.479522 VMMDev: Guest Log: 13:48:16.772402 main vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1)
01:00:45.479727 Guest Control: Session 'Updating Guest Additions' was successfully started
01:00:45.480028 Automatic update of Guest Additions started, using "/usr/share/virtualbox/VBoxGuestAdditions.iso"
01:00:45.508953 Guest Additions update directory is: C:\WINDOWS\system32\config\systemprofile\AppData\Local\VBoxAutoUpdate-24vh287vd5ui\
01:00:45.508997 Certificates for auto updating WHQL drivers will be installed
01:00:45.509099 Copying over Guest Additions update files to the guest ...
01:00:45.509114 Copying Guest Additions installer file "/CERT/VBOX-SHA1.CER" to "C:\WINDOWS\system32\config\systemprofile\AppData\Local\VBoxAutoUpdate-24vh287vd5ui\vbox-sha1.cer" on guest ...
01:00:45.511804 Copying Guest Additions installer file "CERT/VBOXCERTUTIL.EXE" to "C:\WINDOWS\system32\config\systemprofile\AppData\Local\VBoxAutoUpdate-24vh287vd5ui\VBoxCertUtil.exe" on guest ...
01:00:45.519931 Copying Guest Additions installer file "/CERT/VBOX-SHA256.CER" to "C:\WINDOWS\system32\config\systemprofile\AppData\Local\VBoxAutoUpdate-24vh287vd5ui\vbox-sha256.cer" on guest ...
01:00:45.521135 Copying Guest Additions installer file "VBOXWINDOWSADDITIONS-X86.EXE" to "C:\WINDOWS\system32\config\systemprofile\AppData\Local\VBoxAutoUpdate-24vh287vd5ui\VBoxWindowsAdditions-x86.exe" on guest ...
01:00:45.561563 Copying Guest Additions installer file "VBOXWINDOWSADDITIONS-AMD64.EXE" to "C:\WINDOWS\system32\config\systemprofile\AppData\Local\VBoxAutoUpdate-24vh287vd5ui\VBoxWindowsAdditions-amd64.exe" on guest ...
01:00:45.669453 Copying Guest Additions installer file "VBOXWINDOWSADDITIONS.EXE" to "C:\WINDOWS\system32\config\systemprofile\AppData\Local\VBoxAutoUpdate-24vh287vd5ui\VBoxWindowsAdditions.exe" on guest ...
01:00:45.675477 Executing Guest Additions update files ...
01:00:45.675500 Running VirtualBox Certificate Utility, removing old VirtualBox certificates ...
01:00:45.847273 Automatic update of Guest Additions failed: Running update file "C:\WINDOWS\system32\config\systemprofile\AppData\Local\VBoxAutoUpdate-24vh287vd5ui\VBoxCertUtil.exe" on guest failed: VERR_GENERAL_FAILURE (NS_OK)
01:00:45.847298 Please install Guest Additions manually
01:00:45.872386 GUI: UIMediumEnumerator: Medium-enumeration finished!
```
So unlike with the notification I see when I try to upgrade, I get the message here in the log to install the guest additions manually
UPDATE 2: Solved
That log message gave the necessary hint:
* I mounted /usr/share/virtualbox/VBoxGuestAdditions.iso as a drive in my guest OS
* Windows asked me what to do, I chose to run the guest additionas installation program
* Installation finished without problems