Share via


Uninstall a workflow

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.

 

When a predefined or Visual Studio custom workflow is no longer needed, you can uninstall it by using the uninstallfeature command from the Stsadm command-line tool, in the same way that you uninstall any SharePoint Feature. After you run this command, the workflow is no longer available from the user interface but the source files are still on the server, making it possible to later re-install the workflow. Before uninstalling a workflow, all workflow instances need to be completed or canceled and the workflow must be deactivated.

Before performing this procedure, read:

Note

To uninstall a SharePoint Designer workflow, you delete its source files from the server. For more information about deleting SharePoint Designer workflows, see Delete a SharePoint Designer workflow.

Uninstall a workflow by using the Stsadm command-line tool

Use this procedure to uninstall both predefined workflows and Visual Studio custom workflows.

Important

To run the Stsadm command-line tool, you must be a member of the Administrators group on the local computer.

Uninstall a workflow by using the Stsadm command-line tool

  1. On the drive on which SharePoint Products and Technologies is installed, change to the following directory: %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\12\Bin.

  2. Type the following command, and then press ENTER:

    stsadm -o uninstallfeature –filename <path of the Feature.xml file relative to the 12\TEMPLATE\FEATURES folder>

    For more information, see Uninstallfeature: Stsadm operation (Office SharePoint Server).

See Also

Concepts

Activate workflows