Press Windows + W key on the keyboard.
Type Windows Features in the search option and click Settings.
Click on Turn Windows Features on or off.
Uncheck .NET Framework Advanced Services and restart the computer.
After the computer is restarted, you may go to the same location and turn it ON.
Make sure that you restart the computer again.