How to install SharePoint 2013 on Windows Server 2012 R2
Recently I wanted to test out a few new servers in my test environment. I decided upon a new SharePoint 2013 server in a clustered farm. Though right off the bat I ran into a metric pant load of problems. I had successful setup my , DC, database server, and had my app and front-end servers fully updated and ready to go, but SharePoint would not install on these Server 2012R2 servers.
I did some research on this issue and ran across multiple solutions that could have solved my problem such as automation scripts that would install SharePoint’s Prerequisites, to having to manually install packages separately, though each one failed when it came to configuring the web server IIS and or application server. I finally ran across this blog post. Which worked perfectly. I would highly recommend this post to anyone have issue with installing SharePoint 2013 on Server 2012R2.
According to the official Microsoft Statement, this is not supported until release of Service Pack 1 for SP2013. However, if you don’t want to wait and also already love advantages of R2, within this post I will share my successful experience installing SP2013 on Windows Server 2012 R2.
1. Login to your R2 server as Administrator. You can as well perform this step under the Farm Administrator account, which should be also local administrator on the server. Start Power Shell as Administrator and execute following statements:
Import-Module ServerManager Add-WindowsFeature NET-WCF-HTTP-Activation45,NET-WCF-TCP-Activation45,NET-WCF-Pipe-Activation45 -Source D:\Sources\sxs Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Application-Server,AS-Web-Support,AS-TCP-Port-Sharing,AS-WAS-Support, AS-HTTP-Activation,AS-TCP-Activation,AS-Named-Pipes,AS-Net-Framework,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer -Source D:\Sources\sxs
2. Download all prerequisites from the Internet and save it on local disk of the server, e.g. C:\SP2013Prereq:
SQL Server 2008 R2 SP1 Native Client
Microsoft WCF Data Services 5.0
Microsoft Information Protection and Control Client (MSIPC)
Microsoft Sync Framework Runtime v1.0 SP1 (x64)
Windows Identity Extensions
Windows Identity Foundation (KB974405)
Windows Server AppFabric
CU 1 for AppFabric 1.1 (KB2671763)
3. Install all prerequisites directly from the prerequisites folder in the download sequence, EXCEPT the last two (AppFabric and CU 1 for AppFabric).
4. AppFabric requires special configuration, therefore installing it usually is not be enough for SharePoint. Install it using following statement from command line: (CMD)
WindowsServerAppFabricSetup_x64.exe /i CacheClient","CachingService","CacheAdmin /gac
Note: The syntax with quotas is correct, it separates commas, not the components.
5. Install AppFabric1.1-RTM-KB2671763-x64-ENU
6. Restart your server
Congratulations! Now you will be able to start SharePoint 2013 installer directly and to continue with SharePoint 2013 installation and configuration.