Windows: Install Failure: Error 997. Overlapped I/O operation is in progress
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 or Rename the S-1-5-18 folder in C:\ProgramData\Microsoft\Crypto\RSA ren C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 S-1-5-18_old