So many things require Microsoft’s .NET Framework it is inevitable that administrators will run into problems. Sometimes the best thing to do is just repair or remove .NET.
1: Repair .NET
Go to APPS AND FEATURES, then click on .NET and select REPAIR. Note that .NET will only appear here if you had previously manually installed .NET, so don’t panic if you don’t see it there.
2: Scan the Operating System for Problems
Open a command prompt and type:
SFC /SCANNOW or
DISM /Online /Cleanup-Image /RestoreHealth
3: Use the .NET Framework Repair Tool
This was formerly named .NET Framework Setup Verification Tool, and you can download this wonder little .NET fixer directly from Microsoft HERE.
4: Install the Full Version of .NET
Uninstall your current .NET and any related patches, then download and run the full .NET Framework Offline Installer. In our case we needed .NET 4.8 which you can get from Microsoft HERE.
5: Command Line Uninstall & Reinstall of .NET
The most complex method of repairing .NET is using command line scripts so we created a separate article to explain the process which you can read HERE.