Skip To Content

Installing ArcGIS for Server silently

In this topic

ArcGIS for Server can be installed without a user interface by running the setup using Windows Installer command line parameters.

Note:

Upgrading to 10.3.1? For more information, see Existing ArcGIS for Server users.

Requirements

  • ArcGIS for Server requires Microsoft Core XML Services (MSXML) 6.
  • The .NET Extension Support feature requires Microsoft .NET 3.5 Service Pack 1 (SP1). If Microsoft .NET SP1 is not found, the .NET Extension Support feature will not be available for installation.

For more information, see System requirements.

Installation location command line parameters

The following are the Windows Installer command line parameters to be used when installing ArcGIS for Server silently. Use these commands to change the installation location of ArcGIS for Server or the installation location of Python.

  • INSTALLDIR=<installation location>

    This property allows you to specify the installation location of ArcGIS for Server from the command line. If you do not set this property, the default installation location of C:\Program Files\ArcGIS\Server\ is used.

  • INSTALLDIR1=<installation location for Python>

    This property allows you to specify the installation location of Python from the command line. If you do not set this property, the default location for this feature is \Python27 on the local drive with the most available disk space.

For example:

<path to the ArcGIS for Server setup download>\setup.exe /qb INSTALLDIR=C:\NewServerDir INSTALLDIR1=C:\NewPythonDir

Configuring the ArcGIS Server account using command line parameters

The ArcGIS Server account must be configured when ArcGIS for Server is installed silently. For production systems, it is recommended that you designate a preexisting account that resides in your domain or Active Directory and follows your organization's security policy. If command line parameters are not used to configure the ArcGIS Server account during silent installations, the account will be set to the Local System account. This is primarily for the convenience of quickly installing ArcGIS Server.

Note:

The ArcGIS Server account can be changed at a later time by running the Configure ArcGIS Server Account utility. The utility is available at Start > ArcGIS > ArcGIS for Server > Configure ArcGIS Server Account. When prompted, enter the name and password for the account that will be used by ArcGIS for Server. The option is available to save a configuration file with this information to speed up the configuration process on other ArcGIS for Server machines and reduce the chance of inadvertently typing a wrong name or password. While the account password is encrypted, be sure to store the configuration file in a secure location.

Use the command line parameters below to configure the ArcGIS Server account.

Passing ArcGIS Server account credentials directly

Caution:

If the ArcGIS Server account is not defined during a silent (/qb) installation, or the credentials are not valid, the ArcGIS Server setup displays a warning message during installation. The message can be closed by clicking OK. Under these circumstances, the ArcGIS Server account is set to the Local System account.

  • USER_NAME=<operating system account>

    The account can be a domain account or a local account. If you are using a domain account, it must already exist. If you are using a local account, the account will be created if it does not already exist. If the account is not valid, a message box will appear during installation indicating the account and/or password is invalid.

  • PASSWORD=<account password>

    Password for the account specified for the USER_NAME parameter. If the password is not valid, a message box will appear during installation indicating the account and/or password is invalid.

For example:

Using a domain account

<path to the ArcGIS for Server setup download>\setup.exe /qb USER_NAME=mydomain\mydomainaccount PASSWORD=my.password

Using a new or existing local account

<path to the ArcGIS for Server setup download>\setup.exe /qb USER_NAME=myaccount PASSWORD=my.password

Caution:

Command line parameters are case sensitive. If you are having trouble getting your command line installation working, confirm the case matches the properties as shown in the examples.

Importing ArcGIS Server account credentials using a server configuration file

The two command line parameters below must be used together to import ArcGIS Server account credentials using a server configuration file.

  • ACCOUNT=UseConfigFile

    Use the ACCOUNT command line parameter exactly as shown above. There are no other valid values for this property.

  • CONFIGPATH=<full path and name of server configuration file>

    Used in conjunction with ACCOUNT=UseConfigFile, this property allows you to specify the server configuration file that will be used to configure the ArcGIS Server account. Server configuration files are created by exporting a server configuration file when installing ArcGIS for Server (earlier installations or from other machines). For more information, see The ArcGIS Server account.

For example:

<path to the ArcGIS for Server setup download>\setup.exe /qb ACCOUNT=UseConfigFile CONFIGPATH=\\networkmachine\serverconfigs\standardaccount.xml

Caution:

Command line parameters are case sensitive. If you are having trouble getting your command line installation working, confirm the case matches the properties as shown in the examples.

Exporting ArcGIS Server account credentials to a server configuration file

Note:

When exporting a server configuration file to a network share, the Local System account on the machine where ArcGIS for Server is being installed must have write permissions to the network share. For example, if you're installing ArcGIS for Server on a machine named Quick, the Local System account on Quick must have write permission to the network share. If the permissions are not set, the server configuration file may not be exported successfully. If you are unsure how to correctly set permissions for the network share, contact your system administrator or export the server configuration file locally and copy it to the network share.

The two command line parameters below must be used together to export ArcGIS Server account credentials to a server configuration file.

  • EXPORTCONFIG=Yes

    Use this property to export the account information entered with the USER_NAME and PASSWORD command line parameters. The account information will be stored in an encrypted XML file, known as a server configuration file. This property is set to No by default.

  • CONFIGPATH=<full path and name of server configuration file>

    Used in conjunction with EXPORTCONFIG=Yes, this property allows you to define the name of the server configuration file and the location where it will be stored. The file name must end with .xml and the specified folder must already exist. If the file does not have an .xml extension and the specified directory does not already exist, the server configuration file creation may not be successful.

For example:

<path to the ArcGIS for Server setup download>\setup.exe /qb EXPORTCONFIG=Yes CONFIGPATH=\\networkmachine\serverconfigs\standardaccount.xml

Caution:

Command line parameters are case sensitive. If you are having trouble getting your command line installation working, confirm the case matches the properties as shown in the examples.

Authorize ArcGIS for Server silently

Run the following command to authorize ArcGIS for Server silently, editing the command line where necessary to reflect the actual authorization file location:

<System disk drive>\Program files\Common files\ArcGIS\bin\SoftwareAuthorization.exe /S /Ver 10.3 /LIF <path to .prvc authorization file>authorizationfile.prvc

Note:

The .prvc authorization file must have all user information completed before running the command to authorize ArcGIS for Server silently. Open the authorization file in a text editor, and complete the User Information section.

Uninstalling ArcGIS for Server silently

Run this command from the command line:

msiexec /x {4F477C55-302B-4A3A-A8AB-9C09A20678AB} /qb