SharePoint 2013: How to fully uninstall Workflow Manager 1.0
Introduction
This posting walks through the process of completely removing the Workflow Manager 1.0 subsystem from a SharePoint 2013 farm. All references used in developing this procedure are listed below.
Discussion
The Workflow Manager 1.0 subsystem, when fully installed to a SharePoint 2013 farm, consists of the following components:
Databases:
- SbGatewayDatabase
- SbManagement
- SbMessageContainer01
- WFInstanceManagement
- WFManagement
- WFResourceAutomation
Software:
- Microsoft Web Platform Installer 4.6
- Service Bus 1.0
- Windows Fabric
- Workflow Manager 1.0
- Workflow Manager Client 1.0
SharePoint Service Applications
- Workflow Service Application Proxy
Application Folders
- Application Folder: C:\Program Files\Workflow Manager\
Registry Keys
- HKLM\SOFTWARE\Microsoft\Workflow Manager
- HKLM\Software\Microsoft\Service Bus
Certificates
- WorkflowOutbound
- SSL
- Encryption (can be the same certificate as used for SSL)
- AppServerGeneratedSBCA
All of these components, except for the registry keys and certificates, must be removed. The following procedure shows you how.
Procedure
- Leave the farm
- Launch the Workflow Manager Configuration Wizard as administrator. Only this one option will be listed.
- Copy the current configuration for later reference.
- Uninstall Software
- Workflow Manager 1.0
- Workflow Manager 1.0 Client
- Windows Fabric
- Service Bus 1.0
- Remove Databases
- SbMessageContainer01
- SbGateway
- SbManagement
- WFInstanceManagement
- WFManagement
- WFResourceManagement
- Remove Service Application
- Workflow Service Application Proxy
- Remove application folder
- C:\Program Files\Workflow Manager\
References
- Getting started with SharePoint Server 2013 workflow
- Install and configure workflow for SharePoint Server 2013
- Uninstalling/Removing SharePoint 2013 Workflow Manager Farm
- Uninstall Workflow manager client
- what is opposite of "Register-SPWorkflowService"???
- Workflow Manager
- Workflow in SharePoint Server 2013 FAQ
- How to uninstall Workflow Manager 1.0 when the command ‘Remove-WFHost’ does not work
- Workflow Manager Farms for SharePoint 2013 Part One: Core Concepts, High Availability, Certificate and SharePoint considerations
- Error when running workflow form list item - workflow manager SharePoint 2013
Notes
- Uninstallation took approximately one hour, including taking screen shots and writing notes of the process.
- The uninstallation was undertaken to address an issue that presented after installing the September 2014 CU. The issue resulted in the Workflow Manager Backend service repeatedly stopping and then restarting. This seemed to have caused all 2013 workflows to perform sluggishly or not at all. After working through several possible solutions, the remaining one was to uninstall and then re-install the entire Workflow Manager 1.0 subsystem. This resolved the problem.
- UPDATE 03/02/16: later in December 2014, we found that the original issue was not due to the September 2014 CU patch but to a variable assignment issue in the workflow itself.