# Deinstallation

## Deinstallation via platform

Remove the desired application via the Enginsight platform.

### Hacktor

1. Select the “Penetration Testing” item in the side menu and switch to the “Hacktors” view.
2. Click on the delete icon of the hacktor to be uninstalled and confirm your selection with the “Delete irretrievably” button.

### Watchdog

1. Select the “Observations” item in the side menu and switch to the “Watchdogs” view.
2. Click on the delete icon of the watchdog you want to uninstall.
3. In the window that now opens, enter the word “DELETE” as specified and confirm your action by clicking on the “Delete irrevocably” button.

### Observer

1. Select the “Endpoints” item in the side menu and switch to the “Observer” view.
2. Click on the delete icon of the observer to be uninstalled and confirm your selection with the “Delete irretrievably” button.

## Deinstallation on the system

1. Switch to your VM or the system on which the respective component is installed.
2. Open a terminal and make sure that you have `sudo` rights. You can log in directly as the `root` user or execute commands with `sudo` if required.
3. Navigate to the directory where the uninstall file is located. Replace with the name of the corresponding `<service>` (`hacktor`, `watchdog` or `observer`):

```
cd /opt/enginsight/<service>/tools
```

4. Start the uninstall script with administrator rights:

```
sudo ./uninstall.sh
```

5. Follow the instructions on the screen until the process is complete.

These steps will completely remove the service from your system.
