Freigeben über


Error 997. Overlapped I/O operation is in progress: KB2918614 breaks Windows Installer Service

Certain MSI packages may fail with an error "Error 997. Overlapped I/O operation is in progress"

As per the MSI log:

MSI (s) (44:48) [15:07:21:799]: Determining source type
MSI (s) (44:48) [15:07:21:799]: Source type from package 'My_Package.msi': 2
MSI (s) (44:48) [15:07:21:799]: SECREPAIR: Hash Database:
C:\Windows\Installer\SourceHash{AC1B6088-A6FC-9CDA-ABF2-60530F5DA203}
MSI (s) (44:48) [15:07:21:799]: Note: 1: 2262 2: SourceHash 3: -2147287038
MSI (s) (44:48) [15:07:21:815]: SECREPAIR: New Hash Database creation complete.
MSI (s) (44:48) [15:07:21:815]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (44:48) [15:07:21:815]: SECREPAIR: Crypt Provider not initialized. Error:997
MSI (s) (44:48) [15:07:21:815]: SECUREREPAIR: Failed to CreateContentHash of the file:
My_Package.msi: for computing its hash. Error: 997 MSI (s) (44:48)
[15:07:21:815]: SECREPAIR: Failed to create hash for the install source files
MSI (s) (44:48) [15:07:21:815]: Note: 1: 2262 2: SourceHash 3: -2147287038
MSI (s) (44:48) [15:07:21:815]: SECUREREPAIR: SecureRepair Failed. Error code: 3e5E99334B8
MSI (c) (A0:8C) [15:07:21:877]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
Error 997. Overlapped I/O operation is in progress.
MSI (s) (44:48) [15:07:30:769]: Note: 1: 2205 2:  3: Error
MSI (s) (44:48) [15:07:30:769]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709

As per the application Event log:

Log Name:   Application
Source:        MsiInstaller
Date:            2014-09-05 15:07:30
Event ID:      10997
Task Category: None
Level:             Error
Keywords:      Classic
User:              S-1-5-21-1655003508-46252071-1983596133-179088
Computer:      My_Machine

Description:
The description for Event ID 10997 from source MsiInstaller cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. 

If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event:
Product: My_Package 1.0.0.1 -- Error 997. Overlapped I/O operation is in progress.

This is a known issue with the security patch KB2918614 released on 12th August. This issue occurs because update 2918614 uses cryptographic keys and certificates for hashing the installation files together with the logged-in user profile. However, cryptographic keys and certificates cannot be used by mandatory or temporary user profiles. Therefore, when a user uses a mandatory or temporary user profile to install any MSI package, the MSI package installation fails and the error message returns.

Resolution: Please apply this hotfix

P.S. An official fix is in testing and being tracked for release in November patch Tuesday(14-11). There could be some changes due to unexpected events.

Comments

  • Anonymous
    November 03, 2014
    I got the same error when trying to update my VMWare Player version. It looks like the hotfix KB3000988 for this issue which was released on Windows Update did not work at least for the VMWare Player MSI file. I had to uninstall both KB3000988 and KB2918614 to get VMWare Player 6 to install on my Windows 7 system.

  • Anonymous
    November 19, 2014
    I've uninstalled both updates, and my install still won't go through. Any thoughts?

  • Anonymous
    November 24, 2014
    The comment has been removed

  • Anonymous
    January 18, 2015
    Same problem here with .NET Framework 4.5.2 update, any news on this?

  • Anonymous
    January 18, 2015
    This issue was already fixed. Please run windows update and make sure it is up to date.

  • Anonymous
    January 19, 2015
    The comment has been removed

  • Anonymous
    February 18, 2015
    Just followed the instructions from M (20 Jan 2015 6:48 AM), and it worked perfectly. Thank you for sharing.

  • Anonymous
    April 20, 2015
    Massive thanks to "M", hotfix didn't work, your instructions did.

  • Anonymous
    April 28, 2015
    I'm having this same issue, but I'm not sure how to follow M's instructions when it comes to entering the String Value. That is, I don't know how to find the product code. I'm trying to install with .exe files. Does this fix only work with the .msi files you're talking about?

  • Anonymous
    April 28, 2015
    Yes the above blog post applies to MSI install only. Please check if any MSI is wrapped within your EXE

  • Anonymous
    May 02, 2015
    I did it and the problem remained. Except these to you might also need to uninstall KB3008627. Then just restart and you 're good to go! Source: forums.lenovo.com/.../1843896

  • Anonymous
    May 05, 2015
    On : HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsInstaller i do not have Installer, what then?

  • Anonymous
    May 06, 2015
    You need to create the registry key manually.

  • Anonymous
    May 08, 2015
    The above fix that M has found, does this same fix apply to 64 bit operating systems when selecting DWORD (32-bit) value or should i select QWORD (64-bit) value because i am running in 64 bit. Any assistance in this matter would be greatly appreciated.

  • Anonymous
    May 29, 2015
    OK can step 11 be further explained? it says "Create String Values that contain the product codes (including braces {}) of the products that have to be added to the Safe Recipients list." then later says to name it "product code" and leave the value blank. please explain

  • Anonymous
    June 09, 2015
    As someone unfamiliar with this computers in general, I agree with johnathan71118. I need that last step explained a little more, as I have no idea how to find the product code. I'm trying to install C++ 2008 redistributable from the Microsoft website. Does the program need to be on the computer to find the product code?

  • Anonymous
    June 17, 2015
    Thanks.. I have followed 'M' and JJF instruction. issue resolved. Worked for me. I had the same issue for the office 2010. Now solved. very much appreciated.

  • Anonymous
    June 23, 2015
    Hello -- waiting for last step instructions as well.

  • Anonymous
    June 26, 2015
    JJF's comment resolve it.  Thanks!!!

  • Anonymous
    July 16, 2015
    I am getting this error while installing Microsoft updates such as, VCRedis 2008 and even 2010 along with an update for NET framework

  • Anonymous
    July 20, 2015
    I was getting this error back in April when trying to install a new version of VMware workstation. Back then i tried to remove KB2918614 and KB3000988 but it made no difference at that time so i went with the SecureRepairWhitelist workaround instead. Yesterday i tried to install Visual Studio 2015 Enterprise RTM and it failed on the .Net Framework 4.6 bit of the install so i added the SecureRepairWhitelist workaround and got past that bit for it to then fail on the vs_communitycore bit of the install. This was being done on a machine that had never had any VS2015 beta or RC installed previously. After seeing the post from JFF above i removed KB2918614, KB3000988 and KB3008627, rebooted and now Visual Studio 2015 (typical install) has successfully completed. Big thanks to JFF for the tip about KB3008627!!

  • Anonymous
    July 21, 2015
    Guys maybe someone know how to deal with my situation. I have this error 997 while trying to install Visual studio (any version) on my laptop (windows 8.1 single language). Problem is I not have KB2918614, KB3000988 and KB3008627 updates installed on my windows. I even tryed remove all security updates from 2015. Nothing helps.

  • Anonymous
    July 22, 2015
    I've been having the same problem, but after removing KB2918614, KB3000988 and KB3008627... Even with those updates not in place, I'm getting Error 997 for several different installations...right now specifically Business Contact Manager and Microsoft .NET Framework 4.5.2

  • Anonymous
    July 22, 2015
    still can not fix that problem

  • i do not have installed any of that 3 updates and never had before, so i can not delete it
  • i try install hotfix but it can not apply (request did't send me e-mail, i downloaded exe but it can not be applied)
  • i try msiexec /regserver
  • i try recreate admin user
  • i try remove all secure updates and disable autoupdating
  • i try disable windows defender nothing works, I still can not install visual studio and some other software what other can i do? PS i preorder windows 10 update, but i am not sure that problem will be fixed in that update. sorry for my bad english
  • Anonymous
    July 22, 2015
    I also removed KB3072630 and that seemed to help...testing it on another computer soon.

  • Anonymous
    July 23, 2015
    Update: removing KB3072630 in addition to  KB2918614, KB3000988 and KB3008627 seems to have done it for me 3072630 was just released last week

  • Anonymous
    July 23, 2015
    The comment has been removed

  • Anonymous
    July 23, 2015
    Thanks a Jesse... That did a magic :)

  • Anonymous
    July 29, 2015
    Jesse, removing the updates you mention in your Jul 23 2015 posting did it for me too!  I was having this issue with installing SEP Cloud.  Thanks for sharing!

  • Anonymous
    August 03, 2015
    Im getting this error while trying to install visual C++ 2008 sp1 pack and any .net framework updates as well. Microsoft is no help either I really don't want to do a clean install of windows.

  • Anonymous
    August 08, 2015
    I'm having trouble with step 11... I'm trying to install MATLAB which requires Visual C++ 2008 redistributable and hence stuck with the error.

  • Anonymous
    August 25, 2015
    I am a believer! lol . I have been working on this for 3 hours. I have been up and down various sites looking up error codes. The removal of KB3072630 did the trick in my situation after I have already removed everything else. Microsoft really needs to do a better job with their updates and the conflicts they can cause

  • Anonymous
    August 26, 2015
    Please take a look and see if this opt-out method works for you: support.microsoft.com/.../3072630 If it does, the MSI package exercises a vulnerable code path and really should be updated. Running in an opted-out state leaves your machine vulnerable.

  • Anonymous
    September 03, 2015
    Finally, this simple procedure worked for me: social.msdn.microsoft.com/.../overlapped-io-error-997-installing-sql-server-2014-express-on-windows-server-2012-r2 In short: Rename the folder C:ProgramDataMicrosoftCryptoRSAS-1-5-18 to C:ProgramDataMicrosoftCryptoRSAS-1-5-18_old During successful installation of KB3045318 this folder is created again, automatically. At the end, I copied the missing files from the original folder to the new folder.

  • Anonymous
    September 11, 2015
    @Gred Hubner THANK YOU SO MUCH !!!!!!!!!!!!!!!!!!!!! THIS JUST SOLVED MY PROBLEM

  • Anonymous
    September 16, 2015
    I also removed KB3072630, I did not have any of the others, and this fixed it for me.

  • Anonymous
    September 19, 2015
    The comment has been removed

  • Anonymous
    September 20, 2015
    For me it worked when I put the DWORD "SecureRepairPolicy " in HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsInstaller and I set the value as 1 (NOT 2 as suggested by many). Hope this helps someone out there (Wasted too much time on this :P)

  • Anonymous
    September 23, 2015
    It work for me. I really really thank Jesse and Suyash Rathi. Thank you guys. Peace out

  • Anonymous
    September 23, 2015
    I did what Gerd Hübner explained by renaming the C:ProgramDataMicrosoftCryptoRSAS-1-5-18 folder to C:ProgramDataMicrosoftCryptoRSAS-1-5-18_old.  I was trying to install Visual C++ Redistributable 2008 SP1 on Windows 7 Enterprise x64.  Simply renaming that folder allowed the installation.  THANKS!

  • Anonymous
    October 05, 2015
    Yes, I actually found that the Administrators were missing off the C:ProgramDataMicrosoftCryptoRSAS-1-5-18 folder and took ownership and re-applied permissions as full control on this. Installer went through first time! I was having problems with Microsoft Visual Studio Tools for Office Runtime 2010 KB3001652

  • Anonymous
    October 12, 2015
    Yup - renaming the folder C:ProgramDataMicrosoftCryptoRSAS-1-5-18 to C:ProgramDataMicrosoftCryptoRSAS-1-5-18_old worked for me as well.  I did originally try and set the permissions to take full control first, I made these changes - but it did not seem to work.  Renaming the folder did.

  • Anonymous
    October 14, 2015
    Renaming C:ProgramDataMicrosoftCryptoRSAS-1-5-18 to C:ProgramDataMicrosoftCryptoRSAS-1-5-18_old worked for me too. Otherwise, the Universal CRT libraries from the Windows 10 SDK were failing to install with an Overlapped I/O error on Windows Server 2008 R2.

  • Anonymous
    October 16, 2015
    For me it worked too: www.maxxpreston.pl/.../overlapped-io-operation-is-in-progress

  • Anonymous
    October 27, 2015
    The comment has been removed

  • Anonymous
    October 28, 2015
    Surface Pro 4/Windows 10; 1&1/2 days wasted all for the solution of renaming a folder MSFT get a clue, developers don't have time for this nonsense.

  • Anonymous
    October 30, 2015
    Renaming C:ProgramDataMicrosoftCryptoRSAS-1-5-18 to C:ProgramDataMicrosoftCryptoRSAS-1-5-18_old worked for me too. On windows 10 64bit while installing MATLAB

  • Anonymous
    November 02, 2015
    NTFS permissions on C:ProgramDataMicrosoftCryptoRSAS-1-5-18 were totally borked on my install too. Replacing the permissions with inheritable permission and taking ownership fixed this error. Proper log files with an "access denied" error message would have made this easier... for shame.

  • Anonymous
    November 18, 2015
    Rename the folder worked for me too.  Win 8.1 Pro + Visual Studio 2015 Community install was failing - now finished no problem

  • Anonymous
    November 21, 2015
    Jesse - don't know you but sending you a {{{{hug}}}}!!! I've wasted over 4 hours of my Saturday dealing with this issue and removing KB3072630 solved it. It all started with just trying to install a Seagate 1TB external hard drive in order to backup files so that I could upgrade from Vista, but the Microsoft .NET Framework 4.5.2 for Windows Vista x64 (KB2901983) upgrade kept getting error code 643 (80070643).  Uninstalling/reinstalling .NET framework did not solve it, nor did uninstalling KB3008621, KB2918614 and KB3000988. There is a hotfix for KB2918614 support.microsoft.com/.../3000988 but I followed your suggestion first which solved it.  MANY, MANY thanks!

  • Anonymous
    December 21, 2015
    I've had this issue two times and to resolve the issue all I've had to do is uninstall two KBs and then restart.

  1. Go to "View Installed Updates" (Windows 7 at least)
  2. Search for the following KBs and click "Uninstall" to uninstall them    i.  KB3008627    ii. KB3072630
  3. Reboot and try to install the application again For me the issue was with various versions of Visual C++ Redistributables
  • Anonymous
    January 10, 2016
    Renaming C:ProgramDataMicrosoftCryptoRSAS-1-5-18 to C:ProgramDataMicrosoftCryptoRSAS-1-5-18_old worked for me too. Window 10 1511 Enterprise Visual Studio Professional 2015 with Update 1

  • Anonymous
    January 12, 2016
    @Gerd Hübner Your decision saved me! Thank you!

  • Anonymous
    January 20, 2016
    Another +1 for Gerd Hübner - thanks!

  • Anonymous
    January 23, 2016
    FIXED: When installing Visual Studio 2015 Community Update 1 Registry Edit..

  1. REGEDIT 2.Go To HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsInstaller ("Installer" didn't exist for me initially, I had to create it.) Add DWORD "SecureRepairPolicy with value of 1. Install VS2015 :)
  • Anonymous
    January 28, 2016
    Renaming C:ProgramDataMicrosoftCryptoRSAS-1-5-18 to C:ProgramDataMicrosoftCryptoRSAS-1-5-18_old FIXED "vs_communitycore Error 997.Overlapped I/O operation is in progress." installing Visual Studio 2015 Community on WIndows 10. Thank you.

  • Anonymous
    February 01, 2016
    The comment has been removed

  • Anonymous
    February 02, 2016
    Jesse's solution in his Jul 23, 2015 response worked for me as well.

  • Anonymous
    February 26, 2016
    Uninstalling KB3072630 helped me too :)

  • Anonymous
    February 27, 2016
    Renaming the folder C:ProgramDataMicrosoftCryptoRSAS-1-5-18 to C:ProgramDataMicrosoftCryptoRSAS-1-5-18_old helped too. There was no need to uninstall KB3072630

    • Anonymous
      June 02, 2016
      I got an "Error 997. Overlapped I/O operation is in progress" when trying to install SEP 12.1.6 MP4. Installed hotfix KB3000988 did not help. Renamed the hidden folder C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 to C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18_old and reinstalled SEP. It WORKED!!!It would automatically recreated ....\S-1-5-18 folder.Thank you very much!
  • Anonymous
    March 01, 2016
    Hi All, Renaming the folder C:ProgramDataMicrosoftCryptoRSAS-1-5-18 to S-1-5-18_old worked for me! OS: Windows 2012 R2 x64 Application installing: Visual Studio 2012 Ultimate Thanks!

  • Anonymous
    March 13, 2016
    Changing the permissions on C:ProgramDataMicrosoftCryptoRSAS-1-5-18 to allow <SYSTEM> and <local administrators group> solved the issue in my case (no need to rename the folder or uninstall any KB's).

  • Anonymous
    July 29, 2016
    I have Windows 10 with the latest updates and literally none of this other stuff worked for me except ->HKEY_LOCAL_MACHINE SOFTWARE Policies Microsoft Windows Installeradd a new DWORD -> "SecureRepairPolicy" Set value as 1 (NOT 2).

  • Anonymous
    November 09, 2016
    Hi All,Renaming the folder C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 to S-1-5-18_old worked for me too !OS: Windows 10 x64 V1607Application installing: Acronis Backup V12error on acronis install log : Crypt Provider not initializedThanks!