Usually need to go to Control Panel - Programs and Features - enable or disable the feature is enabled in windows .net framework 3.5
But often fails
In case of failure, you can use the following command (as administrator open cmd):
dism.exe /online /enable-feature /featurename:netfx3 /Source:C:\Windows\WinSxS