> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# removeServer

> The removeServer operation removes a standalone Mule server on a Linux or Windows Endpoint. On Windows, the service will be removed if one existed and

The removeServer operation removes a standalone Mule server on a Linux or Windows Endpoint.

On Windows, the service will be removed if one existed and the Mule Home folder is still viable.

The Mule Home folder will be deleted by this operation, unless the server is running and Stop if Running is not checked.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Mule Home</td><td>`FDMULE_HOME`</td><td>Yes</td><td>\
</td></tr><tr><td>Stop if Running</td><td>`FDMULE_STOP_IF_RUNNING`</td><td>No</td><td>If checked, this operation will stop a running mule server if it is running before removing it.If unchecked, the operation will error out if the Mule server is running.</td></tr><tr><td>MULE\_APP</td><td>`FDMULE_APP`</td><td>No</td><td>(Windows only) The Service Name to use for this Mule serverMust be unique on the Endpoint.</td></tr><tr><td>MULE\_APP\_LONG</td><td>`FDMULE_APP_LONG`</td><td>No</td><td>(Windows only) The Service Description Name to use for this Mule serverMust be unique on the Endpoint.</td></tr></tbody></table>

# Artifacts

This operation consumes artifacts from the artifacts repository.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on all of the selected endpoints.
