Use the command prompt to install Microsoft Dynamics CRM Server
Applies To: Dynamics 365 (on-premises), Dynamics CRM 2016
You can install Microsoft Dynamics CRM Server 2016, Microsoft Dynamics CRM Reporting Extensions, and Microsoft Dynamics CRM for Outlook from their respective installation disks or file download locations by using the command prompt. The required setup information is provided to the Setup program both as command-line parameters and as an XML configuration file that the Setup program references.
One advantage of using the command prompt to install Microsoft Dynamics CRM is that you don’t have to attend to the installation. Attended installation requires you to make decisions and provide information so the installation can run successfully. Unattended installation, by using the command prompt, requires you to provide installation information as command-line parameters and an XML configuration file. No other action is required until the Setup program is finished. Warnings and installation progress can be logged to a file you can view and analyze later.
Tip
To help troubleshoot invalid XML error messages, open the XML configuration file by using Internet Explorer to help indicate where the problem occurs in the file.
General procedures
The general procedures for running the Setup program from a command prompt are described here. For more detailed instructions, see the In This Section topics. The prerequisites for each of the Microsoft Dynamics CRM system features as discussed in previous sections also apply.
To run the Setup program from a command prompt, follow these steps:
Provide a customized Setup configuration file. Examples are in the topics that follow.
Sign in as a member of the Domain Users Active Directory directory service group and administrators group on the local computer. If you’re installing Microsoft Dynamics CRM Server 2016 using the Full Server role, the user running Setup must be a member of the local administrators group on the computer that has Microsoft SQL Server installed, and permissions on the organizational unit to create or modify Active Directory groups in the domain where Microsoft Dynamics CRM Server 2016 is installed. If you’re using pre-created groups, you must have read and write permission to each group.
If you’re installing from an installation disk, insert the Microsoft Dynamics CRM Server 2016 or the Microsoft Dynamics CRM 2016 for Outlook installation disk into the CD/DVD drive. The Autorun screen appears. Close the Autorun screen.
Open a Command Prompt window.
At the command prompt, change to the CD/DVD drive or change to the location where the Microsoft Dynamics CRM installation files are located:
SetupServer.exe for Microsoft Dynamics CRM Server 2016 is located in the Server folder of the Microsoft Dynamics CRM Server 2016 installation disk or file download location.
SetupSrsDataConnector.exe for the Microsoft Dynamics CRM Reporting Extensions is located in the \SrsDataConnector folder of the Microsoft Dynamics CRM Server 2016 installation disk or file download location.
Setupclient.exe forMicrosoft Dynamics CRM for Outlook is located in the Client folder of the Microsoft Dynamics CRM for Outlook installation disk or file download location.
Run the Setup command using the following syntax:
SetupServer.exe /Q /config c:\CRMSetupconfig.xml
Known issues
Error message “Setup failed to validate specified Reporting Services Report Server https://ServerName/ReportServer” when you install Dynamics CRM Server on Server Core
You may see this error message when the following conditions are true:
You run Microsoft Dynamics CRM Server Setup on a Windows Server running Server Core.
The Microsoft SQL Server Reporting Services server that is specified in the Setup XML configuration file is running Microsoft SQL Server 2012 Reporting Services that is configured for an authentication type that is not only NTLM authentication.
To work around this problem, on the Windows Server where you are installing Microsoft Dynamics CRM Server 2016, modify the RSServer.config file to remove all authentication types so that the only authentication type is RSWindowsNTLM.
<AuthenticationTypes>
<RSWindowsNTLM/>
</AuthenticationTypes>
More information: RSReportServer Configuration File
After you make the RSServer.config file change, run Microsoft Dynamics CRM Server Setup again.
This issue does not occur when you specify later versions of SQL Server Reporting Services.
In This Section
Install Microsoft Dynamics CRM Server by using a command prompt
Microsoft Dynamics CRM Server XML configuration file
Install Microsoft Dynamics CRM Server roles using the command prompt
Install Microsoft Dynamics CRM Reporting Extensions using a command prompt
See Also
Install Microsoft Dynamics 365 for Outlook using a command prompt
Install Microsoft Dynamics CRM Email Router using a command prompt
Installing on-premises Dynamics CRM
Post-installation and configuration guidelines for Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright