I have found that after performing a clean install of Windows 10 that sometimes .NET Framework 3.5 is not installed. I have run into scenarios where even though I had 4..6 installed I still needed 3.5.
If you have a non domain computer the quickest way to install 3.5 is to open Programs and Features and click on Turn Windows features on or off. This will open another where you can turn on .NET Framework 3.5.
If you are on a domain computer, specifically a domain that is using WSUS, then the above procedure will probably not work. This is due to the fact that the above procedure uses Windows Update to install the program. Since WSUS redirects the PC to a different server the install package is not available. To install .NET Framework in this scenario you will need a windows 10 install disc. Insert the disc into you drive and open a Command Prompt as an admin. In the Command Prompt window type the following command and press Enter:
dism /online /add-package /packagepath:E:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab
Make sure to replace E with the drive letter of you device.