November 22, 2016

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

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

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.

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

  1. Hi Sam,
    Thanks for the reply,
    If your current version is .NET Framework 4.7, so you can find the following KB’s bellow in installed programs:
    Microsoft.Net Framework 4.7 for Windows 8.1 and Windows Server 2012 R2 for x64 (KB31186539)
    Microsoft.Net Framework 4.7.1 for Windows 8.1 and Windows Server 2012 R2 for x64 (KB4033369)
    Microsoft.Net Framework 4.7.2 forWindows Server 2012 R2 for x64 (KB4054566)

    You need to uninstall all the mentions KB and try.

  2. I just had this issue today (August 9th, 2018).
    After removing KB3102467, .NET version was 4.6.00081.
    After also uninstalling KB3045563, .NET version was 4.5.51641.
    I was then able to install SPF 2013 on 2012 R2.

Leave a Reply

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