Running the post installation silently
The ArcGIS Server post installation process can be executed silently. GIS Server Post Install configures and authorizes the server object manager and server object container. This topic details the command line parameters required to silently configure and authorize ArcGIS Server for use.

For more information, there are example command lines for running the postinstallation silently.
GIS Server Post Install
GIS Server Post Install configures and authorizes ArcGIS Server for use. If both the server object manager and the server object container are installed, GIS Server Post Install configures and authorizes the ArcGIS Server installation. If only the server object manager is installed, GIS Server Post Install only configures the ArcGIS Server installation. If only the server object container is installed, GIS Server Post Install will configure and authorize the ArcGIS Server installation.
Configure ArcGIS Server silently
A server configuration file is recommended to run the GIS server post installation silently. The configuration file required is created when GIS Server Post Install is run manually and the Export configuration file option is selected.

The GIS Server Post Install must be run manually at least one time (with the Export configuration file option selected) to create a server configuration file. The exported server configuration file can be used to execute the GIS Server Post Install silently on other machines.
![]() |
After a server configuration file has been created, use the command below to run the GIS Server Post Install silently:
<ArcGIS installation location>\Server10.0\bin\ServerPostInstall.exe /readconfig C:\<path to server configuration file>configurationfile.xml
For example:
"C:\Program files\ArcGIS\Server10.0\bin\ServerPostInstall.exe" /readconfig C:\config_files\PostInstallConfig.xml
Authorize ArcGIS Server
<System disk drive>\Program files\Common files\ArcGIS\bin\SoftwareAuthorization.exe /LIF <path to .ecp authorization file>authorizationfile.ecp /S
For example:
"C:\Program files\Common files\ArcGIS\bin\SoftwareAuthorization.exe" /LIF C:\Server_authorization.ecp /S
Post installation command line examples
The examples below can be used as a template to build a batch file that will silently configure and authorize ArcGIS Server 10 for the Java Platform. Installation command line parameters can be incorporated to install, configure, and authorize ArcGIS Server with one batch file. See Installing ArcGIS Server silently for more information on installation command line parameters.
Full ArcGIS Server 10 for the Java Platform post installation
"C:\Program files\ArcGIS\Server10.0\bin\ServerPostInstall.exe" /readconfig C:\config_files\PostInstallConfig.xml "C:\Program files\Common files\ArcGIS\bin\SoftwareAuthorization.exe" /LIF C:\Server_authorization.ecp /S
SOM only post installation
"C:\Program files\ArcGIS\Server10.0\bin\ServerPostInstall.exe" /readconfig C:\config_files\PostInstallConfig.xml
SOC only post installation
"C:\Program files\ArcGIS\Server10.0\bin\ServerPostInstall.exe" /readconfig C:\config_files\PostInstallConfig.xml "C:\Program files\Common files\ArcGIS\bin\SoftwareAuthorization.exe" /LIF C:\Server_authorization.ecp /S
Advanced GIS server post installation command line parameters
- /hideoutput—Runs GIS Server Post Install in silent mode
- /containeronly—For use with SOC-only installations
- /manageronly—For use with Web services-only installations
- /both—Default of /containeronly and /manageronly; for use in a full installation
- /writeconfig—Writes a configuration file to save the options chosen in the current run of the server post installation
- /readconfig—Runs the server post installation using a previously saved configuration file
- /uninstallUninstalls the ArcSOCMon and ArcSOM (and ArcGIS Manager) Windows OS services
- /somusername—Default ArcGISSOM; name for the ArcGIS Server SOM account
- /sompassword—Password for the ArcGIS Server server object manager account
- /socusername—Default ArcGISSOC; name for the ArcGIS Server SOC account
- /socpassword—Password for the ArcGIS Server SOC account
- /wsusername—Default ArcGISWebServices (java: arcgismanager); name for the ArcGIS Server Web Services account
- /wspassword—Password for the ArcGIS Web Services account
- /useproxy—Enables connections from server objects to outside resources to use a proxy server
- /proxyaddress—Address of proxy server (host name or IP address)
- /proxyport—Port number of proxy server
- /proxyusername—User name of authenticated user for proxy server (if required)
- /proxypassword—Password for the proxy server authenticated user
- /webserverroot—Default C:\arcgisserver; physical path to where the server output directories are created
- /webserverport—Default 80 for .NET and 8399 for Java; HTTP port of Web server
- /instancename—Name of the Web server; used to create virtual directory URLs
To use unencrypted passwords, edit the configuration file created with the ArcGIS Server Post Install /writeconfig option and add an encrypted="false” attribute to any password element. For example, to use an unencrypted password for the ArcGIS Server accounts, edit the saved GIS Server Post Install configuration file by adding encrypted attributes as follows:
<?xml version="1.0" encoding="utf-8" ?> <ServerPostInstall> <ManagerUser>ArcGISSOM</ManagerUser> <ManagerPassword encrypted=”false”>myUnecryptedPassword</ManagerPassword> <ContainerUser>ArcGISSOC</ContainerUser> <ContainerPassword encrypted=”false”>myUnencryptedPassword</ContainerPassword> <WebServicesUser>ArcGISWeb</WebServicesUser> <WebServicesPassword encrypted=”false”>myUnencryptedPassword</WebServicesPassword> <ServerDirectoryRoot>c:\arcgisserver</ServerDirectoryRoot> <WebServer>myWebServer</WebServer> </ServerPostInstall>