> For the complete documentation index, see [llms.txt](https://docs.enginsight.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enginsight.com/docs/manual/english/installation-and-configuration/uninstallation/enginsight-components/pulsar.md).

# Pulsar

There are two ways to uninstall the Enginsight agent Pulsar:

* [Uninstalling via the User Interface](#uninstallation-via-the-user-interface)
* [Manual Uninstallation](#manual-uninstallation)

***

## Uninstallating via the User Interface

{% hint style="danger" %}
**Please note**: If you delete a host via the user interface of the Enginsight platform, it is initially only removed from the host overview, meaning its entry is deleted from MongoDB. The Pulsar installed on the host is not uninstalled immediately. Instead, it continues sending HTTPS requests to the Enginsight API for 30 days. The API responds to these requests with status code 409 because the host is unknown at that point. After 30 days, the Pulsar uninstalls itself.

If you want to uninstall Pulsar immediately instead of waiting 30 days, follow the instructions in the section [Manual uninstallation](#manual-uninstallation).
{% endhint %}

1. Navigate to **Hosts** → **Overview** in the Enginsight platform.
2. Select the checkbox <i class="fa-square">:square:</i> next to the host you want to delete. Alternatively, select the checkbox in the table header to select all hosts at once.&#x20;
3. The number of selected items will now be shown next to the search field. In addition, the <i class="fa-trash">:trash:</i> **Delete** button will appear in the upper-right corner. Click it and confirm the prompt that appears with **Delete Irretrievably**.

***

## Manual Uninstallation

Alternatively, you can uninstall Pulsar directly on the host where it is installed.

### Uninstallation on Linux and macOS

1. Log in to the Linux or macOS host on which the Pulsar you want to uninstall is installed.
2. Run the uninstall script using the following command:

```
sudo /opt/enginsight/pulsar/uninstall.sh
```

4. Navigate to **Hosts** → **Overview** in the Enginsight platform and remove the corresponding host from the list as described in the section [Uninstall via the user interface](#deinstallation-uber-die-benutzeroberflache).

### Uninstallation on Windows

1. Log in to the Windows host on which the Pulsar you want to uninstall is installed.
2. Open a PowerShell session with administrative privileges:
   1. Press the **Windows** Key + **R**.
   2. Enter `powershell`.
   3. Confirm the command by pressing **Ctrl** + **Shift** + **Enter**.
3. Run the uninstall script using the following command:

```
& "C:\Program Files\Enginsight\Pulsar\uninstall.ps1"
```

4. Navigate to **Hosts** → **Overview** in the Enginsight platform and remove the corresponding host from the list as described in the section [Uninstall via the user interface](#deinstallation-uber-die-benutzeroberflache).

***

## Further Resources

**Knowledge Base**

* [I am not able to reinstall a deleted host in Enginsight. What can I do?](https://docs.enginsight.com/docs/knowledge-base/english/troubleshooting/i-am-not-able-to-reinstall-a-deleted-host-in-enginsight-what-can-i-do)

***
