Offline installation (No Internet Connection) of SharePoint 2013 SP1 Prerequisites on Windows Server 2012 R2

This is my first in a series of blog posts explaining various ways to present System Center Operations Manager dashboards.  SharePoint is not required to publish dashboards; however, as the series continues this will be a key contribution when we do begin integrating dashboards into SharePoint.  This post will not cover the full installation of SharePoint, only setting up your SharePoint servers for offline install of SharePoint 2013 SP1 on Windows Server 2012 R2 Operating System.

Craig Lussier created a very comprehensive Wiki article on this for SharePoint 2013 RTM.  I am merely adding some things that helped me along the way in addition to performing the install with SharePoint 2013 SP1 on Server 2012 R2.  Also, the focus of this blog will be offline installs and configurations.

The first thing to do is copy the SharePoint 2013 SP1 binaries over to the server you plan on installing SharePoint on.  For this blog I will use E:\SharePoint2013SP1Install\ as the root folder and will only use one server for all SharePoint roles later in the series.  You will need to perform the prerequisite installs on any servers you plan on installing SharePoint 2013 SP1 on.

If you try to run Setup.exe with no prerequisites installed you will receive this error:

This will place the necessary Windows Server 2012 R2 Server Manager prerequisites into an InstallPending status.  You can verify this (Before rebooting) by using the PowerShell command: Get-WindowsFeatures and reviewing the list of features with a status of InstallPending.  Once rebooted the features will show an Installed status.

Alternatively you can use the following PowerShell script with the Windows Server 2012 R2 installation media to install the necessary features:

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

Now if you try to run Setup.exe you will receive the following error:

Notice that the Server Manager Prerequisites are no longer listed.

As with SharePoint 2013 RTM there are several prerequisite installs with specific versions that must be installed prior to installing SharePoint.  There really is only one additional application to install for SP1, WcfServices version 5.6.  I recommend renaming at download so the WcfDataServices.exe 5.0 file does not get overwritten when placed into the same directory.  I save these files and copy them to the directory where we stored the SharePoint binaries E:\SharePoint2013SP1Install\PreRequisiteInstallerFiles\

The list of files to download are as follows:

SQL Server 2008 R2 SP1 Native Client:

Microsoft WCF Data Services 5.0:

Microsoft WCF Data Services 5.6 (rename this download to WcfDataServices56.exe):

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):

Once you download the files and save them to the isolated network server you can run the following PowerShell script as Administrator to install them:

(Be sure everything from Start-Process on is on the same line, do not copy and paste the entire code from here as I edited it for page formatting)

$SharePoint2013SP1Path = "E:\SharePoint2013SP1Install"

Start-Process "$SharePoint2013SP1Path\PrerequisiteInstaller.exe"
–ArgumentList "/SQLNCli:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\sqlncli.msi
/AppFabric:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\ WindowsServerAppFabricSetup_x64.exe /KB2671763:$SharePoint2013SP1Path\ PrerequisiteInstallerFiles\AppFabric1.1-RTM-KB2671763-x64-ENU.exe


Once you execute the PowerShell script the Products Preparation Tool will open:

This lists the applications that will be installed if not installed already.

Follow the wizard to continue installing the prerequisites.

Once completed you will be prompt to reboot:

Once you select finish and the system reboots it may require additional installations.

You will receive an Installation Complete notice when completed:

You are ready to install SharePoint 2013 SP1 on Windows Server 2012 R2.

You are now able to run Setup.exe from the SharePoint install files directory as an Administrator with database permissions.

Enter your product key to continue with the installation:


Comments (18)

  1. Anonymous says:

    Thanks! Great info.

  2. CJ Rawson says:

    Thanks Chris, yes GPOs can cause all kinds of added difficulties.

  3. CJ Rawson says:

    A Mathew, awesome to hear you got it figured out! Thanks for the feedback.

  4. CJ Rawson says:

    xjshiya, make sure the SQL Server 2008 R2 SP1 Native Client is in the following location: E:SharePoint2013SP1InstallPreRequisiteInstallerFilessqlncli.msi. And that the file name is sqlncli.msi. If you are using a different directory or drive letter
    you will need to update the install path in the install script. $SharePoint2013SP1Path = "E:SharePoint2013SP1Install" (The path to the install files is the part in quotes).

  5. CJ Rawson says:

    A Mathew, when you download the WCF Data Services version 5.6 be sure to rename it to WcfDataServices56.exe, otherwise it will overwrite the WCF Services version 5.0. You need both of these for the install script to work properly, also that is the file
    name the script is calling. Additionally, be sure all of your arguments are on the same line as mentioned above do not copy and paste that content into the PowerShell session. I recommend pasting it into notepad and removing the extra line breaks I had to
    put in for formatting in the post. Lastly, for the server roles, be sure they are installed by running ‘Get-WindowsFeatures’ in a PowerShell session. If any of the roles are not installed be sure you have the server manager syntax correctly formatted with
    the Server 2012 R2 install files either mounted via ISO or CD/DVD drive that is mapped as the D: drive, otherwise you’ll have to change the drive letter in the script to whatever your mounted drive is.

    Please let me know if this helps or if you still have issues.

  6. Chris says:

    As a side note, if you have Require Powershell Signing turned on via GPO, you have to turn that off via GPO or the prereq will always fail on the Application Server configuration

  7. Rich Pyra says:

    Thanks, this post was very helpful!

  8. Craig says:

    Thanks. An up to date blog article; hooray 🙂

  9. nicolas says:

    Thanks to much for all download links

  10. xjshiya says:

    I'm still getting an error when using this tutorial. It says, "There was an error in the installation. The tool was unable to download MS SQL Server 2008 R2 SP1 Native Client. Please check your internet connection and try again." But I already have downloaded
    all the files you listed. Please help.

  11. A Mathew says:

    I'm facing issues with the prerqs. Following this article, I could not install /WCFDataServices56:$SharePoint2013SP1PathPrerequisiteInstallerFilesWcfDataServices56.exe as this came up as an unrecognized command. Now, I removed this line and tried to
    run the prereqs. I still get the error that the tool was unable to install application server role, web server role.

    Really appreciate any help.

    Many thanks,

  12. A Mathew says:

    I had actually saved the file as you suggested, but it did not work. Later I figured out that I was not using SP1 iso file. Dowloaded SP1 from msdn and all went smooth.

  13. Eric V says:

    This blog post was exactly what I needed, and it worked like a charm! Thank you for this!

  14. Hany Kamel says:

    Great Article. Thanks a lot.
    How to install language Pack with SP1?

  15. Mostafa says:

    • Microsoft .NET Framework 4.5: equivalent products already installed (no action taken)
    • Windows Management Framework 3.0: was already installed (no action taken)
    • Application Server Role, Web Server (IIS) Role: configured successfully
    • Microsoft SQL Server 2008 R2 SP1 Native Client: equivalent products already installed (no action taken)
    • Windows Identity Foundation (KB974405): was already installed (no action taken)
    • Microsoft Sync Framework Runtime v1.0 SP1 (x64): was already installed (no action taken)
    • Windows Server AppFabric: installation error
    • Microsoft Identity Extensions: equivalent products already installed (no action taken)
    • Microsoft Information Protection and Control Client: equivalent products already installed (no action taken)
    • Microsoft WCF Data Services 5.0: equivalent products already installed (no action taken)
    • Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763): Installation skipped

    i get this error for appFabric
    i tried uninstalling and removing all registery related items same issue. i installed using powershell through the prerequisites installer but same error.

    anyone have a clue

  16. Mostafa Hafez says:

    I managed to install however:
    1- fresh OS installation.
    2- Don't install SQL server now
    3- Install prerequistes in offline mode using elevated cmd. (script will be below note: no new lines just 1 space between each file / )
    4- successful prerequistes
    5- Install SQL2012.
    6-Install SP2013

    prerequisiteinstaller.exe /SQLNCLi:prerequisiteinstallerfilessqlncli.msi /PowerShell:prerequisiteinstallerfilesWindows6.1-KB2506143-x64.msu /NETFX:prerequisiteinstallerfilesdotNetFx45_Full_x86_x64.exe /IDFX:prerequisiteinstallerfilesWindows6.1-KB974405-x64.msu
    /Sync:prerequisiteinstallerfilesSynchronization.msi /AppFabric:prerequisiteinstallerfilesWindowsServerAppFabricSetup_x64.exe /IDFX11:prerequisiteinstallerfilesMicrosoftIdentityExtensions-64.msi /MSIPCClient:prerequisiteinstallerfilessetup_msipc_x64.msi
    /WCFDataServices:prerequisiteinstallerfilesWcfDataServices.exe /KB2671763:prerequisiteinstallerfilesAppFabric1.1-RTM-KB2671763-x64-ENU.exe

  17. Mahdi_S says:

    Thanks to much for all download links

  18. Stew says:

    Does this process work for installing sharepoint foundation 2013sp1 offline? I don't have the file PrerequisiteInstaller.exe referenced in the second powershell script.

Skip to main content