Skip To Content

Silently install ArcGIS Server

You can install ArcGIS Server without a user interface by running the setup using Windows Installer command line parameters.

Note:

If you're upgrading to 11.0, see Frequently asked upgrading questions for more information.

Requirements

  • The .NET Extension Support feature requires the appropriate version of Microsoft .NET be installed. If the appropriate version is not found, the .NET Extension Support feature will not be available for installation.

For information on the appropriate version, see the ArcGIS Server System requirements.

Installation command line parameters

The following parameter is required when installing ArcGIS Server silently.

  • ACCEPTEULA=yes

    This property is required to accept the End User License Agreement during a silent installation. Specify yes to agree to the EULA and install the software. Specifying no or omitting this property will result in a failed installation. The download contains a PDF version of the End User License Agreement (EULA). The EULA.pdf file is located in the \Documentation folder.

See the following example:

<path to the ArcGIS Server setup download>\setup.exe /qb ACCEPTEULA=yes

Optional installation command line parameters

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

  • INSTALLDIR=<installation location>

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

Example 1: Change the installation location of ArcGIS Server:

<path to the ArcGIS Server setup download>\setup.exe /qb ACCEPTEULA=yes INSTALLDIR=C:\NewServerDir USER_NAME=myaccount PASSWORD=my.password

Example 2: Do not install the .NET Extension Support features:

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

Configuring the ArcGIS Server account using command line parameters

The ArcGIS Server account must be configured when ArcGIS 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 is 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 Server > Configure ArcGIS Server Account. When prompted, enter the name and password for the account that will be used by ArcGIS Server. The option is available to save a configuration file with this information to speed up the configuration process on other ArcGIS Server machines and reduce the chance of inadvertently typing a wrong name or password. While the account password is encrypted, 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 is created if it does not already exist. If the account is not valid, a message box appears during installation indicating the account or password is invalid.

  • MSA=TRUE

    This parameter should only be used with a Managed Service Account. A Managed Service Account must already exist on your domain. Do not use this parameter with a local account or a domain account with password. A Managed Service Account will not use the PASSWORD parameter.

  • PASSWORD=<account password>

    This is the password for the account specified for the USER_NAME parameter. If the password is not valid, a message box appears during installation indicating the account or password is invalid.

See the examples below.

Caution:

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

Using a domain account

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

Using a new or existing local account

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

Using a Managed Service Account

<path to the ArcGIS Server setup download>\setup.exe /qb ACCEPTEULA=yes MSA=TRUE USER_NAME=mydomain\mymsa

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 Server (earlier installations or from other machines). For more information, see The ArcGIS Server account.

See the following example:

<path to the ArcGIS Server setup download>\setup.exe /qb ACCEPTEULA=yes 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 that 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 Server is being installed must have write permissions to the network share. For example, if you're installing ArcGIS 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 is 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 is 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.

See the following example:

<path to the ArcGIS Server setup download>\setup.exe /qb ACCEPTEULA=yes 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 that the case matches the properties as shown in the examples.

Authorizing ArcGIS Server silently

Run the following command to authorize ArcGIS 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 <Version number> /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 Server silently. Open the authorization file in a text editor, and complete the User Information section.

Using the createsite command line utility to create an ArcGIS Server site

At 10.6, you can use the createsite command line utility to create a new ArcGIS Server site once ArcGIS Server has been installed. Two options available for using the createsite utility are as follows:

  • Run the createsite utility as an administrator from a command prompt and specify user name, password, config-store, and directory parameters.
  • Provide a createsite.properties file containing specified parameters.

For the usage of the createsite command line utility, run the createsite.bat script with -h or -help as shown below:

<ArcGIS Server Installation Directory>\tools\createsite\createsite.bat -help

Example usage with the utility: createsite.bat [-u <arg>] [-p <arg>] [-d <arg>] [-c <arg>]

Example usage using a file: createsite.bat [-f <FILE>]

Note:

When you reference a path in the createsite.properties file, you must escape the backslash, for example, C:\\arcgisserver\\config-store or \\\\<Absolute path to>\\<Server config-store>.

OptionDescription

-u; --username

User name for the primary site administrator.

The user name cannot contain the following characters: \/:*?|<>"

-p; --password

Password for the primary site administrator.

The password cannot contain the following characters: \/:*?|<>"

-d; --directory

Root server directory.

By default, the server directories are created locally at this location:

C:\\arcgisserver\\directories

or

\\\\<Absolute path to>\\<Server directories>

-c; --configstore

Configuration store for ArcGIS Server site.

By default, the configuration store is created locally at this location:

C:\\arcgisserver\\config-store

or

\\\\<Absolute path to>\\<ArcGIS Server config-store>

-f; --file

Properties file for the createsite utility.

By default, the createsite.properties file can be found at this location:

<ArcGIS Server Installation Directory>\tools\createsite

-h; --help

Displays command line help and exits.

An example of the createsite.properties file:

#
# Configuration properties for Server site creation
#
# User name for primary site administrator.
# Cannot contain these characters: \/:*?<>"
SERVER_ADMIN_USERNAME = 
# Password for primary site administrator.
# Cannot contain these characters: \/:*?<>"
SERVER_ADMIN_PASSWORD = 
# Initially, leave SERVER_ADMIN_PASSWORD_ENCRYPTED set to false.
# When you run the tool the first time, the password will be
# encrypted and SERVER_ADMIN_PASSWORD_ENCRYPTED will change to true.
SERVER_ADMIN_PASSWORD_ENCRYPTED = false
# Root server directory. By default, the server directories will be created locally, 
# e.g.C:\\arcgisserver\\directories, or \\\\<Absolute path to>\\<Server directories>.
SERVER_DIRECTORIES_PATH = 
# Configuration store for the ArcGIS Server site. By default, the configuration store will be created locally, 
# e.g. C:\\arcgisserver\\config-store, or \\\\<Absolute path to>\\<Server config-store>.
SERVER_CONFIGSTORE_PATH =

You will receive a message that the ArcGIS Server site has been created successfully before the tool exits.

Uninstall ArcGIS Server silently

To uninstall ArcGIS Server 11.0 silently, run this command from the command line:

msiexec /x {A14CF942-415B-461C-BE3C-5B37E34BC6AE} /qb

To uninstall ArcGIS Server 10.9.1 silently, run this command from the command line:

msiexec /x {E4A5FD24-5C61-4846-B084-C7AD4BB1CF19} /qb

To uninstall ArcGIS Server 10.9 silently, run this command from the command line:

msiexec /x {32A62D8E-BE72-4B28-AA0E-FE546D827240} /qb

To uninstall ArcGIS Server 10.8.1 silently, run this command from the command line:

msiexec /x {E9B85E31-4C31-4528-996B-F06E213F8BB3} /qb

To uninstall ArcGIS Server 10.8 silently, run this command from the command line:

msiexec /x {458BF5FF-2DF8-426B-AEBC-BE4C47DB6B54} /qb

To uninstall ArcGIS Server 10.7.1 silently, run this command from the command line:

msiexec /x {08E03E6F-95D3-4D33-A171-E0DC996E08E3} /qb

To uninstall ArcGIS Server 10.7 silently, run this command from the command line:

msiexec /x {98D5572E-C435-4841-A747-B4C72A8F76BB} /qb

To uninstall ArcGIS Server 10.6.1 silently, run this command from the command line:

msiexec /x {F62B418D-E9E4-41CE-9E02-167BE4276105} /qb

To uninstall ArcGIS Server 10.6 silently, run this command from the command line:

msiexec /x {07606F78-D997-43AE-A9DC-0738D91E8D02} /qb

Uninstall ArcGIS Server language packs silently

To uninstall ArcGIS Server 11.0 language packs silently, replace the product code with the product code of the language pack to be uninstalled. Language pack product codes are listed in the following table:

Language packProduct code

ArcGIS Server Arabic language pack

{12FAF1E0-B717-419C-8E38-FEE421E65502}

ArcGIS Server Chinese language pack

{04A7EE6A-9118-4476-A7EB-A95222DC1404}

ArcGIS Server French language pack

{443E5E64-E31F-42A7-A906-8391DA4B059E}

ArcGIS Server German language pack

{2CE4C1A2-EB2E-4044-A69E-2BA4D842DA58}

ArcGIS Server Italian language pack

{5619CAEB-5291-4248-8D75-B82DCE5FE6B1}

ArcGIS Server Japanese language pack

{684EDDB8-636F-4D6A-925C-94A8507E7049}

ArcGIS Server Portuguese language pack

{718688F4-2C80-4873-9FDF-8860B42F5B3F}

ArcGIS Server Russian language pack

{83E3C4B2-5155-4B8C-BC50-621064D87F98}

ArcGIS Server Spanish language pack

{34DE1A6A-8517-443B-9008-D2D96B7D065D}

ArcGIS Server Turkish language pack

{9A336D59-6B22-4740-8769-F155B3CFB282}

To uninstall ArcGIS Server 10.9.1 language packs silently, replace the product code with the product code of the language pack to be uninstalled. Language pack product codes are listed in the following table:

Language packProduct code

ArcGIS Server Arabic language pack

{918714D6-7D2B-4AE3-8990-0BE5B48BE770}

ArcGIS Server Chinese language pack

{8F0B5A02-80E5-49BD-A343-096882EA256B}

ArcGIS Server French language pack

{2D7E796C-3618-4D69-8E5F-2B3D9CAD4F25}

ArcGIS Server German language pack

{02B32C18-84CA-40F8-B5B6-B3C1A44B5029}

ArcGIS Server Italian language pack

{32CB6189-CBF4-4A9A-9189-77906A979060}

ArcGIS Server Japanese language pack

{4D878D2E-1734-48E0-8E7D-E9A8C119A5E3}

ArcGIS Server Portuguese language pack

{5B2B10CF-0760-4FC7-AD50-74B758608F52}

ArcGIS Server Russian language pack

{64DBAF21-CA11-4FC1-96A9-AD2E3932AB1C}

ArcGIS Server Spanish language pack

{1DF1ED4E-46E9-48CD-A132-5D993AE54F53}

ArcGIS Server Turkish language pack

{77C4DD97-EC7B-4044-AD87-A6416D6E280E}

To uninstall ArcGIS Server 10.9 language packs silently, replace the product code with the product code of the language pack to be uninstalled. Language pack product codes are listed in the following table:

Language packProduct code

ArcGIS Server Arabic language pack

{8A3B71EB-E4D7-405D-A4C0-B29CA5A4AE43}

ArcGIS Server Chinese language pack

{79A07850-E1BD-4EDB-B511-013CDF13E653}

ArcGIS Server French language pack

{1B7AB41E-75C6-4E94-9B6E-158C851FE372}

ArcGIS Server German language pack

{928E9938-FAFB-4A56-9A49-F27652628B58}

ArcGIS Server Italian language pack

{25A54B2D-D033-4DD4-9FAA-5E46157D5869}

ArcGIS Server Japanese language pack

{25A54B2D-D033-4DD4-9FAA-5E46157D5869}

ArcGIS Server Portuguese language pack

{45C659AD-0BA5-4739-8F9F-0E47526B68C7}

ArcGIS Server Russian language pack

{54E01648-5D66-4F25-A2D2-0084BCE592B1}

ArcGIS Server Spanish language pack

{08378314-2614-42BE-9ECB-A310103009E3}

ArcGIS Server Turkish language pack

{6B3FF25A-725C-4DC9-8323-F10FADB6E954}

To uninstall ArcGIS Server 10.8.1 language packs silently, replace the product code with the product code of the language pack to be uninstalled. Language pack product codes are listed in the following table:

Language packProduct code

ArcGIS Server Arabic language pack

{7A03A8D0-1890-488D-92DE-06D9E6D2C51A}

ArcGIS Server Chinese language pack

{656891D6-EC8A-4060-B001-7262AE36A526}

ArcGIS Server French language pack

{0FC94791-D90F-4309-ABC0-C062C997EBF1}

ArcGIS Server German language pack

{877B0C5B-13E5-4ECF-ABAA-5B76E360D47D}

ArcGIS Server Italian language pack

{16A657FD-CF64-44EA-960A-77114E654729}

ArcGIS Server Japanese language pack

{290B1A2C-3A1E-439F-B8BF-EBAF2CA1BD66}

ArcGIS Server Portuguese language pack

{3FEA8EE7-32EC-40C1-A1FF-0BEB3D5E763A}

ArcGIS Server Russian language pack

{45BAA37F-1958-4FDA-B61C-843987900F49}

ArcGIS Server Spanish language pack

{97118B15-4BE6-4EC5-A53C-6D1DA0ADB5D0}

ArcGIS Server Turkish language pack

{5338E97B-698D-439D-BCCA-B50D249F7EE7}

To uninstall ArcGIS Server 10.8 language packs silently, replace the product code with the product code of the language pack to be uninstalled. Language pack product codes are listed in the following table:

Language packProduct code

ArcGIS Server Arabic language pack

{4AC41F43-6BDD-4003-9661-626A7D1821F6}

ArcGIS Server Chinese language pack

{31BEB0F7-805A-4C8C-81BF-988ED95F8AA9}

ArcGIS Server French language pack

{704BE266-768B-455A-9E33-CD90003EB7DF}

ArcGIS Server German language pack

{57AE69C4-F297-45A0-AFC2-AD1B2ADBAEE4}

ArcGIS Server Italian language pack

{81FF1BAB-9177-46D3-80CB-9F7AAC820B70}

ArcGIS Server Japanese language pack

{9986AB72-C9B6-4C1B-B41E-778AFBE9E2EC}

ArcGIS Server Portuguese language pack

{00E83C25-FA06-4F6D-A8D0-89895BC72A6C}

ArcGIS Server Russian language pack

{1F2D082D-6131-47CD-B799-CBF931DDE9BB}

ArcGIS Server Spanish language pack

{69A4F6F3-0E12-4F7A-AE2E-19B631467B87}

ArcGIS Server Turkish language pack

{2C093334-B99C-4E2B-B5E8-A8613B931A49}

To uninstall ArcGIS Server 10.7.1 language packs silently, replace the product code with the product code of the language pack to be uninstalled. Language pack product codes are listed in the following table:

Language packProduct code

ArcGIS Server Arabic language pack

{392843C1-208F-4C5F-8C25-9E9E26359DDB}

ArcGIS Server Chinese language pack

{DE40FA37-F7CB-4222-A55B-AA1C08056F21}

ArcGIS Server French language pack

{523C39A6-CB85-49FC-B3AF-B6AB2BB6ED22}

ArcGIS Server German language pack

{7055DC67-7839-44FE-839B-B9626E0578CB}

ArcGIS Server Italian language pack

{4C835EA8-BD03-409C-9745-740A7D002852}

ArcGIS Server Japanese language pack

{5C39FBDB-B2B7-46BB-BBAE-0D033AA62337}

ArcGIS Server Portuguese language pack

{947C52F1-2D85-492A-B0CC-275A680E13A8}

ArcGIS Server Russian language pack

{A62461BD-4B97-427B-815A-C84336D311D5}

ArcGIS Server Spanish language pack

{097BFD50-2455-44D1-B97C-2A35670298E5}

ArcGIS Server Turkish language pack

{CE333959-F7E0-405C-A736-9CB2980F369B}

To uninstall ArcGIS Server 10.7 language packs silently, replace the product code with the product code of the language pack to be uninstalled. Language pack product codes are listed in the following table:

Language packProduct code

ArcGIS Server Arabic language pack

{20E8D738-F653-4A90-AA86-37493AEA80B3}

ArcGIS Server Chinese language pack

{6194F47E-5201-4891-B7A7-A098FFD95B08}

ArcGIS Server French language pack

{CFE6733D-9D03-4E17-95AE-08E8855D64C9}

ArcGIS Server German language pack

{AE8D6E66-C5E3-4CAE-8398-27C1BD9FBBC3}

ArcGIS Server Italian language pack

{FF7A13D4-7652-49DA-91BC-2D49F44A0804}

ArcGIS Server Japanese language pack

{C0D38610-0473-4D18-B46F-7E456A0D6849}

ArcGIS Server Portuguese language pack

{96700DD7-FA0A-4332-9316-1F930C08C1EF}

ArcGIS Server Russian language pack

{BE4BB3B2-09C2-45D9-88F5-08DE33452326}

ArcGIS Server Spanish language pack

{A3F9BFD5-2ABD-4DBF-B0DE-51FC2E957847}

ArcGIS Server Turkish language pack

{27B3EAD8-7891-4A0D-A99A-F89D43A975BE}

To uninstall ArcGIS Server 10.6.1 language packs silently, replace the product code with the product code of the language pack to be uninstalled. Language pack product codes are listed in the following table:

Language packProduct code

ArcGIS Server Arabic language pack

{E6664FE2-A3C9-4BBA-9995-11447515CA09}

ArcGIS Server Chinese language pack

{73B5A04C-8322-40FB-A420-E311857970F4}

ArcGIS Server French language pack

{B192A25A-16A8-4237-9C50-7EF3B03C68AE}

ArcGIS Server German language pack

{CA39B5CA-B7AB-4F34-92F0-D97F7BB1F08F}

ArcGIS Server Italian language pack

{DE677192-72CF-4272-8E1B-75431F1F3BCA}

ArcGIS Server Japanese language pack

{6857CAF8-2CC6-4CA0-9A2F-D36BEC3C7292}

ArcGIS Server Portuguese language pack

{57D46BEE-E3C9-4854-A582-5F6BF398FAC4}

ArcGIS Server Russian language pack

{48A01BE0-FDF2-4778-AA93-C9126AC2C3C0}

ArcGIS Server Spanish language pack

{7330354A-59D6-433B-9BAB-2E961AB3A8DC}

ArcGIS Server Turkish language pack

{36AE3DB4-FC37-4C25-9570-C0A8B7A12923}

To uninstall ArcGIS Server 10.6 language packs silently, replace the product code with the product code of the language pack to be uninstalled. Language pack product codes are listed in the following table:

Language packProduct code

ArcGIS Server Arabic language pack

{135F5842-523C-4438-8DFF-500D08E2DA2C}

ArcGIS Server Chinese language pack

{F84B018E-3397-4D6E-8448-E1AA0D918B53}

ArcGIS Server French language pack

{45839B38-28B3-408D-B3D6-361A5D2549D6}

ArcGIS Server German language pack

{D1F7EA17-EF4F-4D70-9AC8-9270E0162D93}

ArcGIS Server Italian language pack

{55BCEBC1-920B-4986-BFE6-642A6DA7F529}

ArcGIS Server Japanese language pack

{802EA707-E949-4D6F-8E9B-33AFB210B414}

ArcGIS Server Portuguese language pack

{D0DEDF54-FFC2-4304-8A21-1442A53EAA1C}

ArcGIS Server Russian language pack

{1045204B-1C1C-4287-BBFE-BCDE88C64174}

ArcGIS Server Spanish language pack

{4769D140-A4AC-4B90-8FD3-1A74C7F91483}

ArcGIS Server Turkish language pack

{FC46E370-0407-4884-80F0-7DA1FF401CE5}