Monday 9 January 2017

Configure SharePoint 2013 in Windows Server 2012 R2

I was recently trying to install SharePoint 2013 on Windows Server 2012 R2. But when I start to install I got many errors in installation. In this blog I am defining the steps and resolutions that I followed to install the SharePoint 2013 in Windows Server 2012 R2.

The Problem with SharePoint 2013 on Windows 2012 R2

As we know that SharePoint 2013 came onto the market before Windows 2012 R2 so it is not supported to install Sharepoint 2013 on Windows 2012 R2. Anyhow, I tried to install SharePoint 2013 onto Windows 2012 R2 and then patch up to SharePoint 2013 SP1.
Reference - https://blogs.technet.microsoft.com/wbaer/2013/09/22/sharepoint-2013-support-for-windows-server-2012-r2/
Before I start solving the problem and solution, it is important that it is possible to download a Microsoft provided slip-streamed iso of SharePoint 2013 with SP1. For this user should have access to a MSDN Subscription.

We can also do one change in system32 directory so that you will be able to check pre-requisites status and installing the same using check prerequisiteinstaller.exe wizard.

  1. Go to System drive where windows server 2012 is installed. Normally it is drive C:.
  2. Go to Windows Folder.
  3. Go to System32 Folder.
  4. Look for "ServerManager.exe" file.
  5. Create a copy of this file. (Remember not to remove or change this file)
  6. Now rename the new file with "ServerManagercmd.exe".
  7. Now run the "Prerequisiteinstaller.exe" file now it will work.

Otherwise you can follow steps to install Pre-requisites manually and correctly in Windows Server 2012 R2 in SharePoint 2013 -

Here in path the drive ‘D’ is the name of drive where Windows 2012 R2 disk is inserted. Path is – D:\sources\sxs
1. Enable the Windows-Identity-Foundation feature:

Get-WindowsFeature Windows-Identity-Foundation|
Add-WindowsFeature -source:”Path”

2. Enable the Application-Server role:

Get-WindowsFeature Application-Server|
Add-WindowsFeature -source:”Path”

3. Enable the Web-Server role and management tools:

Get-WindowsFeatureWeb-Server|
Add-WindowsFeature -source:”Path” -IncludeManagementTools

4. Enable the IIS 6 Management Compatibility component:

Get-WindowsFeature Web-Mgmt-Compat|
Add-WindowsFeature -source:”Path”

5. Download and install WCF Data Services (5.0.512) from  http://www.microsoft.com/en-gb/download/details.aspx?id=29306

6. Download and install Windows Identity Extensions (1.0) from  http://go.microsoft.com/fwlink/?LinkID=252368

7. Download Windows Server AppFabric (1.1) from 
and install it through the command line:

WindowsServerAppFabricSetup_x64.exe /I CacheClient,CachingService,CacheAdmin /gac

8. Reboot Server.

9. Download and install AppFabric 1.1 CU1 from 

10. Download and install Sync Framework Runtime v1.0 SP1 from 
(extract and execute the synchronization.msi installer from the Microsoft Sync Framework directory).

11. Download and install Microsoft Information Protection and Control Client from 

12. Reboot Server.

13. Download and install the SQL Server 2012 Native Client from http://go.microsoft.com/fwlink/?LinkID=239648 
(minimum requirement is SQL Server 2008 R2 SP1).

14. Reboot Server (for good measure).


After pre-requisite has been installed in the above sequence and start installing SharePoint 2013. Now you will be able to install SharePoint 2013 on Windows Server 2012 R2 easily.

Post SharePoint 2013 installation do not forget to patch to SharePoint 2013 Service Pack 1.

No comments:

Post a Comment