Problem Description: If you are installing .Net Framework 3.5 (includes .Net 2.0 and 3.0) on Windows 10 or Windows 2016 server, you may encounter this issue. If you download offline installer or use DISM commands for .Net Framework, Windows still considers it as a feature and always try to enable it from Windows Feature.
Windows considers .Net Framework as a feature and hence it tries to use Windows Update services to download the files needed for installation. If this package is not approved on WSUS, Windows cannot download the required files and hence in the download process it throws the error. To resolve this issue temporary bypass your WSUS server, so Windows can connect directly to MS Update and download the files.
- Open regedit and go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
- Edit the key UseWUServer, change the value data to 0.
- Restart Windows Update service.
Now try to enable feature .Net Framework 3.5 (includes .Net 2.0 and 3.0)
Once you are done with .Net Installation, please change the UseWUServer registry key data value to 1.