Command-line-upgrade-running: Stsadm property (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Description

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 (Office SharePoint Server).

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"." (where "X" is the name of the server that initiated the upgrade process).

Syntax

stsadm -o setproperty

-propertyname command-line-upgrade-running

-propertyvalue {Yes | No}

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

The syntax for the getproperty operation is:

stsadm -o getproperty

propertyname command-line-upgrade-running

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

Note

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

Property values

The following table shows possible values.

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

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.

url

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

Examples

To not check whether an upgrade process is already running, use the following syntax:

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