Manual installation of SharePoint 2013 PREREQUISITES

I attempted to install SharePoint 2013 on Windows Server 2012 R2. It didn't go so well. The main problem is that you can’t install the SharePoint 2013 Prerequisites using the standard install wizard. It would fail every time it tried to configure IIS.

I did finally get it to work, but it was not trivial at all. Here is how to install the prerequisites manually.


You need to install the following roles and features:


  • Application Server
  • Web Server (IIS)
  • IIS 6 Management Console


  • ASP.NET 4.5
  • Windows Identity Foundation 3.5
  1. Open Server Manager
  2. Click on “Add roles and features”.
  3. On the “Before you begin” page, click “Next”.
  4. Select “Role based or feature based installation” and click “Next”.
  5. If it isn't already selected, select “Select a server from the server pool”, and the server that you are currently working on. Then click “Next”.
  6. On the “Select server roles” page, check :
    • “Application Server”
    • “Web Server (IIS)”
    • “IIS 6 Management Console” (under Web Server (IIS)→Management Tools→IIS 6 Management Compatibility→IIS 6 Management Console.)
    • Click “Next”.
  7. On the “Select features” page, expand “.NET Framework 4.5 Features” group and check “ASP.NET 4.5″.
  8. On the same page, check “Windows Identity Foundation 3.5″. Click “Next”.
  9. On the “Application Server” page, click “Next”.
  10. On the “Select role services” page, check “Web Server (IIS) Support” and click “Next”.
  11. When the “Add features that are required for Web Server (IIS) Support?” dialog pops up, click on “Add Features”.
  12. Click “Next” again to go to the next page.
  13. From the “Web Server Role” page, click “Next”.
  14. From “Select role services”, click “Next”.
  15. On the “Confirm installation selections” page, I suggest that you check “Restart the destination server automatically if required”.
  16. Click “Install”.
  17. Wait for feature installation to complete. When it does, you can click “close”.
  18. Reboot if it doesn't do it automatically.


Craig Lussier has written three scripts to download and install the SharePoint 2013 prerequisites, but only the download script works on Windows Server 2012 R2 (they probably work fine on vanilla 2012), because the install scripts use Prerequisiteinstaller.exe. So take advantage of the download script, and do the rest manually.

So the steps:

  1. Unzip, run PowerShell as an administrator and go to the directory with the unpacked script.
  2. Type “Set-ExecutionPolicy Unrestricted”. This is required because the scripts are unsigned and won’t run otherwise.
  3. Type ” .\Download-SP2013PreReqFiles.ps1”.
  4. At the Security Warning, type “r” for “Run once”.
  5. When prompted to “Please enter the directory path to where you wish to save the Sharepoint 2013 Prerequisite Files:”, type the directory of your choosing (which already exists), and press enter.
  6. The files will take some time to download, but there will be a text indicator that shows the download progress.
  7. Install the following files:
    • MicrosoftIdentityExtensions-64.msi
    • setup_msipc_x64.msi
    • sqlncli.msi
    • Synchronization.msi
    • WcfDataServices.exe
  8. You can delete Windows6.1-KB974405-x64.msu. I couldn’t get it to run successfully on Windows 2012 R2.
  9. In PowerShell, go to the directory where you downloaded the files.
  10. To install AppFabric, type the following at the command line:
    • .\WindowsServerAppFabricSetup_x64.exe /i CacheClient“,”CachingService“,”CacheAdmin /gac
    • NOTE that there are quotes surrounding the commas. These are important in PowerShell.
  11. Wait a minute or two for AppFabric to install.
    • NOTE: Except for the cursor hourglass, there isn't much of a cue that it’s done.
  12. Now you can install AppFabric1.1-RTM-KB2671763-x64-ENU.exe.
  13. Reboot the server.

All the prerequisites should now be installed, and you should be able to install SharePoint 2013.

Enter your comment:
234 +7​ = 
  • windows/servers/sharepoint/sharepoint_prerequisites.txt
  • Last modified: 2019-10-31 09:14
  • (external edit)