How to Use a Command Line to Install and Uninstall System Center Essentials

You may prefer to use a command line to install System Center Essentials 2007. This approach can be useful if you want to install Essentials 2007 without user intervention.

  • The program used to install and uninstall Essentials 2007 from a command line is Setup.exe. This .exe file exists in the installation folder of the product CD. The various switches you can use with Setup.exe are described in the following sections. Command-line switches can be provided in any order.

Using the Command Line to Install Essentials 2007 Components

The following table describes the parameters you can use with Setup.exe to install some or all Essentials 2007 components.

Switch Required Description

/Path: <Essentials path>

Optional

The local path of the Essentials 2007 Setup.exe file. The default is the current path.

/ProductID: <ProductID>

Required

<ProductID> specifies the Microsoft product key supplied with your purchase of Essentials 2007.

/RegisteredOwner: <RegisteredOwner>

Optional

The registered owner of the product.

/RegisteredOrganization: <RegisteredOrganization>

Optional

The registered organization of the product.

/SQLExpress <SQLExpressPath>

or

/SQLInstanceName: <SQLInstanceName>

Required

One of these two parameters must be specified:

<SQLExpressPath> specifies to install SQL Express in the ‘SQLServer’ directory under /InstallPath location.

<SQLInstanceName> is an existing SQL Server 2005 instance where the Essentials 2007 database is to be installed. The Essentials 2007 database is installed locally to the location where the setup is run.

/SQLDBFiles <Path>

Optional

To use a different path for storing the database file from the path provided by the selected SQL Server 2005 database instance.

/User: <UserName>

Required

The administration account used to run Essentials 2007 processes.

/Domain: <DomainName>

Required

The administration account domain.

/Password: <Password>

Required

The administration account password.

/UpdateLocation: <UpdateLocation>

Optional

<LocalFolderPath> specifies a local folder for storing Microsoft updates. In the absence of this parameter, the Essentials 2007 default is to deploy updates directly from the Microsoft Update server for each managed computer to which an update is deployed.

/Silent

Optional

The switch used to install the product without displaying any user interface.

/help or /?

Optional

Display Help dialog.

/InstallUIOnly

Optional

Installs the Essentials 2007 console on a computer that is remote from the Management Server.

/InstallPath <Path>

Required

Specifies the folder location for installing the Essentials 2007 binaries.

/ReportingSQLInstanceName: <SQLInstanceName>

Optional

<SQLInstanceName> is an existing SQL Server 2005 instance where the SQL Reporting Services is to be installed.

/ReportingBinding <BindingURL>

Optional

<BindingURL> specifies the binding to use if the instance of SQL Server 205 used for SQL Reporting Services has multiple bindings—for example, http://machine:80/reportserver.

/WSUSupgrade

Optional

Setup upgrades a previously installed (upgradable) WSUS instance on this computer to version required by Essentials 2007 (version 3.0). If a previous WSUS instance is installed on this computer and this parameter is not specified, Essentials 2007 Setup does not complete.

/CEIPOptIn

Optional

Enable Customer Experience Improvement Program

/ErrorRepOptIn

Optional

Enable Error Reporting

/ODROptIn

Optional

Enable Operational Data Reporting

/MUUpdate

Optional

Launches IE connected to Microsoft Update if set to TRUE. Does nothing if set to FALSE

Example: Silent Installation

Description

Use the following example to install Essentials 2007 silently. Platform refers to the architecture designation, such as i386 for 32-bit architecture, and amd64 for 64-bit architecture.

Code

<Essentials Path>\Setup\<Platform>\Setup.exe  /Path: <Essentials Path>\Setup\<Platform> /SQLExpress <Path> /User:<UserName> /Password:<Password> /Domain:<Domain> /UpdateLocation:<location to store local WSUS files> /Silent

Example: Console Only

Description

Use the following example to install only the console.

Code

<Essentials Path>\Setup\<Platform>\Setup.exe /InstallUIOnly /Path: <Essentials Path>\Setup\<Platform> 

Comments

The first time that you run the console after installation, it prompts you for the Essentials 2007 Management Server to which it should connect.

Example: Install All Components

Description

The following example installs all components, including SQL Server 2005 Express Edition:

Code

D:\SCECD\Setup\i386\Setup.exe /Path:":\SCECD\Setup\i386"  /SQLExpressPath:<Dir>/User:<UserName> /Password:<Password>/Domain:<Domain>/Silent

Using the Command Line to Uninstall Essentials 2007 Components

The following table describes the parameters you can use with Setup.exe to uninstall Essentials 2007 components.

Switch Required Description

/Path: <path>

Optional

The local location of the Essentials 2007 Setup.exe file.

The default is the Setup.exe path.

/Silent

Optional

The switch used to uninstall the product without displaying any user interface.

/Uninstall

Required

Uninstall the product.

Example

Description

Use the following example to uninstall all components of System Center Essentials.

Code

D:\SCECD\Setup\i386\Setup.exe /Path:":\SCECD\Setup\i386" /Silent /Uninstall

See Also

Tasks

How to Uninstall System Center Essentials