There are many options available for running Configuration Manager 2007 Setup.exe from the command line. These options can be used to test a site's ability to be upgraded, perform an unattended upgrade or site reset, or allow setup to use an initialization file for performing new, unattended installations.
Note |
---|
This document describes using command-line options for Setup.exe. For information about using setup initialization files for performing unattended installations, see Unattended Setup Overview. |
Setup Command Line Options
Command-Line Option | Description | ||
---|---|---|---|
/TRACING:OFF |
Disables logging of setup actions. |
||
/NODISKCHECK |
Disables verification of disk space requirement checking. |
||
/UPGRADE |
Performs an unattended upgrade. When using the /UPGRADE command, you must also type the product key, including the dashes, for the Configuration Manager 2007 installation. Additionally, the path to previously downloaded external component files required for Configuration Manager 2007 client installation must be provided. For more information about required external component files, see Prerequisite Component Update Checker. The complete /UPGRADE command line should appear similar to the following: Setup /UPGRADE xxxxx-xxxxx-xxxxx-xxxxx-xxxxx <path to external component files>
|
||
/DEINSTALL |
Uninstalls the site. |
||
/DONTSTARTSITECOMP |
Installs a site, but does not start the Site Component Manager service. This will cause the site to be installed, but not active. |
||
/NOUSERINPUT |
Disables user input, but displays the Setup Wizard interface. |
||
/NODEFAULTCOLL |
Disables the creation of Configuration Manager default collections except for the All Systems collection. |
||
/ALLCLIENTOPTIONSON |
Enables all client agents. |
||
/RESETSITE |
Performs a site reset by resetting the database and service accounts for the site. |
||
/HIDDEN |
Does not display the Setup Wizard interface. This command-line option should be used with the /SCRIPT option. |
||
/TESTDBUPGRADE |
Performs testing on the site database to ensure that it is capable of an upgrade. It is recommended that you run this command-line option on a backup of the site database instead of on your production site database itself. |
||
/SCRIPT |
Used to perform unattended installations. A setup initialization file is required when using the /SCRIPT option. |
||
/ICPUNATTENDED |
Used for International Client Pack unattended setup. |
Prerequisite Check Command Line Options Available When Using Setup.exe from the Command Line
Command-Line Option | Description | ||
---|---|---|---|
/PREREQ |
The command-line option /PREREQ is only used by itself when upgrading existing installations. The machine being checked for prerequisites must already have a primary or secondary site or the SMS 2003 Administrator Console already installed. |
||
/PREREQ /PRI /SQL <SQL Server name or SQL Server named instance name> /SDK <SMS Provider machine name> /MP <FQDN of management point computer> |
Used together, these command-line options do the following:
|
||
/PREREQ /SEC |
Used together, these command line options will check for secondary site installation prerequisites on the computer the command is run on. |
||
/PREREQ /ALLSEC |
Used together, these command line options will check all secondary child sites of the primary site computer the command is run on for required Setup prerequisites.
|
||
/PREREQ /UI |
Used together, these command line options will check for Configuration Manager console installation prerequisites on the computer the command is run on. |