edit-icon download-icon

Failed to install .NET Framework 3.5.1 on Windows Server 2012 R2 or Windows Server 2016

Last Updated: Dec 24, 2017

Problem

When I installed .NET Framework 3.5.1 to the Windows Server 2012 R2 or Windows Server 2016 system, an error was prompted as shown in the following figure.
ECS _ WindowsUpdate _ NET Framework 3.5

Cause

The installation source file cannot be found.

Solution

You can use PowerShell script to install.NET Framework 3.5.1.

  1. Find PowerShell in the Start menu, and right click it and select Run as administrator.

  2. Enter the following script and press the Enter key to run the script.

    1. Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 0
    2. Restart-Service -Name wuauserv
    3. Install-WindowsFeature Net-Framework-Core
    4. Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 1
    5. Restart-Service -Name wuauserv
Thank you! We've received your feedback.