How To Manually Install SharePoint 2013 Features & Pre-Requisites On Windows Server 2012 R2

I have been wanting to post this one for a while but for some reason just didn’t get down to it. I also wanted to provide a complete solution including the files as well so will try my best to ensure they’re all uploaded here on this blog post.

So, Windows Server 2012 R2, for some odd reason doesn’t allow you to run the SharePoint feature installation as well pre-requisite install automatically. For some odd reason it couldn’t install the prerequisites and kept giving me an error saying something like it couldn’t connect to the internet to download them or something like that.

After doing some research, I came across 2 blog posts that really assisted me in installing SharePoint manually. These blog posts were really helpful and thanks to the authors for them, these are:

SharePoint 2013: Install Prerequisites Offline or Manually on Windows Server 2012 – A Comprehensive Guide

Installing SharePoint 2013 on Windows Server 2012 R2 Preview

Remember this install is for SharePoint Server 2013 on Windows Server 2012 R 2, you would also have to download the pre-requisite files and store somewhere locally. This also just covers getting up to the point where you can install SharePoint, it does not cover configuring SharePoint itself. 

The Pre-requisite software can be downloaded from the sources above which have download links to the files itself. 

It might be a good idea to copy the prequisite folder to the server you’re on as you will need to “CD” to it later using PowerShell

Install Windows Roles/Fetaures
1. Ensure Win Server is in drive/mounted
2. Run powershell as administrator
3. Run this script: – ensure path at the end points to right drive


Import-Module ServerManager
 
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

The server should ask for a reboot after installing these features

Install SharePoint Pre-Requisites

At this point you should have all the files needed for the Pre-Requisites as you will be installing them

4. Run all BUT the following install prerequisites:

  • Windows6.1-KB974405-x64.msu – this MAY even be deleted
  • WindowsServerAppFabricSetup_x64.exe
  • AppFabric1.1-RTM-KB2671763-x64-ENU.exe

5. Go back to PowerShell

6. CD to the drive/path/location of the above 3 prerequisite files

7. To install AppFabric, type the following at the PowerShell command line:


.\WindowsServerAppFabricSetup_x64.exe /i CacheClient","CachingService","CacheAdmin /gac

8. Wait a minute or two for AppFabric to install.  Unfortunately, except for the cursor hourglass, there isn’t much of a cue that it’s done

9. Now you can click on AppFabric1.1-RTM-KB2671763-x64-ENU.exe to install the AppFabric patch

10.Reboot the server

SharePoint 2013 should install fine after this.

Thanks!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s