TechNet
Export (0) Print
Expand All

Use the command prompt to install Microsoft Dynamics CRM Server 2016

 

Applies To: CRM 2016 on-prem

You can install Microsoft Dynamics CRM Server, 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.

System_CAPS_tipTip

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.

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:

  1. Provide a customized Setup configuration file. Examples are in the topics that follow.

  2. 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 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 is installed. If you’re using pre-created groups, you must have read and write permission to each group.

  3. If you’re installing from an installation disk, insert the Microsoft Dynamics CRM Server or the Microsoft Dynamics CRM for Outlook installation disk into the CD/DVD drive. The Autorun screen appears. Close the Autorun screen.

  4. Open a Command Prompt window.

  5. 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 is located in the Server folder of the Microsoft Dynamics CRM Server 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 installation disk or file download location.

    • Setupclient.exe for Dynamics CRM for Outlook is located in the Client folder of the Dynamics CRM for Outlook installation disk or file download location.

  6. Run the Setup command using the following syntax:

    SetupServer.exe /Q /config c:\CRMSetupconfig.xml

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, 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.

© 2016 Microsoft Corporation. All rights reserved. Copyright

Community Additions

ADD
Show:
© 2016 Microsoft