This computer is part of a farm error while uninstalling workflow manager 1.0 in SharePoint 2016/2013

This SharePoint workflow tutorial explains how to solve error This computer is part of a farm. To uninstall, first, leave the farm either using Leave from farm option in Configuration Wizard or Remove-WFHost cmd-let in PowerShell. The error comes while uninstalling workflow manager in SharePoint 2016/2013.

When I am trying to uninstall workflow manager 1.0, it shows an error message like “This computer is part of the farm. To Uninstall, first, leave the farm either using ‘Leave from Farm’ option in the Configuration Wizard or Remove-WFHost cmd-let in PowerShell.

When I clicked on uninstall, it will show error message like as I shown below.

Sharepoint2013 An Error Occurred when uninstalling the workflow manager
Sharepoint2013 An Error Occurred when uninstalling the workflow manager

See the error here.

Sharepoint2013: An Error Occurred when uninstalling the workflow manager1.0
Sharepoint2013: An Error Occurred when uninstalling the workflow manager1.0

For removing the ‘Leave from farm’, open window PowerShell as administrator and type this command:

PS G:\Users\Administrator> Remove-WFHost

Next press enter then the component is removed. Enter a command as shown below.

Sharepoint2016: An Error Occurred when uninstalling the workflow manager1.0
Sharepoint2016: An Error Occurred when uninstalling the workflow manager1.0

After completing in Windows PowerShell, coming back to uninstalling the workflow manager 1.0 control-panel -> program and feature, here click on Uninstall a program.

Sharepoint2010: An Error Occurred when uninstalling the workflow manager1.0
This computer is part of a farm SharePoint workflow manager 1.0

You may like following SharePoint workflow tutorials:

Now right click on workflow manager 1.0, click on Uninstall then it will be uninstalled successfully without giving an error,

>