VBox 7.0.12 GA cannot verify digital signature Windows 7

This is for discussing general topics about how to use VirtualBox.
Post Reply
Simple07
Posts: 136
Joined: 5. Nov 2014, 16:05

VBox 7.0.12 GA cannot verify digital signature Windows 7

Post by Simple07 »

Installed VirtualBox 7.0.12 and when trying to update its Guest Additions on Windows 7 I get the following error message:

"Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software form an unknown source. "

However, updating Guest Additions 7.0.12 on Windows XP and Windows 11 work fine.

I tried reinstalling Guest Additions 7.0.12 on Windows 7 few times, to no avail, but installing Guest Additions 7.0.10 on Windows 7 works fine!!
Simple07
Posts: 136
Joined: 5. Nov 2014, 16:05

Re: VBox 7.0.12 GA cannot verify digital signature Windows 7

Post by Simple07 »

I tried a number of solutions, including registry editing, nothing worked.

But what worked for me is, start an Administrative CMD and run "bcdedit /set testsigning on"

Rebooted and successfully installed VirtualBox Guest Additions 7.0.12.
Last edited by klaus on 6. Nov 2023, 23:07, edited 1 time in total.
Reason: fix bcdedit command
galitsyn
Posts: 88
Joined: 4. Jul 2012, 16:09

Discuss the VirtualBox 7.0.12 release here

Post by galitsyn »

You can download the release here.
VirtualBox 7.0.12 is a maintenance release.

Changelog is here.
tonny
Posts: 20
Joined: 7. Jan 2010, 23:54
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7

Re: VBox 7.0.12 GA cannot verify digital signature Windows 7

Post by tonny »

In my case Guest additions installed without any error but after restart Windows 7 fails to boot and always loads startup repair.
I used F8 to select "Disable Driver Signature Enforcement" and after boot I used "bcdedit /set testsigning on" as suggested.

It now works ok with signature disabled.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Discuss the VirtualBox 7.0.12 release here

Post by scottgus1 »

Merged some early 7.0.12 reports here.
FST
Posts: 32
Joined: 30. Jul 2014, 09:43

Re: Discuss the VirtualBox 7.0.12 release here

Post by FST »

LOG found at C:\Windows\System32\LogFiles\SrtTrail.txt

Found cause of error:
---------
The file "d:\windows\system32\drivers\vboxguest.sys" required for startup is corrupted.
ant
Posts: 339
Joined: 9. Jul 2007, 20:02
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: Windows and macOSes
Location: An Ant Farm
Contact:

Re: Discuss the VirtualBox 7.0.12 release here

Post by ant »

galitsyn wrote: 17. Oct 2023, 16:14 You can download the release here.
VirtualBox 7.0.12 is a maintenance release.

Changelog is here.
I hope we will get a new version with a fix soon. Is there a bug report of this?
fufu65
Posts: 1
Joined: 18. Oct 2023, 12:12

Re: Discuss the VirtualBox 7.0.12 release here

Post by fufu65 »

Same problem with VB 6.1.48 released on the same date: guest with Windows Server 2008 R2 won't boot.
Disabling driver signature only works on the first reboot.
Disabled driver signature, uninstalled Guest Additions 6.1.48 and reinstalled GA 6.1.46 (VB also on 6.1.48, so the problem is in the GA).
Simple07
Posts: 136
Joined: 5. Nov 2014, 16:05

Re: Discuss the VirtualBox 7.0.12 release here

Post by Simple07 »

All the below testing was done on Windows 7 Virtual Machine.

I tried to install Guest Additions 7.0.11-159406 on VirtualBox 7.0.12, but it gave the same message.

- Uninstalled VirtualBox 7.0.12 completely and deleted the C:\Oracle folder, installed VirtualBox 7.0.11-159406 with its Extension Pack and tried to install GA 7.0.11 and GA 7.0.12 but both gave the same error.

- Uninstalled VirtualBox completely deleting C:\Oracle folder and installed VirtualBox 7.0.10. with its Extension Pack and tried to install GA 7.0.11 and GA 7.0.12 but both gave the same error.

It looks like the error was already in 7.0.11 but not enough testing was performed.
Last edited by Simple07 on 18. Oct 2023, 19:01, edited 1 time in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss the VirtualBox 7.0.12 release here

Post by mpack »

fufu65 wrote: 18. Oct 2023, 12:26 Same problem with VB 6.1.48 released on the same date: guest with Windows Server 2008 R2 won't boot.
I installed 6.1.48, then the 6.1.48 GAs into a Win10 VM, and - no problem.

How far into a boot does yours get?
ant
Posts: 339
Joined: 9. Jul 2007, 20:02
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: Windows and macOSes
Location: An Ant Farm
Contact:

Re: Discuss the VirtualBox 7.0.12 release here

Post by ant »

mpack wrote: 18. Oct 2023, 16:58
fufu65 wrote: 18. Oct 2023, 12:26 Same problem with VB 6.1.48 released on the same date: guest with Windows Server 2008 R2 won't boot.
I installed 6.1.48, then the 6.1.48 GAs into a Win10 VM, and - no problem.

How far into a boot does yours get?
Try installing GA in 64-bit W7 which others and I are having problems with. Mine always end up in Startup Repair screen after "Loading Files" screen. See my viewtopic.php?t=110349 thread.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss the VirtualBox 7.0.12 release here

Post by mpack »

Give me time! In fact I just tried it with a Win7-64bit guest, and now I see big problems. "Startup Repair" diagnostics says that "Boot critical file D:\Windows\system32\DRIVERS\VBoxGuest.sys is corrupt". Odd that it says D:, as the system drive is C:, D: is the CD I think (I can't boot up to check!).

Ok, got to a terminal. Weird! Drive C seems to be a virtual folder containing one file "rescuepe.log". Perhaps this is something that the boot repair mode in Win7 does. I'm about to try deleting the "corrupt" file. {Edit}Yes, that gets me in. Now to reinstall the 6.1.46 GAs! {Edit2}That worked too.

Given that the file is probably not really corrupted, I'm going to guess that it's missing a certificate that works in Win7. I don't know why Win7 considers it "boot critical" tho.
ant
Posts: 339
Joined: 9. Jul 2007, 20:02
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: Windows and macOSes
Location: An Ant Farm
Contact:

Re: Discuss the VirtualBox 7.0.12 release here

Post by ant »

mpack wrote: 18. Oct 2023, 17:07 Give me time! In fact I just tried it with a Win7-64bit guest, and now I see big problems...
OK. At least, you reproduced the 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: Discuss the VirtualBox 7.0.12 release here

Post by mpack »

I tried again and this time tried to pause it during the GAs install so I could read the messages. I get an error that it couldn't replace "VBoxService.exe", and that after a bunch of errors concerning VBoxCertUtil.exe failures calling CertEnumSystemStore and CertOpenStore.

The final error message directs me to look at a file C:\Program Files\Oracle\VirtualBox\Windows Guest Additions\install_ui.log - which does not exist.
fth0
Volunteer
Posts: 5678
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Discuss the VirtualBox 7.0.12 release here

Post by fth0 »

mpack wrote: 18. Oct 2023, 17:49 The final error message directs me to look at a file C:\Program Files\Oracle\VirtualBox\Windows Guest Additions\install_ui.log - which does not exist.
Let's have a look at "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log" and "C:\Windows\INF\setupapi.dev.log" instead. And perhaps a screenshot of the messages during the installation process.

Edit:
Corrected the path and removed a superfluous space that crept in in front of the first file name. And added quotes.
Last edited by fth0 on 19. Oct 2023, 16:15, edited 1 time in total.
Post Reply