Win7-32 and VB 5.2.44 r139111: Error loading 'crypt32.dll': 1790 [C:\Windows\system32\crypt32.dll]

Discussions related to using VirtualBox on Windows hosts.

Win7-32 and VB 5.2.44 r139111: Error loading 'crypt32.dll': 1790 [C:\Windows\system32\crypt32.dll]

Postby MarkFalk » 21. Apr 2021, 19:41

for use with Win7-32Bit I am using the latest 3Bit-capable-VB: 5.2.44 r139111. The Win7-21-host has the the latest updates from 1/2020. The same VB-version (VB 5.2.44 r139111) and the same VM (also Win7.32) is running in Win10-32 and Win10-64 w/o problems.
After installing and testing the Win7-VM with VB 5.2.44 r139111 running in Win10-32 and Win10-64 I have installed VB 5.2.44 r139111 in my Win7-32-installations. One installation is some years old and since them in productive use with a lot of installed and deinstalled software, the other installation ist for reference and tests only, installed only some basic tools and software.
After solving the VBoxDrvStub-problem (viewtopic.php?t=66442) VB is running. But when starting the VM (Win7.32), which is running with VB 5.2.44 r139111 in Win10-32 and Win10-64 it fails in both Win7-32-hosts:
In the old Win7-installation VB stops with the short message of errorcode:
E_FAIL (0x80004005)
In the "new" Win7-Installation the error-message-report advices looking into VBoxhardening.log. In both VBhardening.logs the last lines say

199c.878: Fatal error:
199c.878: Error loading 'crypt32.dll': 1790 [C:\Windows\system32\crypt32.dll]
1b8.18f4: supR3HardNtChildWaitFor[2]: Quitting: ExitCode=0x1 ...
1cc0.fd0: supR3HardNtChildWaitFor[1]: Quitting: ExitCode=0x1 ...

I have attach both logs .

When searching for a solution I found some hints (e.g. viewtopic.php?t=65056&f=6) that KB3004394 from 2014 should be the reason and fixing with KB3024777 - but my installations already have the latest updates from end of 2019 and so KB3004394 is not installed (and downloaded and executed KB3024777 has no result). And the file crypt32.dll ist the latest version from 10.12.2019.

Because I did not found a solution I have installed VB additional on an other Win7-32-test-installation which I did not update to the latest versions; it was updated around 2017 at last. It´s crypt32.dll is dating from 2015. And with this old Win7-32-version the VM is running!
For testing I have copied it´s crypt32.dll to the updated installations but this did not help.

So I tried do find some more informations in the log-files and realized some dozend failed-messages like:
199c.878: supR3HardNtViCallWinVerifyTrustCatFile: CryptCATAdminEnumCatalogFromHash failed ERRROR_NOT_FOUND (2388525639)
I assume that they refer to different (around 1 dozend) files which are mentioned some lines above each failed-messages, e.g.
199c.878: supR3HardNtViCallWinVerifyTrustCatFile: hFile=000000c4 pwszName=\Device\HarddiskVolume2\Windows\System32\wintrust.dll
199c.878: supR3HardNtViCallWinVerifyTrustCatFile: hFile=00000364 pwszName=\Device\HarddiskVolume2\Windows\System32\shlwapi.dll
and some other files (see the attached logs).
But all the referred files are existing and their age is different.

When searching for this messages I found the hint using sfc /scannow. I did so in both installations, but w/o result (after reboot): Some problems are found but can not be solved. From the content of cbs.log I can no see any problem I could solve; the CBS-log (of the older installation) is also attached.

It is significant that the problem only occurs with the final updated Win7-32-installations, not with the old, not updated version. But don´t using the final updates is no solution. So I hope that some of you have an idea how I can solve the problem.
(45.77 KiB) Downloaded 5 times
(10.86 KiB) Downloaded 6 times
(10.22 KiB) Downloaded 6 times
Posts: 29
Joined: 11. Mar 2021, 19:16

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 31 guests