I had a huge malware issue and I solved it by running the Avira Rescue System on a bootable flashdrive which luckily removed the malware but now my .NET Framework is completely broken, the registry is missing a bunch of stuff. Firstly, I get an error when trying to launch certain applications:

enter image description here

Attempting to reinstall the latest version gives me this:

enter image description here

And so I tried following the directions here but when I open regedit:

enter image description here

My registry is missing an entire section pertaining to the .NET Framework.

enter image description here

Turn windows features on and off Is stuck on "please wait" indefinitely so I can't even see what .NET Frameworks Windows says I have installed, and yet:

enter image description here

I clearly have several versions of the .Net framework installed.

In Microsoft's never-ending pursuit to make their operating system as inconvenient as posible they've made it impossible for you to uninstall the .NET Framework so manual re-installation isn't possible. I've tried their .NET Framework repair wizard but that was about as useful as a screen door on a submarine. Hlp plz.

  • 2
    Reset your installation. It’s hosed. There isn’t a way to reinstall or repair .Net 4.7.2 on Windows 10. – Ramhound Jul 2 '18 at 0:26

I don't know if this will solve the problem, but you could export the missing registry key from another computer, and import on the broken PC. Additionally, you could install another windows in a VM and then grap the key.

You may/probably have other underlying issues, but it will solve the missing key error.

InstallRoot is C:\Windows\Microsoft.NET\Framework64\

on my PC and its probably the same for you.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.