Monday, August 24, 2015

Manually Download and Install the Prerequisites for SharePoint 2016

At some point within your career of deploying SharePoint, you will hopefully come across a scenario where your SharePoint servers are not allowed internet access. Most of the server farms that I work on are not allowed access to the Internet or are fire-walled/ruled out of the ability to surf the web or the ability to download items directly. This brings me to the need to be able to download the required files to a specific location and use that location for SharePoint's PrerequisiteInstaller.exe to complete its installation.
If you need to do an offline installation of SharePoint 2016, you will need to have the prerequisite files downloaded ahead of time. You will also need the SharePoint 2016 .iso (download here). These scripts are based off of the scripts provided by Craig Lussier (@craiglussier).
These scripts will work for SharePoint 2016 on Windows Server 2012R2 or on Windows Server 2016.
The only change that needs to be made is the location of the SharePoint prerequisiteinstaller.exe file in script #3 line #3. So, update the $sp2016Location variable before running. If the SP2016 .iso is mounted to the "D:\" drive, you have nothing to change and, in theory, this should just work for you out of the box.
The first thing that I like to do is to add the windows features:
The second step is to download the items required for the prerequisite installer:
The next step is to run the prerequisite installer. There is a requirement to restart the server during the installation and provisioning of settings:
The final step is to continue the installation of the prerequisites:
I hope that this saves you some time and headaches trying to get SP2016 installed and running correctly.


08/24/2015 Added ability to install on either Technical Preview for Server 2016 or Server 2012R2
08/25/2015 Added verbiage on updating $sp2016Location variable, and added workaround for PowerShell bug in download script.
11/25/2015 Updated for installation of SharePoint 2016 Beta 2 bits.
11/14/2017 Updated the scripts to install SharePoint 2016 on either Server 2012R2 or Server 2016.
11/29/2017 Updated the scripts to install SharePoint 2016 on Server 2016 Standard or Datacenter.
Thank you Matthew Bramer for fixing this oversight.


  1. i think their is a missing component here, Visual C++ Redistributable for Visual Studio 2012 download link

    as it is shown in Pre-requisite screen.

    1. Ahmed, yes, this is not for the current release, its for the Beta bits. i will be updating this shortly.

    2. This post has been updated to install the prerequisite files on server 2012R2 or server 2016

  2. Thanks for the article! On Server 2012 R2 I was receiving an error that the SQL client was not installed. I used a newer version from here and it worked.

  3. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru Dot Net Training in Chennai. Nowadays Dot Net has tons of job opportunities on various vertical industry.
    or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry.

  4. This plan completely satisfied me I was looking for this script looks like the real treasure you've provided.
    Immediately after upgrading SharePoint 2016 to a newer version and recover vcruntime140.dll missing and continued to work on the server.
    Pretty well, your instructions truly helped me quickly fix such annoying problem.


  5. Some us know all relating to the compelling medium you present powerful steps on this blog and therefore strongly encourage
    contribution from other ones on this subject while our own child is truly discovering a great deal.
    Have fun with the remaining portion of the year.
    Selenium training in bangalore
    Selenium training in Chennai
    Selenium training in Bangalore
    Selenium training in Pune
    Selenium Online training

  6. Guys want to get a genuine Microsoft Product Key is to purchase it at lowest price, I recommend you go Absolute good!

  7. Whatever we gathered information from the blogs, we should implement that in practically then only we can understand that exact thing clearly, but it’s no need to do it, because you have explained the concepts very well. It was crystal clear, keep sharing..
    Java Training in Chennai
    Java Training in Coimbatore
    Java Training in Bangalore

  8. This is the first & best article to make me satisfied by presenting good content. I feel so happy and delighted.By Learn Digital Marketing Course Training in Chennai it will help to get Digital Marketing Training with Placement Institute in Chennai. If you Learn Social Media Marketing Training with Placement Institute in Chennai, you will get job soon.

    Learn Best Digital Marketing Course Training in Chennai in professional institute to get reputed job.