Use the command prompt to install Microsoft Dynamics Server 365
Updated: December 9, 2016
Applies To: Dynamics 365 (on-premises), Dynamics CRM 2016
You can install Microsoft Dynamics 365 Server, Microsoft Dynamics 365 Reporting Extensions, and Microsoft Dynamics 365 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 365 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.
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 365 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 365 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 365 Server 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 365 Server or the Microsoft Dynamics 365 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 365 installation files are located:
SetupServer.exe for Microsoft Dynamics 365 Server is located in the Server folder of the Microsoft Dynamics 365 Server installation disk or file download location.
SetupSrsDataConnector.exe for the Microsoft Dynamics 365 Reporting Extensions is located in the \SrsDataConnector folder of the Microsoft Dynamics 365 Server installation disk or file download location.
Setupclient.exe for Dynamics 365 for Outlook is located in the Client folder of the Dynamics 365 for Outlook installation disk or file download location.
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 365 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 365 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 365 Server Setup again.
This issue does not occur when you specify later versions of SQL Server Reporting Services.
© 2016 Microsoft. All rights reserved. Copyright