Code: Select all
Installing guest driver ... Executing: "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" dri... Installing driver ... INF-File: C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf (1) ENTER: DriverPackageInstallW (1) RETURN: DriverPackageInstallW (0xE0000247) ERROR: Adding driver to the driver store failed!! Execution returned exit code: 2 Error excuting ""C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe...
Windows has an Automatic Root Certificates Update feature that will try to install a better root certificate, but this doesn’t work if the guest can’t reach the Internet (as in my case) or if the feature has been disabled using Group Policy. In this situation, you can download and install the certificate manually:
- Download the certificate from DigiCert. I can’t post a link, but at this writing, if you search for DigiCert root certificates in Google or Bing, the DigiCert download page is the first result. Find the DigiCert Assured ID Root CA on that page, and click the Download DER/CRT link to get a copy of the DigiCertAssuredIDRootCA.crt file, which contains a self-signed version of the certificate, valid until 2031.
- Copy the DigiCertAssuredIDRootCA.crt file to the Windows guest. If the Guest Additions aren’t installed, you may not be able to use copy and paste or drag and drop. Instead, copy the file over the network or create an ISO 9660 image (.iso file) containing the certificate file and attach it to the guest.
- Install the certificate on the guest. In File Explorer, right-click the DigiCertAssuredIDRootCA.crt file, and then click Install Certificate. In the Certificate Import Wizard, click Local Machine, Next, Place all certificates in the following store, Browse, Trusted Root Certification Authorities, OK, Next, and Finish.
- Retry the Guest Additions installation, which should succeed with only the usual “Would you like to install this device software?” prompts.