DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Discussions about using Windows guests in VirtualBox.
Post Reply
wlh
Posts: 1
Joined: 23. Jan 2025, 17:48

DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by wlh »

Installing Guest Additions version 7.1.6 (Rev 167084) into a Windows 7 (32-bit) image results in error:
*** Error: DiInstallDriverW() failed: ERROR_FILE_HASH_HOT_IN_CATALOG (-536870325 / 0xe000024b)
*** Error: Installing driver(s) failed with 1 errors, 0 warnings (rc=VERR_INSTALLATION_FAILED)
*** Error: Driver installation failed with VERR_INSTALLATION_FAILED
Grumbler
Posts: 4
Joined: 7. Feb 2024, 19:52

Re: DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by Grumbler »

same problem with 7.0.24 guest additions in Windows 7 (64bit)
pentagonik
Oracle Corporation
Posts: 325
Joined: 19. May 2008, 16:09
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Too many to specify!
Contact:

Re: DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by pentagonik »

Did you try installing the VBox certificates in the ISO cert/ directory?
AnalogQuant
Posts: 2
Joined: 25. Jan 2025, 12:50

Re: DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by AnalogQuant »

Same Problem with 7.1.6.
Linux Mint 22.1 host, Win 10 guest.
I followed your Tip w installing cert. Some certs were already installed, some not.
But installing Guest Additions still failed.
vthokies96
Posts: 8
Joined: 14. Dec 2018, 06:40

Re: DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by vthokies96 »

I have the same issue -- are there instructions on installing certificates? I am not sure what it means and a cursory search hasn't made it clear to me yet.
vthokies96
Posts: 8
Joined: 14. Dec 2018, 06:40

Re: DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by vthokies96 »

I guess it's this: https://www.virtualbox.org/manual/ch04. ... ns-windows (under 4.2.1.3, titled "Installing Code Signing Certificates").

I did this, but also forgot I had not run the install .exe as Administrator and ended up doing both, which solved the issue. Maybe I didn't need to do the cert install first if I had remember to run the .exe as Administrator.
pentagonik
Oracle Corporation
Posts: 325
Joined: 19. May 2008, 16:09
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Too many to specify!
Contact:

Re: DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by pentagonik »

That's right, the certificates need to be installed manually before installing the Guest Additions.
AnalogQuant
Posts: 2
Joined: 25. Jan 2025, 12:50

Re: DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by AnalogQuant »

pentagonik wrote: 27. Jan 2025, 11:45 That's right, the certificates need to be installed manually before installing the Guest Additions.
really? In never installed certificates manually since 6.0.x
I also only read from the documentation that the certificates should or must be installed beforehand for an unattended installation.
Are these certificates not also installed with the installer?

However, I had installed the certificates manually via administrator and there were messages about certificates that already existed and a few that were installed (because new?)

The errors listed by the thread opener were still there afterwards. (Note: Win 8.1 for me, I made a mistake in my post. I have Win 8.1 and Win 10 guests, but so far I have installed the guest additions for Win 8.1, not Win 10 - sorry)

@pentagonik, I raise this objection with the appropriate humility, because you seem to be a developer/maintainer/supporter of the Guest Additions - so if you say: that's the way it is, then I don't want to and can't contradict that. Nevertheless, the manual installation of the certificates does not seem to have worked for me.
Smoerrebroed
Posts: 7
Joined: 15. Jun 2018, 13:11

Re: DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by Smoerrebroed »

Same here. Went back to 7.1.4 and everything works like a charm, so I daresay something is at least different (if not wrong) with 7.1.6 on Windows 8.1.
ILP
Posts: 2
Joined: 28. Jan 2025, 13:54

Re: DiInstallDriverW Error installing Win 7 guest additions 7.1.6

Post by ILP »

Same problem for me. Even after installing the certificates manually with the command:
VBoxCertUtil.exe add-trusted-publisher vbox*.cer --root vbox*.cer

In addition to the “supR3HardenedWinSpawn” error since 7.1.6. I think I'll downgrade to 7.1.4 while waiting for a less buggy version :?
Post Reply