Export (0) Print
Expand All

Microsoft Dynamics CRM 2013 Server XML configuration file

Applies To: Microsoft Dynamics CRM 2013

The /config [drive:] [[path] configfilename.xml]] command-line parameter provides Microsoft Dynamics CRM Server Setup with required information. The information supplied by the XML configuration file is required by each installation screen.

ImportantImportant
The XML elements must be in English (US). An XML configuration file that has localized XML elements won’t work correctly. For example, if you have a German version of Microsoft Dynamics CRM Server 2013, the XML file elements must still be English (US).

By default, Setup will use UTF-8 encoding for the Setup XML configuration file. Setup can’t load an XML configuration file when there are extended characters in the file. You’ll receive an error message from Setup that the XML file is invalid. If the XML configuration file contains extended characters, you can work around this issue by saving the XML configuration file by using Unicode encoding. To do this, open the XML configuration file in Notepad, click Save As, in the Encoding list select Unicode, and then click Save.

An explanation of each XML element and a sample XML file for a Full Server installation follows. For information about how to install separate server roles by using the command prompt, see Install Microsoft Dynamics CRM Server 2013 roles using the command prompt in this guide.

<CRMSetup> </CRMSetup>
The configuration file must be a valid XML file that uses <CRMSetup> as the root element.

<Server> </Server>
Specifies a Microsoft Dynamics CRM Server 2013 installation. All the Microsoft Dynamics CRM Server 2013 entries that follow must be inside the <Server> elements.

<InstallType>Uninstall/Repair/Configure</InstallType>
Specifies the type of installation that Setup will perform. The following options are available:

  • Uninstall. Uninstalls Microsoft Dynamics CRM Server 2013.

  • Repair. Starts Setup in repair mode.

  • Configure. Starts Setup in configuration mode.

<Patch update="true"/"false">\\ServerName\ShareName\Patch_Location</Patch>
Determines the behavior of the update Microsoft Dynamics CRM Server Setup technology. This feature lets Setup perform a one-time search for, and if applicable, download and apply the latest installation files for Microsoft Dynamics CRM.

By default, this element doesn’t specify a location, which configures Setup to search for available updates by using Microsoft Update. If you want Setup to install updates from another location, such as a share on your network, add the file paths to the .msp file in the element, as shown in the following topic.

update

Specifies whether Setup will look for, download, and apply updates for Microsoft Dynamics CRM Server Setup. We recommend that you let Setup download the latest version by specifying true. By default, this value is set to false. If the value is set to false, Setup ignores this step and continues with the installation. However, if you run Setup by using the /Q or /QR parameter, you must specify this element.

<SqlServer>SQLServername\InstanceName</SqlServer>
Specifies the name of the instance of Microsoft SQL Server that will manage the Microsoft Dynamics CRM Server 2013 database files. If you use the default instance, you can provide the name of the computer where SQL Server is installed. If SQL Server is running on the computer where you’re installing Microsoft Dynamics CRM Server 2013, you can specify ". " or "localhost".

<Database create="true"/"false" update="true"/"false"/>
create

Values for this parameter are either true or false. True causes Setup to create a new Microsoft Dynamics CRM configuration database. False causes Setup to connect to an existing Microsoft Dynamics CRM configuration database.

update

Values for this parameter are either true or false. When you select true, Setup writes the appropriate server deployment information to the configuration database (MSCRM_CONFIG). Select false only when you are using a pre-existing configuration database and you don’t want Setup to update the server deployment information. When you select false, the appropriate server deployment information for the computer where Microsoft Dynamics CRM Server 2013 is being installed must already exist in the configuration database for Setup to complete successfully. The default value is true.

<Organization>Organization friendly or long name</Organization>
Specifies the long name of your organization. The name can be up to 250 characters long and extended characters are supported.

<OrganizationUniqueName>Unique name</OrganizationUniqueName>
UniqueName

Specifies the name of your organization in the URL that users will use to access the deployment. There is a 30 character limit. Extended characters or spaces are not allowed. If you don’t specify this element or leave the value blank, Setup will generate a short name based on the <Organization> element value.

ImportantImportant
The unique organization name will be used to construct the URL for users to sign-in to the application. Therefore, we recommend that you limit the length of the unique organization name to reduce the overall length of the URL.

<muoptin optin="true”/“false" />
Specifies whether to use Microsoft Update to download and install updates to Microsoft Dynamics CRM Server 2013 and other installed applications. After the installation is completed, this feature helps keep your computer up-to-date on an ongoing basis.

  • True. When you specify this option, Setup will opt in to Microsoft Update as the update service and use the Windows automatic updating settings on the computer. Windows automatic update settings can be viewed in Windows Update in Control Panel. Microsoft Update helps make sure that your computer has the latest technology, which can help reduce the risk of vulnerabilities and security issues.

  • False. When you specify this option, Setup won’t change the existing Windows automatic update settings. If the computer isn’t already configured to use Microsoft Update as the update service, we recommend that you have another method to install updates on the computer, such as by using Windows Update Services. If left blank, a value of false will be selected.

<OU> OU=value,DC=value,DC=value,DC=value,DC=value</OU>
The <OU> element specifies the Active Directory organizational unit (OU) where the security groups will be created, for example, <OU> OU=CRM, DC=MySubDomain, DC=MyDomain, DC=com</OU>.

ImportantImportant
You can’t use the <Groups> element with the <OU> element. Setup won’t continue if you specify both elements together.

<PreferredDC>servername.domain.com</PreferredDC>
Specifies the domain controller to contact when performing operations that require Active Directory. If not specified, Setup will use the first domain controller available. This setting is only available when you use a configuration file.

<LicenseKey>KeyValue</LicenseKey>
Specifies the product key for this deployment. The configuration file can contain only one Microsoft Dynamics CRM product key. For example:

<licenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</licenseKey>

noteNote
If you purchase Microsoft Dynamics CRM through a Microsoft Volume Licensing program, the license key is provided in the license.txt file. The license.txt file is included in the Microsoft Dynamics CRM installation files.

<WebsiteUrl Create="true"/"false" port="TCPportnumber">path</WebsiteUrl>
Specifies the website to be used for Microsoft Dynamics CRM Server 2013. Use Create="true" to create a new Microsoft Dynamics CRM website and leave the value between the element tags blank. Use port="TCPportnumber", where TCPportnumber is a valid and available TCP port number, to specify the port for connecting to the Microsoft Dynamics CRM Server 2013 application. If left blank, the port number that will be used is 5555.

Specify Create="false" to use an existing website and then you must type the website path in the element tags by using one of the following formats. When you use the Create="false" attribute, the port attribute is ignored.

For example:

  • http://server:port/ or http:// server.contoso.com

  • /LM/W3SVC/n, where n is the website ID. 1 is the default website.

<Help anonymous="true"/"false">http://host/Help</Help>
Optional element to specify a different URL where Microsoft Dynamics CRM Help is located. This setting is typically used in a multiserver deployment or to replace the default URL such as when using a host header. If you select false to disable anonymous access, it may produce repeated logon prompts for users who access Microsoft Dynamics CRM Help. This setting is only available when you use a configuration file.

<InstallDir>c:\program files\Microsoft Dynamics CRM</InstallDir>
Specifies the folder in which application files will be installed. By default, Setup will use the folder C:\Program Files\Microsoft Dynamics CRM.

<basecurrency isocurrencycode="CurrencyCode" currencyname="CurrencyName" currencysymbol="CurrencySymbol" currencyprecision=”2"/"3"/"4”/>
isocurrencycode

Specifies the ISO three-letter currency-code, display name, and symbol to use for the base currency. For example, if you want to use U.S. dollars as the base currency, use isocurrencycode="USD". You must use a valid ISO currency description for the isocurrencycode attribute.

currencyname and currencysymbol

You must also specify the currency-name and currency-symbol display names for the ISO base currency. For example, if the ISO currency code is USD, the currency name should be "US Dollar" and the currency symbol should be "$". However, you can use any string that you want for these attributes.

ImportantImportant
After Setup is complete, you cannot change the base ISO currency code. However, you can change the base-currency name, base-currency symbol, and base-currency precision.

A list of currently supported ISO currency codes is available in Microsoft Dynamics CRM 2011 currency support. The currency codes are provided from Microsoft .NET Framework and may change.

currencyprecision

You must specify the precision for the base currency that you specified in the currencycode attribute. Valid values depend on the type of currency that you specify. For example, USD valid values are 1 – 9 and the default value is 2.

<OrganizationCollation>CollationName</OrganizationCollation>
This optional element specifies the SQL Server database collation name to use for the organization database. The default collation depends on the language of Microsoft Dynamics CRM Server 2013 that you’re installing, for example, Latin1_General_Cl_Al, which is the default collation for English (US) language deployments. For more information about database collation, see the Microsoft MSDN Library website Using SQL Server Collations.

<CrmServiceAccount type="DomainUser"/"NetworkService">
     <ServiceAccountLogin>Domain\User</ServiceAccountLogin>
     <ServiceAccountPassword>password</ServiceAccountPassword>
</CrmServiceAccount>
Specifies the service account used to run the Microsoft Dynamics CRM Unzip Service and ASP.NET AppPool application pool identity.

Accepted values are DomainUser, which will use the specified domain user provided in the <prefixServiceAccount> element or NetworkService, which uses the Network Service system account. However, using the Network Service system account isn’t recommended because it may limit some database operations such as organization create, import, upgrade, or update. By default, Setup will use the DomainUser option. If DomainUser or no type is specified, <ServiceAccountLogin> and <ServiceAccountPassword> are required. When you run Setup by using the /Q or /QR parameter, if this element isn’t specified, the Network Service account will be used.

WarningWarning
Maintaining the configuration file that has <ServiceAccountLogin> and <ServiceAccountPassword> values specified is a security risk because you’re storing a password in plain text. Delete these elements as soon as the configuration file is used to install Microsoft Dynamics CRM Server 2013.

We strongly recommend that you select a low-privilege domain account that is dedicated to running these services and isn’t used for any other purpose. Additionally, the user account that is used to run a Microsoft Dynamics CRM service can’t be a Microsoft Dynamics CRM user. This domain account must be a member of the Domain Users group. Additionally, if the Asynchronous Service and Sandbox Processing Service roles are installed, such as in a Full Server or a Back End Server installation, the domain account must a member of the Performance Log Users security group.

<SandboxServiceAccount type="DomainUser"/"NetworkService">
<ServiceAccountLogin>Domain\User</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</SandboxServiceAccount>
Specifies the service account to use for the Sandbox Processing Service.

Accepted values are DomainUser, which will use the specified domain user provided in the <prefixServiceAccount> element or NetworkService, which uses the Network Service system account. By default, Setup will use the DomainUser option. If DomainUser or no type is specified, <ServiceAccountLogin> and <ServiceAccountPassword> are required. When you run Setup by using the /Q or /QR parameter, if this element isn’t specified, the Network Service account will be used.

WarningWarning
Maintaining the configuration file that has <ServiceAccountLogin> and <ServiceAccountPassword> values specified is a security risk because you’re storing a password in plain text. Delete these elements as soon as the configuration file is used to install Microsoft Dynamics CRM Server 2013.

If you don’t specify this element, Setup will use the account specified in the <CrmServiceAccount> element to run this service. Therefore, we recommend that you specify a different low-privilege user account for each of the Microsoft Dynamics CRM service accounts.

<DeploymentServiceAccount type="DomainUser"/"NetworkService">
<ServiceAccountLogin>Domain\User</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
<DeploymentServiceAccount>
Specifies the service account to use for the Deployment Web Service.

Accepted values are DomainUser, which will use the specified domain user provided in the <prefixServiceAccount> element or NetworkService, which uses the Network Service system account. However, using the Network Service system account isn’t recommended because it may limit some database operations such as organization create, import, upgrade, or update. By default, Setup will use the DomainUser option. If DomainUser or no type is specified, <ServiceAccountLogin> and <ServiceAccountPassword> are required. When you run Setup by using the /Q or /QR parameter, if this element is not specified the Network Service account will be used.

CautionCaution
Maintaining the configuration file that has <ServiceAccountLogin> and <ServiceAccountPassword> values specified is a security risk because you’re storing a password in plain text. Delete these elements as soon as the configuration file is used to install Microsoft Dynamics CRM Server 2013. If you don’t specify this element, Setup will use the account specified in the <CrmServiceAccount> element to run this service. Therefore, we recommend that you specify a different low-privilege user account for each of the Microsoft Dynamics CRM service accounts. In addition to the permissions required by the other Microsoft Dynamics CRM service accounts, the Deployment Web Service account requires system administrator permission on the SQL Server, and must be a member of the local administrator group where SQL Server is running to be able to create or import organizations.

ImportantImportant
To perform organization operations through the Deployment Web Service or Windows PowerShell, the Deployment Service account must have system administrator permissions on the computer that is running SQL Server and must be a member of the local administrators group where SQL Server is installed. Additionally, the user that is performing the organization operations should be a Deployment Administrator.

The Deployment Administrator role in Microsoft Dynamics CRM is set in Deployment Manager.

<AsyncServiceAccount type="DomainUser"/"NetworkService">
<ServiceAccountLogin>Domain\User</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
<AsyncServiceAccount>
Specifies the service account to use for the asynchronous processing services.

Accepted values are DomainUser, which will use the specified domain user provided in the <prefixServiceAccount> element or NetworkService, which uses the Network Service system account. However, using the Network Service system account isn’t recommended because it may limit some database operations such as organization create, import, upgrade, or update. By default, Setup will use the DomainUser option. If DomainUser or no type is specified, <ServiceAccountLogin> and <ServiceAccountPassword> are required.

WarningWarning
Maintaining the configuration file that has <ServiceAccountLogin> and <ServiceAccountPassword> values specified is a security risk because you’re storing a password in plain text. Delete these elements as soon as the configuration file is used to install Microsoft Dynamics CRM Server 2013.

If you don’t specify this element, Setup will use the account specified in the <CrmServiceAccount> element to run this service. Therefore, we recommend that you specify a different low-privilege user account for each of the Microsoft Dynamics CRM service accounts.

<VSSWriterServiceAccount type="DomainUser"/"NetworkService">
<ServiceAccountLogin>="DomainUser"/"NetworkService"</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</VSSWriterServiceAccount>
Specifies the service account to use for the Microsoft Dynamics CRM VSS Writer service.

Accepted values are DomainUser, which will use the specified domain user provided in the <prefixServiceAccount> element or NetworkService, which uses the Network Service system account. By default, Setup will use the DomainUser option. If DomainUser or no type is specified, <ServiceAccountLogin> and <ServiceAccountPassword> are required.

WarningWarning
Maintaining the configuration file that has <ServiceAccountLogin> and <ServiceAccountPassword> values specified is a security risk because you’re storing a password in plain text. Delete these elements as soon as the configuration file is used to install Microsoft Dynamics CRM Server 2013.

We recommend that you specify a different low-privilege user account for each of the Microsoft Dynamics CRM service accounts.

<MonitoringServiceAccount type="DomainUser"/"NetworkService">
<ServiceAccountLogin>="DomainUser"/"NetworkService"</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</MonitoringServiceAccount>
Specifies the service account to use for the Microsoft Dynamics CRM Monitoring service.

Accepted values are DomainUser, which will use the specified domain user provided in the <prefixServiceAccount> element or NetworkService, which uses the Network Service system account. By default, Setup will use the DomainUser option. If DomainUser or no type is specified, <ServiceAccountLogin> and <ServiceAccountPassword> are required.

WarningWarning
Maintaining the configuration file that has <ServiceAccountLogin> and <ServiceAccountPassword> values specified is a security risk because you’re storing a password in plain text. Delete these elements as soon as the configuration file is used to install Microsoft Dynamics CRM Server 2013.

We recommend that you specify a different low-privilege user account for each of the Microsoft Dynamics CRM service accounts.

For information about Microsoft Dynamics CRM services, see Microsoft Dynamics CRM server roles. For information about the permissions required for Microsoft Dynamics CRM services and what type of account to use, see Security considerations for Microsoft Dynamics CRM 2013.

<SQM optin=" true / false"/>
Specifies whether you will participate in the Customer Experience Improvement Program. If you specify true, you’ll participate in the program.

<Reporting URL="http://srsserver1/ReportServer"/>
URL

Specifies the URL of the Report Server.

<Groups autogroupmanagementoff="true/false">
<PrivUserGroup>CN=value,OU=value,DC=value,DC=value,DC=value</PrivUserGroup>
<SQLAccessGroup>CN=value,OU=value,DC=value,DC=value,DC=value</SQLAccessGroup>
<ReportingGroup>CN=value,OU=value,DC=value,DC=value,DC=value</ReportingGroup>
<PrivReportingGroup>CN=value,OU=value,DC=value,DC=value,DC=value</PrivReportingGroup>
</Groups>
When specified, Setup will use the existing groups in Active Directory instead of creating them during installation. If <automanagegroupsoff> is true, Setup will not add or remove any members to those groups. If you specify <automanagegroupsoff> as true, you must manually create and add the appropriate membership to these groups for users to be able to run the application, and you must continue to do so as new members are added or removed from Microsoft Dynamics CRM.

ImportantImportant
  • You can’t use the <Groups> element with the <OU> element. Setup won’t continue if you specify both elements together.

  • Direct user account membership in the Microsoft Dynamics CRM privusergroup security group is required and group membership nesting under privusergroup currently is not supported. Granting membership to privusergroup through another security group can cause system-wide failures in the CRM web application and reporting features. For example, if you add a security group named mycrmprivgroupusers to privusergroup, members of mycrmprivgroupusers will not resolve as privusergroup members. This includes the CRMAppPool or the SQL Server Reporting Services service identities.

This setting is only available when you use a configuration file.

<Reboot>"true" / "false"</Reboot>
If this option is not specified, the default is false. This means that the server won’t automatically restart at the end of Setup. Also, this option applies only to a final install restart, and not previous restarts that may be required for other components.

noteNote
The installation of Microsoft .NET Framework may require you to restart your computer before you can continue to run Microsoft Dynamics CRM Setup.

<Email>
<IncomingExchangeServer name="ServerName"/>
This optional element specifies the Microsoft Exchange Server computer or POP3 that will be used by the Email Router to route incoming email messages. If not specified and later the Email Router is used in the deployment, the computer must be added to the PrivUserGroup security group.

</Email>
Specifies the email server that will be used for email routing.

<configdb>
This is the parent for the following encryption key elements:

WarningWarning
By default, encryption keys aren’t stored in the configuration database in an encrypted format. We strongly recommend that you specify encryption when you run Setup by using the following entries.

<encryptionkeys certificate="CrmEncryptionCertificate" generate="true"/"False" password="SCpassword" keysource="uniqueID">
The <encryptionkeys> element specifies how, and whether, to encrypt the keys that are stored in the Microsoft Dynamics CRM system. Use generate="true" to enable the system-generated keys that are encrypted. The keysource may be any value, but must be different from other keysource values. SCpassword is the password that will be used to create the symmetric certificate. This setting is only available when you use a configuration file.

WarningWarning
Maintaining a configuration file that has password and keysource values specified is a security risk because you are storing a password and key information in plain text. We recommend that you save the password in a secure location from where it can be retrieved later for recovery. For more information about best practices for password storage, see the MSDN article Passwords Best practices. Then, delete these elements as soon as the configuration file is used to install Microsoft Dynamics CRM.

<encryptionkey physicalname="CrmSymmetricKey" virtualname="CrmKeyEncryptionKey"/>
Each <encryptionkeys> element specifies a mapping between a symmetric key store in the Microsoft SQL Server database to a virtual key name, hard-coded in Microsoft Dynamics CRM for encrypting data in the configuration database. This setting is only available when you use a configuration file.

</encryptionkeys>
</configdb>
 
<LaunchReportingExtensionsSetup>"false" / "true"</LaunchReportingExtensionsSetup>
Optional element that specifies whether to start Microsoft Dynamics CRM Reporting Extensions Setup immediately after Microsoft Dynamics CRM Server Setup completes. By default, the value for this element is false and Microsoft Dynamics CRM Reporting Extensions Setup won’t start after Microsoft Dynamics CRM Server Setup completes. Additionally, Microsoft Dynamics CRM Reporting Extensions Setup will only start when the following conditions are true:

  • Microsoft Dynamics CRM Server Setup will be creating or upgrading the first organization in the deployment

  • The specified Report Server computer is the local computer where Setup is running

See Also

Send comments about this article to Microsoft.

© 2014 Microsoft Corporation. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft