Command-line-upgrade-running: Stsadm property (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0



Specifies whether the upgrade process has already been started.

The PSConfig tool checks this property before allowing upgrade to continue. For additional information on the PSConfig tool, see Command-line reference for the SharePoint Products and Technologies Configuration Wizard (Windows SharePoint Services).

For example, if an upgrade is started using the stsadm command line tool, you will not able to start another upgrade process from the user interface. If you try to start a second instance of upgrade, the following error message will be displayed:

"Unable to upgrade SharePoint Products and Technologies because an upgrade is already in progress. Upgrade progress can be monitored using the Central Administration Web Application or by monitoring the upgrade log on server "X"."

"X" is the name of the server that initiated the upgrade process.


stsadm -o setproperty

-propertyname command-line-upgrade-running

-propertyvalue {Yes | No}

**\[-url** \<http://server\_name\>**\]**

The syntax for the getproperty operation is:

stsadm -o getproperty

propertyname command-line-upgrade-running

**\[-url** \<http://server\_name\>**\]**


You can substitute -pn for -propertyname and -pv for -propertyvalue.

Property values

The following table shows possible values.




Gets or sets the name of the property.


Yes: Checks to see if an upgrade process is running. This is the default setting.

No: Does not check to see if an upgrade process is running.


Typically, a path to the URL of the Web application, in the form http://server_name.


This property is provided as a fail-safe in case the upgrade process is abruptly stopped or if an error occurs during an upgrade process. While unlikely, it is possible to get into a state where the farm thinks that upgrade is running on one computer, but in reality the upgrade process has stop responding. In this unlikely scenario, the administrator could reset the command-line-upgrade-running property so that the upgrade process could be run again.


To reset the command-line-upgrade-running property where an upgrade process stopped responding and no upgrade process is running, use the following syntax:

stsadm -o setproperty -pn command-line-upgrade-running -pv Yes