SCCM – Command Line Options for Setup

email me

Command-line options for setup

/DEINSTALL
Uninstalls the site. Run setup from the site server computer.

/DONTSTARTSITECOMP
Installs a site, but prevents the Site Component Manager service from starting. Until the Site Component Manager service starts, the site is not active. The Site Component Manager is responsible for installing and starting the SMS_Executive service, and for additional processes at the site. After the site install is finished, when you start the Site Component Manager service, it installs the SMS_Executive service and additional processes that are necessary for the site to operate.

/HIDDEN
Hides the user interface during setup. Use this option only in conjunction with the /SCRIPT option. The unattended script file must provide all required options or setup fails.

/NOUSERINPUT
Disables user input during setup, but displays the setup wizard. Use this option only in conjunction with the /SCRIPT option. The unattended script file must provide all required options or setup fails.

/RESETSITE
Performs a site reset that resets the database and service accounts for the site. Run setup from <Configuration Manager installation path>\BIN\X64 on the site server. For more information about the site reset.

/TESTDBUPGRADE <Instance name>\<Database name>
Performs a test on a backup of the site database to ensure that the database is capable of an upgrade. Provide the instance name and database name for the site database. If you specify only the database name, setup uses the default instance name.

Important

Do not run this command-line option on your production site database. Running this command-line option on your production site database upgrades the site database and could render your site inoperable.

/UPGRADE
Runs an unattended upgrade of a site. When you use /UPGRADE, you must specify the product key, including the dashes (-). Also, you must specify the path to the previously downloaded setup prerequisite files.

Example: setupwpf.exe /UPGRADE xxxxx-xxxxx-xxxxx-xxxxx-xxxxx <path to external component files>

/SCRIPT <setup script path>
Performs unattended installations. A setup initialization file is required when you use the /SCRIPT option.

/SDKINST <SMS Provider FQDN>
Installs the SMS Provider on the specified computer. Provide the fully qualified domain name (FQDN) for the SMS Provider computer. For more information about the SMS Provider.

/SDKDEINST <SMS Provider FQDN>
Uninstalls the SMS Provider on the specified computer. Provide the FQDN for the SMS Provider computer.

/MANAGELANGS <Language script path>
Manages the languages that are installed at a previously installed site. To use this option, run setup from <Configuration Manager installation path>\BIN\X64 on the site server. Provide the location for the language script file that contains the language settings. Command-line options to manage languages