Refresher: Installing Windows SharePoint Services from a Command Line

Normally we install Windows SharePoint services using the stsstup.exe and later we use the set the typical installation that involves MSDE and Server Farm that involves SQL Server 2000 for installation of Windows SharePoint Services. But a good thing about Windows SharePoint Services that they can also be installed using the command line tool. We can use command line switches on the run or command menu to install Windows SharePoint Services silently as per our requirements. To install Windows SharePoint Services from a command line, you can use the following conventions.

When you install Microsoft Windows SharePoint Services, you can use command line properties and setup options to control how it is installed. For example, to install Windows SharePoint Services to work with a remote installation of Microsoft SQL Server, you run Setupsts.exe with the remotesql=yes option to avoid installing Microsoft SQL Server 2000 Desktop Engine (Windows) (WMSDE). Then, after the installation, you can specify the SQL Server connection information and extend your servers.


Setupsts.exe Command-Line Installation Properties

The Table below lists and explains the properties you can use with the command-line Setup program (Setupsts.exe) for Windows SharePoint Services. Note The remotesql=yes property also installs Windows SharePoint Services without provisioning the default virtual server, but it does provision the administration virtual server.




An optional property that specifies whether or not WMSDE is installed with Windows SharePoint Services. The default value is No. Set this property to Yes if you are going to use an existing or remote installation of Microsoft SQL Server with Windows SharePoint Services


Specifies whether or not to remove Windows SharePoint Services from extended virtual servers when performing an uninstall. The default value is Yes. It is recommended that you use the Add or Remove Programs control panel to uninstall Windows SharePoint Services


Specifies whether or not to provision the administrative virtual server, extend the default virtual server, and create a top-level website during installation. The default value is Yes. Set this property to No if you want to provision virtual servers later using the Stsadm.exe command line tool, located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s