How To Fix Failed to Install .Net 3.5 on Windows Server 2012

I was trying to install .Net 3.5 on a Windows Server 2012 machine through “Add or Remove Features” wizard, like I did many times before. But this time, it’s failed with an error message about “the source could not be found.”

Server 2012 Install Net 35 failed 600x267 - How To Fix Failed to Install .Net 3.5 on Windows Server 2012

Turns out, what’s caused this problem is that the server was configured to use WSUS instead of Microsoft Windows Update server. Because Windows needs to download the 3.5 installation files from Windows Update service, it couldn’t if it’s configured to use WSUS.

The fix is also pretty straightforward, just one Group Policy setting that needs to be changed. And you can do so through Local Group Policy so it doesn’t affect the Group Policies you have in place on a domain level.

Open Group Policy Editor, navigate to the following location:

Open “Specify settings for optional component installation and component repair” setting, select Enable and choose the “Contact Windows update directly to download repair content instead of Windows Server Update Service (WSUS)” checkbox.

Local Group Policy Specify settings for optional component installation and component repair 600x550 - How To Fix Failed to Install .Net 3.5 on Windows Server 2012

Click OK.

.Net 3.5 feature got installed successfully after I tried again.

 

Leave a Reply

Your email address will not be published. Required fields are marked *