Windows PowerShell
Press Windows key + S. The Search window will be displayed.
Type PowerShell. Search results for Windows PowerShell will be displayed.
Right-click on Windows PowerShell and select Run as administrator from the context menu. A User Account Control window will be displayed.
Click Yes. A Windows PowerShell window will be displayed.
Install the .NET Framework 3.5 using the following command:
DISM /Online /Add-Capability /CapabilityName:NetFx3~~~~ /Source:\\eagle1\software$\Win-10-Upgrade\Win-10\sources\sxs
You may receive this error when trying to install DotNet (.net) on Windows 10 and you are using a WSUS server. This error may occur of the .net installer is not approved in WSUS.
As a temporary workaround, change the registry key “UseWUServer” to 0. It is located at:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
After the registry change, restart the Windows Update service. You should be able to install .net at this time. Once done you should change this key back to its original value (or wait and allow Group Policy to do it for you.)