Error 997. Overlapped I/O operation - 0x80070643 - Fatal error during installation - .NET framework

Event Viewer error message:
Event ID 10997 from source MsiInstaller cannot be found (...) Product: Microsoft .NET Framework 4.5.2 -- Error 997. Error 997. Overlapped I/O operation is in progress.

The error initially occurred in Windows Update (important update).

The error message occurs as a result of install attempts for .net framework 4.0, 4.5, or 4.52. Originally, the PC ran 4.51.

The Install Log states:
<Returning IDOK. INSTALLMESSAGE_ERROR [Overlapped I/O operation is in progress. ]> und
<Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. ">

How can I find out what I/O operation in progress the overlap occurs with?

I already tried various solutions suggested in different forums, none was successful, e. g.
- Repair Tool
- cleanup Tool

- SFC /scannow

Even reverting back to an 18 month old harddisk image did not solve the problem. I have a different PC on which the .NET update ran successfully and that was set-up in parallel to the PC on which this issue occurs.

Grateful for any hints or solutions - kind regds.

-----------
Complete event viewer message:
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: Microsoft .NET Framework 4.5.2 -- Error 997. Error 997. Overlapped I/O operation is in progress.

(NULL)
(NULL)
(NULL)
(NULL)
(NULL)

the message resource is present but the message is not found in the string/message table
-------------

 

Question Info


Last updated October 30, 2019 Views 12,295 Applies to:

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

Hi,

 

Thank you for posting in Microsoft Community.

 

I appreciate your efforts in performing SFC scan and also running repair and clean tools.

 

I suggest you to refer to the post of Anshul Arona on Feb 13, 2014 and follow the steps as suggested from the below link.

http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/net-framework-35-fails-with-error-0x80070643/0115e938-f11f-4b0d-a15b-8985548b9dd7

I also suggest you to disable Antivirus software temporarily and check if it helps.

http://windows.microsoft.com/en-US/windows7/Disable-antivirus-software

Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do have to temporarily disable it to install other software, you should re-enable it as soon as you're done. If you are connected to the Internet or a network during the time your antivirus software is disabled, your computer is vulnerable to attacks.

Keep us updated about the status of the issue.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hello Ganesh, many thanks for your suggestion and apologies for my late reply.

I had posted the same question to the German forum from where the suggestion came to apply an inline update. Unfortunately only an inline update has solved the issue. Which I find very disappointing because obviously it is very time consuming.

What I find particularly strange is that I restored an image from only a short period after the clean installation of Win7 and still the error occurred. Which means that a sleeping error was present on the machine for months for no obvious reason and only became obvious at the attempted installation of a new .net framework version.

Thx again for your support

Jochen

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

The fix of this issue is to rename c:\program data\microsoft\crypto\RSA\S-1-5-18 and try re-installation of .net again.

132 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

The fix of this issue is to rename c:\program data\microsoft\crypto\RSA\S-1-5-18 and try re-installation of .net again.

I had an issue after installed Just Cause 3 through Steam.  The game wouldn't launch after trying to install Visual Studio Redistributable 2010.

A look in the error logs led me to:

Product: Microsoft Visual C++ 2010  x86 Redistributable - 10.0.30319 -- Error 997.Overlapped I/O operation is in progress.

Tried many things, but Rajesh's solution is the only one that worked.

Good luck!

1 person was helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

The same thing happened to me today, and Rajesh's solution worked!

1 person was helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Thanks a lot, It worked !!

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

***You don't have to rename/delete this folder!!***

Just right click Properties and add a folder permission to it for "SYSTEM" and grant it "Full Control".

I hit this error myself trying to install .NET Framework 4.6.1 (Both the install via Windows Update and the MS downloaded installer file were failing with the above error in the logs.) None of the standard troubleshooting/Fixit/.Net Cleanup utilities did anything to resolve the issue.

While Rajesh's suggestion of re-naming the folder does indeed allow the .NET install to succeed, what ends up happening is the "S-1-5-18" folder gets re-created when the installer runs. Considering I'm pretty sure this folder houses some of your user account(maybe) RSA private keys, I would think that even renaming the folder just removed those private keys from ever being accessed again. So you had better hope nothing important was signed/encrypted with them.

Not liking that prospect I kept googling and found another old article talking about issues with .NET 3.5 that suggested Local System needed file permissions on some folder and adding it allowed that install to complete successfully.  I ripped out .NET 4.6.1 and put my original "S-1-5-18" folder back the way it was before renaming it and sure enough the .NET 4.6.1 install failed yet again. Then tried out simply adding the file permission to the folder and BOOM! .NET install suddenly succeeded without so much as a reboot and everything that was in my "S-1-5-18" folder stayed put! FTW.

23 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Thanks for your post. This worked perfectly!

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Thank you so much.   It worked! 

In case you get permission denied errors when trying to set the permissions to the RSA directory, to take ownership of all files and folders in the RSA directory you can run the following commands:

cd c:\ProgramData\Microsoft\Crypto\RSA

takeown /f * /a /r

You should then be able to add System with full control to the directory and it's subdirectories without issue.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Good one Rajesh - worked a charm!

1 person was helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.