Windows Server R2 or 2016 cannot install. Net 3.5.1
Problem Description
Using Windows Server R2 or the Windows Server 2016 system, it was found that the. NET 3.5.1 times error was installed, and the error content was as follows:
Cause analysis
The installation source file could not be found.
Solutions
Installation can be done with the following PowerShell script:
- From the Start menu, locate PowerShell, right-click to select Run as Administrator.
Enter the following script and return to execute:
Set-ItemProperty -Path ‘HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU‘ -Name UseWUServer -Value 0
Restart-Service -Name wuauserv
Install-WindowsFeature Net-Framework-Core
Set-ItemProperty -Path ‘HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU‘ -Name UseWUServer -Value 1
Restart-Service -Name wuauserv
Windows Server R2 or 2016 cannot install. Net 3.5.1