SharePoint, Office 365, Azure, and Front end JS geek. – Chicago IL
SharePoint, Office 365, Azure, and Front end JS geek. – Chicago IL

FIXED – SharePoint 2013 Setup Error – Appfabric is not correctly configured

When trying to install SharePoint Server 2013, I saw the below error.  This was caused by manually double clicking the file “WindowsServerAppFabricSetup_x64.exe” instead of allowing the SharePoint Prerequisite Installer to run this.

The resolution was to run “prerequisiteinstaller.exe” with command line parameters to directly specify the filename for each prerequisite.   Just like with SharePoint 2010, when installing offline we must tell the installer where to locate each file.   Running the various components manually doesn’t work well.   Apparently there is an install sequence or extra parameters which “prerequisiteinstaller.exe”  must perform for the prerequisites to install correctly.

Below is the correct command line to use offline.  I saved this as “prereq.cmd” on my install folder.  Hope that helps! 










  • Pingback: SharePoint 2013 Installation « Sladescross's Blog()

  • Pingback: آرش آقاجانی (Arash Aghajani) : Step by Step : Installing SharePoint 2013 Preview()

  • Geert Nysmans

    thx !! solved my installation issue !!

  • Awesome Geert!  I’m glad somebody found it helpful.  The break/fix blog post others write help me out a lot so I try to post any that I find also.

  • octavio

    It looks like the SP2013 preview build didn’t run the AppFabric install with the correct parameters. Documented in you need to run WindowsServerAppFabricSetup_x64.exe with the parameters /i CacheClient,CachingService,CacheAdmin /gac.It looks like SP2013 RTM has resolve this as it included the parameters when running the install.

    • Hossein Aarabi

      Also, run the the WCFDataService argument with the quiet switch

      /WCFDataService:prerequisiteinstallerfilesWcfDataServices.exe /quiet

      • thanks Hossein. I updated the post

  • Cool, thanks Octavio.   I have downloaded the SP2013 RTM binaries and need to take time to setup a new virtual machine.  The preview software is usually buggy so it’s great to see RTM has shipped.

  • SharePoint is a powerful application development platform useful to develop websites, social networks, business intelligence, intranet portals and lots of more.


  • Yousef Omar

    Thanks buddy!

  • Pingback: Installed SharePoint 2013 on VM « Sparklers()

  • Kristinn Magnusson

    If the AppFabricSetup_x64.exe fails with error code 1603 it might be that the PSModulePath environment variable is incorrect. Mine had a ” character in the and. After i removed it it installed fine.

    • Michael Schmid

      That saved my evening , thanks

    • tushtilk

      I have already spent a good half day but this worked and I can move on with the installation.

  • UlricRay

    SharePoint is a highly effective database integration foundation useful to create websites, social networking sites, business intellect, intranet sites and lots of more.

  • Niranjan

    Thank you! Its worked for me!

  • Pingback: اموزش نصب Share Point 2013()

  • Quinn James

    you can now use types verification instead of AD with SharePoint which allows you to verify against an LDAP company of your option or data source.

  • Thanks for posting this fix.

  • hamed

    can help me?

    prerequisiteinstaller.exe was crached when use your solution with this message:

    Microsoft SharePoint Products and Technologies 2010 Preparation tool has stopped Working

    in windows server 2012

  • Ba$va

    This helped us. really Thanks.

    Suggest way to install all pre Requisite through command prompt.

  • Ultragc

    I think the above command line is incorrect. The “/AppFabric” should be “/KB2671763” instead.

  • akhoondian

    thanx it is use full
    in command “/SQLNCLi:prerequisiteinstallerfilessqlncli.msi” should be “/SQLNCLi:prerequisiteinstallerfilessqlncli.msi”
    and so on etc.

    • Thanks! The formatting was lost when I converted to Crayon Syntax Highlighter. I’ve updated now.

  • Srini

    Thank you. Was very helpful 🙂

  • Allsystem

    Thank you for your help

  • bharath

    In sharePoint 2013 prerequisiteinstaller not installing in windows server 2012 R2 with my Hyper V manager.Any body help

  • Denis

    bharath, use Windows Server 2012. Server 2012 R2 is not supported.

    • Hasan Siddiqui

      Hi Denis,

      I am using OS windows Server 2012 R2 and SP SP1 binaries.

      i am facing same issue,Kindly let me know if you have any solution.

  • Tariq Afzal

    Thanks for this fix

  • Hasan Siddiqui

    Hi,Same issue i have,i fallow the same process,but still getting same error.Please let me now how to resolve and I did not find any installation of AppFabric in Control panel-Program installation,Please elaborate.

    I am using OS windows Server 2012 R2 and SP SP1 binaries.

  • Hasan Siddiqui

    Please confirm, Windows Server 2012. Server 2012 R2 is not supported with Sharepoint 2013 Sp1.

  • Rafael

    Hello, It is usually possible to install Sharepoint 2013 on Windows Server 2012 R2 that does not support the prerequisites of tool by performing the following steps:

    1.Download de prerequisite files:

    “”, # Microsoft Sync Framework Runtime v1.0 SP1 (x64)

    “”, # Windows Server App Fabric

    “”, # Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)

    “”, # Microsoft Identity Extensions

    “”, # Microsoft Information Protection and Control Client

    “” # Microsoft WCF Data Services 5.0

    2. Installing “microsoftidentityextensions-64”
    3. Installing “synchronization”
    4. Installing “setup_msipc_x64”
    5. Installing “WcfDataServices”
    6. Install powershell via the “WindowsServerAppFabricSetup_x64.exe” command with the path where the executable:
    . WindowsServerAppFabricSetup_x64 / i CacheClient, CachingService, CacheAdmin / gac
    7. Installing “AppFabric1.1-RTM-KB2671763-x64-ENU”
    8. Reboot the Server

    • Excellent detail, thanks Rafael!

    • Pepe Le Cox

      This ^^^amazing! thanks!

  • shahram rostami

    tanx dude , it was very helpfull and saved a lot of time 4me , very very tanx to you , one of the best articles i’ve ever read

  • Ahmed Mamdouh

    Not work for me plz help !! error msh “There was an error during installation”

  • Ahmed Mamdouh

    plz help as i cant find known reason why this is happening sp 13 on windows server 2008 R2

    • Ryan

      run the command with full path: “C:Sourceprerequisiteinstaller.exe /AppFabric:C:SourceprerequisiteinstallerfilesAppFabric1.1-RTM-KB2671763-x64-ENU.exe”.

  • dryhdy


  • Pingback: Sharepoint 2010/2013 Installation, PrerequisitesInstaller.exe error, или как просто поставить prerequisites там, где они не ставятся. | Gennady G.(Rockie's blog)()

  • Behzad Akbari

    What I learned from a previous post is that it is better to install the prerequisite files before installing SQL Server. It appends a path string to the end of the PSModulePath environment variable in
    Control Panel->System and Security->System->Advanced system settings->Environment Variables… System Variables that ends with PowerShellModules. This causes a conflict. I temorarity removed the path for SQL Server and installed the prerequisites. Then I put the path string back in. There is also an extra ” (qoutation mark) which I removed.
    to Install WindowsServerAppFabricSetup_x64.exe, I just ran it by itself.
    C:>WindowsServerAppFabricSetup_x64.exe and it worked which was not working otherwise.
    I tried everything and did not succeed. I finally ran the .exe file by itself:
    It worked. In fact most of the Prerequisite files that did not run using SharePoint 2013 prerequisiteinstaller.exe were installed by individually running. As you know, the .msi files can be installed by the following command:
    C:WindowsSystem32msiexec.exe -i filenname.msi
    This example assumes that Windows is installed on Drive “C” by the name “Windows”. filename.msi is the .msi file to be installed.

    I hope this helps you. It took a lot my time to install SharePoint 2013.

    • Richard Ruth

      You’re referring to a single box install of SharePoint, no?

  • Ryan Almisnad

    I faced 2 issues when I your command: “prerequisiteinstaller.exe
    Issue 1. AppFabric.1.-RTM-x64 not found on this package.
    the command with full path: “C:Sourceprerequisiteinstaller.exe

    Issue 2. After restart error log “Error: Custom file location is not accessible”

    the command with full path: “C:Sourceprerequisiteinstaller.exe

    • Taimoor


      • Ashish Dubey

        Thanks..This resolved my issue

  • Sherif ElRoumy

    Go to Windows Environment Variables, PSModulePath environment variable is corrupted. There is a quotation mark at the end.

    the solution is to delete delete the ending quotation mark, Log off from windows and re logon, and re-run the setup

  • Ishfaque Memon

    Very much helpful. Thanks dude.

  • Pingback: Windows Server AppFabric is not correctly configured as SharePoint – SharePoint 2016 Preview Setup Errors | Mourad Slifi()

  • Pocket Rocket

    Argh, Microsoft – Why don’t you just die?
    I think if you install SharePoint on a server with WSUS on it, that’s a BIG no-no from the turds at Microsoft. You get config errors on configuring IIS (because god forbid you should already have some IIS website set up (that’s a highly unlikely scenario, right?)!
    I wish I worked for MS testing so I could just tell them that “No! Bad Microsoft! That’s a bad software developer! NO!”.

  • Pingback: Lear how to Install and troubleshoot Online/Offline prerequisites issues for SharePoint 2013 – Learn SharePoint Development()

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲