November 22, 2016

SharePoint 2013 installation Error in Windows Server 2012 R2 due to updated .Net Framework 4.5

2751 Views

Issue: - While installing SharePoint 2013 SP1 on Windows Server 2012 R2, the installation error out if windows update has been run prior installation of SP. Following is the error seen in the below clipping. Error: “Setup is unable to proceed due to the following errors SharePoint 2013. This product requires Microsoft .Net Framework 4.5” Image 1 Scenario:-

1. SharePoint 2013 SP1 pre-requisite installed successfully along with MS Recommended Windows.

2. Windows update essential updates the .Net Framework to version 4.6. This causes a false alert for Sharepoint 2013 installer that pre-requisite .Net Framework 4.5 is required.

Solution: -
  1. Confirm the .Net Version

Open PowerShell and run the following command.

Set-Location 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client'.

Get-ItemProperty -Path . | Select-Object Version.

The output is shown as below:

Image 2

2. Open Windows Update and find the KBnumber in Microsoft .NET Framework 4.6.1 for Windows Server 2012 R2 for x64 (KB3102467).

Image 3

3.  Click on Installed Updates.

Image 4

4. Browse to find KB number KB3102467.

Image 5

5. Right Click on the KB and Click on Uninstall and confirm Yes.

Image 6

Image 7

Image 8

6. After restarting the server and run the following PowerShellcommand again to confirm the .Net Framework version.

Set-Location 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client'

Get-ItemProperty -Path . | Select-Object Version

Image 9

7. Now you can continue the installation of SharePoint 2013 SP1.

Note: Please do not forget to Run an Windows update after Sharepoint 2013 is installed which will possibly install new updates for SharePoint too.

Leave a Reply

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