VirtualBox

Opened 14 months ago

Closed 9 months ago

#21874 closed defect (duplicate)

GuestAdditions in VBox v6.1.48 not work in VM with Win7-32bit and Win8.1-32bit => duplicate of #21875

Reported by: yjh-styx Owned by:
Component: guest additions Version: VirtualBox-6.1.48
Keywords: Cc:
Guest type: Windows Host type: Windows

Description

Atempt to upgrade GuestAdditions produce multiple messages of certificate 'not before'/'not after' and after reboot (virtual machine) windows hang and can't be repaired (only restored from backup). If NOT upgrade GuestAdditions all work correctly Also correctly work XP, Win10, etc :)

Change History (5)

comment:1 by Boxy, 14 months ago

I'm not sure if it's the same problem, but for my Windows 10 host, Win 7-64 guest, I see the same certificate messages as I updated VBOX GA from 6.1.46 to 6.1.48.

Win7-64 boot repair came up, afterwards Win7 run but with the former 6.1.46 guest additions (I suppose, Win boot repair activated the former system restore point).

Downloaded the 6.1.48 GA ISO as I thought the GA from the VBOX installer may have been corrupted, but the same behaviour.

Some log entries from installing GA up to the reboot repair:

First error message in GA installation log:

Installing legacy timestamp CA certificate ...
Zielverzeichnis: C:\Program Files\Oracle\VirtualBox Guest Additions\cert
Wird entpackt: vbox-legacy-timestamp-ca.cer... 100%
Wird entpackt: VBoxCertUtil.exe... 100%
Executing: "C:\Program Files\Oracle\VirtualBox Guest Additions\cert\VBoxCertUtil.exe" add-trusted-publisher --root "C:\Program Files\Oracle\VirtualBox Guest Additions\cert\vbox-legacy-timestamp-ca.cer"
VBoxCertUtil.exe: error: CertAddCertificateContextToStore returned CRYPT_E_EXISTS
Execution returned exit code: 1
Warning: Executing ""C:\Program Files\Oracle\VirtualBox Guest Additions\cert\VBoxCertUtil.exe" add-trusted-publisher --root "C:\Program Files\Oracle\VirtualBox Guest Additions\cert\vbox-legacy-timestamp-ca.cer"" returned with exit code 1

Immediately afterwards, many certificate message of the same kind appear (as mentioned in the ticket description):

Executing: "C:\Program Files\Oracle\VirtualBox Guest Additions\cert\VBoxCertUtil.exe" display-all
System store location: 0x00010000 'CurrentUser'
    0x00010000 'My'
    0x00010000 'Root'
        'VirtualBox for Legacy Windows Only Timestamp CA'
            NotBefore='2010-01-01T00:00:00.000000000Z'
            NotAfter ='2037-12-31T23:59:59.000000000Z'
            Issuer='VirtualBox for Legacy Windows Only Timestamp CA'
        'Microsoft Root Certificate Authority'
            NotBefore='2001-05-09T23:19:22.000000000Z'
            NotAfter ='2021-05-09T23:28:13.000000000Z'
            Issuer='Microsoft Root Certificate Authority'

After many lines of certificate information:

VBoxCertUtil.exe: error: CertEnumSystemStore failed on 0x50000:'Services': ERROR_FILE_NOT_FOUND
VBoxCertUtil.exe: error: CertOpenStore failed opening 0x60000:'.DEFAULT\SmartCardRoot': E_ACCESSDENIED
VBoxCertUtil.exe: error: CertOpenStore failed opening 0x60000:'S-1-5-20\SmartCardRoot': E_ACCESSDENIED
VBoxCertUtil.exe: error: CertOpenStore failed opening 0x60000:'S-1-5-21-3369052863-586088756-2675079225-1000\SmartCardRoot': E_ACCESSDENIED
VBoxCertUtil.exe: error: CertOpenStore failed opening 0x60000:'S-1-5-21-3369052863-586088756-2675079225-1001\SmartCardRoot': E_ACCESSDENIED
VBoxCertUtil.exe: error: CertOpenStore failed opening 0x60000:'S-1-5-18\SmartCardRoot': E_ACCESSDENIED
Execution returned exit code: 0

The installation continued without further error messages.

After reboot and Windows boot repair, I found a similar message as ticket #21875 in windows\system32\logfiles\srt\srttrail.txt about vboxguest.sys being defect:

Gefundene Fehlerursache: 
---------------------------
Die für den Start erforderliche Datei "d:\windows\system32\drivers\vboxguest.sys" ist beschädigt.
Reparaturaktion: Dateireparatur
Ergebnis: Fehler. Fehlercode =  0x2
Erstellungszeit = 3125 ms

comment:2 by Boxy, 14 months ago

I don't know if it helps but I tried ..

  • uninstalled VBOX GA 6.1.46 in Win7-64 guest
  • removed remaining C:\Program... subfolder "cert" (contains VBOXCertutil and a certificate)
  • removed trusted root certificates "Virtualbox..."
  • removed trusted issuers certificates "ORACLE..." (not sure if they came from the former GA installation ?)
  • rebooted guest
  • started GA installation 6.1.48 (thought it a clean install).

Now Win 7 guest says "Program tried to install unsigned driver" for VBoxSF.sy VBoxMouse.sys VboxWddm.sys VboxGuest.sys

comment:3 by fth0, 13 months ago

This issue should be fixed in the VirtualBox Guest Additions 6.1.49r160107 (and newer), which can be found on VirtualBox test builds.

Note that some of the certificate-related messages, especially regarding "NotBefore" and "NotAfter", are simply information from (to be) installed certificates and no error messages.

comment:4 by Boxy, 13 months ago

Sorry, wrote it only in the forum: GA 6.1.49r159549 worked for me. No certificate related messages.

comment:5 by paulson, 9 months ago

Resolution: duplicate
Status: newclosed
Summary: GuestAdditions in VBox v6.1.48 not work in VM with Win7-32bit and Win8.1-32bitGuestAdditions in VBox v6.1.48 not work in VM with Win7-32bit and Win8.1-32bit => duplicate of #21875

Closing as a duplicate of #21875 which was resolved in the VirtualBox 6.1.50 GAs and the 7.0.14 GAs.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette