Windows: Install Failure: Error 997. Overlapped I/O operation is in progress

Hi,

a customer tries to install .NET 4.6.2 and it ends up in error. Errors in the installer log:

...
SECREPAIR: A general error running CryptAcquireContext / Crypt Provider not initialized. Error:-2146893813
...
Install Failure: Error 997. Overlapped I/O operation is in progress
...

These errors are some known issues of the Windows Installer Update KB2918614.

The Update KB3000988 should solve the problem but cannot installed anymore because it is marked as expired (in WSUS).

There are two other methods tp repair the system. First set SecureRepairPolicy to 1.

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer /v SecureRepairPolicy /d 1 /f /t REG_DWORD
[shell]

or Rename the S-1-5-18 folder in C:\ProgramData\Microsoft\Crypto\RSA
[shell]
ren C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18  S-1-5-18_old

Michael

Advertisment to support michlstechblog.info

4 thoughts on “Windows: Install Failure: Error 997. Overlapped I/O operation is in progress”

  1. Thanks Michael,
    This was a huge help. After desperately scouring Reddit and Technet forums, your solution was the only one that worked!

  2. Donation made.
    I searched high and low for resolution to Error:997.
    Renaming the RSA subdirectory did not help.

    Adding the above registry key worked great.
    This saved a complete rebuild of a complicated Win7 laptop for my client.

Leave a Reply to Michael Cancel reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.