In the Programs and Features window, select Microsoft .NET Framework 4.5 (or later version).
Then select Uninstall/Modify.
Select Restore, then Next.
Follow the instructions on the screen.
After the repair is complete, restart your computer.