Video Walkthrough: SharePoint 2013 Installation with PowerShell on Windows 2012
In this video, I walk through a the start of a scripted installation of SharePoint 2013, including how to install SharePoint 2013 prerequisites from an offline install location, such as a fileshare.
In the first part of this series, we walk through:
- Setup Accounts and Permissions
- Windows Roles and Features
- Prerequisite Installer from the Command Line
- Disabling the Loopback Check
The full series of SharePoint 2013 Administration and Configuration videos comprises 9.5 hours of training, and is available here: http://bit.ly/sp13videos for purchase as immediate download or on DVD from $99. Tell your friends!
Accounts and Permissions
Your SharePoint setup account needs to have dbcreator and securityadmin server roles on your SQL Server. It also needs to be a local administrator of your SharePoint server to-be.
Windows Roles and Features for SharePoint 2013
Your server needs to have both Application Server and Web Server Windows roles. You can achieve this with the PowerShell cmd-let
Add-WindowsFeature Application-Server,Web-Server -IncludeAllSubFeature
If you need to specify a path to the place you installed Windows from – or a new SXS location – you can use the -Source parameter to pass in the new path.
SharePoint 2013 Prerequisite Installer from the Command Line
To install the prerequisites from the command line, you can either create a file called prerequisiteinstaller.arguments.txt and copy this into the same folder as your prerequisiteinstaller.exe file extracted from the setup image, or you can pass the following text as arguments directly when you call prerequisiteinstaller.exe from the command line.
/PowerShell:”prerequisiteinstallerfiles\WINDOWS6.1-KB2506143-x64.msu” /NETFX:”prerequisiteinstallerfiles\dotNetFx45_Full_x86_x64.exe” /IDFX:”prerequisiteinstallerfiles\Windows6.1-KB974405-x64.msu” /sqlncli:”prerequisiteinstallerfiles\sqlncli.msi” /Sync:”prerequisiteinstallerfiles\Synchronization.msi” /AppFabric:”prerequisiteinstallerfiles\WindowsServerAppFabricSetup_x64.exe” /IDFX11:”prerequisiteinstallerfiles\MicrosoftIdentityExtensions-64.msi” /MSIPCClient:”prerequisiteinstallerfiles\setup_msipc_x64.msi” /WCFDataServices:”prerequisiteinstallerfiles\WcfDataServices.exe” /KB2671763:”prerequisiteinstallerfiles\AppFabric1.1-RTM-KB2671763-x64-ENU.exe”
Disabling the Loopback Check
SharePoint 2013 makes extensive use of calling web services from the server on which they’re installed – for instance the Claims to Windows Token Service. This will cause the Windows Server Loopback Check to fail, and cause a continual cycle of authentication requests. To avoid this, you need to disable the loopback check. There are two options. You can either disable it for a specific domain name, by editing the BackConnectionHostNames registry value, or by switching it off entirely with the following PowerShell:
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name “DisableLoopbackCheck” -Value “1” -PropertyType dword