
# Uninstall Device Protection

If a device no longer needs Device Protection, remove it directly on that device. On the device, Device Protection appears as **Aikido Endpoint Protection**.

{% tabs %}
{% tab title="macOS" %}
Run this command in Terminal:

{% code overflow="wrap" %}
```shell
sudo "/Applications/Aikido Endpoint Protection.app/Contents/Resources/scripts/uninstall"
```
{% endcode %}
{% endtab %}

{% tab title="Windows" %}
Run this command in PowerShell as an admin:

{% code overflow="wrap" %}
```powershell
& powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\AikidoSecurity\EndpointProtection\scripts\Uninstall.ps1"
```
{% endcode %}

Or use the Windows interface: open **Control Panel** → **Uninstall a program**, select **Noon Device Protection**, and click **Uninstall**.
{% endtab %}

{% tab title="Linux" %}
On Ubuntu and Debian, run:

```shell
sudo apt remove aikido-endpoint-protection
```

On RHEL, Rocky Linux, and CentOS, run:

```shell
sudo dnf remove aikido-endpoint-protection
```

Removing the package stops the service, removes the Device Protection certificate from the system, and deletes its logs.
{% endtab %}
{% endtabs %}

Restart the device after you uninstall, or the device can show connection errors.

{% hint style="info" %}
Uninstalling only removes Device Protection from the device. If the device is still showing up in your [devices list](https://app.noon.security/devices), [remove it there too](https://help.noon.security/protect/device-protection/manage-devices#removing-a-device).
{% endhint %}
