Installing ArcGIS for Server silently

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

NoteNote:

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

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.

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.

NoteNote:

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 10.2 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

CautionCaution:

If the ArcGIS Server account is not defined during a silent (/qb) installation, or the credentials are not valid, the ArcGIS for 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

CautionCaution:

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

CautionCaution:

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

NoteNote:

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

CautionCaution:

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.

Authorizing ArcGIS for Server silently

Run the command below 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.2 /LIF <path to .prvc authorization file>authorizationfile.prvc

NoteNote:

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 {86566F55-42F9-4806-94FA-1F38280B2216} /qb

12/18/2014