Home Labbing – Installing SharePoint 2013 on Server 2012 R2
I had a great deal of issues trying to follow the Microsoft TLG named “Configure SharePoint Server 2013 in a three-tier farm” (which is located at https://technet.microsoft.com/en-us/library/hh872914.aspx.
The issues were all related to the prerequisite installer which gave errors regarding IIS, Server Mangager and other requirements.
I finally got it to install using the following steps.
1 – Install required Roles and Features
Run the following script in PowerShell (taken from the KB article at https://support.microsoft.com/en-us/kb/2765260) to install required Roles and Features. NOTE: Server must be connected to the internet, which, since this is for a home lab, I’m okay with while the installer runs. If you do not wish to connect your server to the internet, you can insert the Server 2012 R2 installation media and specify the source by entering the -Source parameter for the command (see the KB article)
2 – Fix path to Servermanager.exe
The prerequisite installer looks for the Server Manager at c:\windows\System32\ServerManagerCmd.exe but in Server 2013 R2 it’s located at c:\windows\System32\ServerManager.exe. Copy and rename it manually or by running the following PowerShell command.
Copy-Item -Path "c:\windows\System32\ServerManager.exe" -Destination "c:\windows\System32\ServerManagerCmd.exe" -Force
3 – Run the prerequisite installer and close Server Manager after it launches
Run the prerequisite installer. This will open up the Server Manager window which you need to close. If you leave it open, the prerequisite installer will get stuck on configuring IIS. NOTE: This step will also require the server to be connected to the internet. If you do not want to do so, make sure that you download and install the requirements manually (I have not covered this due to this being a guide for a home lab).
Happy Labbing 🙂