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

# Uninstall Clients

> Uninstall Syteca Clients remotely from the Management Tool or locally on the endpoint — for Windows, macOS, and Linux. Includes the shared Uninstallation key, single and bulk remote uninstall, and per-OS local uninstall commands.

Uninstall removes the Syteca Client from an endpoint so it stops sending data to the Application Server. Two modes are supported: **remote uninstall** (from the Management Tool, requires the [Client Uninstallation permission](/docs/administration/users/client-permissions)) and **local uninstall** (on the endpoint itself, requires the [Client Uninstallation key](#the-client-uninstallation-key)).

<Note>
  Uninstalling a Client **does not delete its data**. After uninstallation:

  * The Client stops sending new data to the Application Server.
  * All previously-recorded data remains on the Application Server.
  * The Client still appears in the Management Tool with **Offline** status.

  To **also** remove the Client and all its recorded data from the Application Server and Management Tool, see [Delete Clients](/docs/administration/clients/delete-clients) after uninstallation.
</Note>

## The Client Uninstallation key

The **Client Uninstallation key** is a shared secret defined during [Application Server installation](/docs/administration/deployment/install-application-server) and used by every **local** Client uninstall on Windows and macOS Clients. It's a deliberate barrier: even an endpoint admin with full local privileges can't uninstall the Syteca Client without first obtaining this key from a Management Tool user.

<Note>
  The Uninstallation key is used for **local** Windows and macOS uninstall. **Remote** uninstall (from the Management Tool) doesn't require it — it uses the Management Tool user's [Client Uninstallation permission](/docs/administration/users/client-permissions) instead. **Linux** local uninstall uses a different mechanism (the `uninstall.sh` script or the RPM package manager).
</Note>

### View or change the Uninstallation key

<Steps>
  <Step title="Sign in">
    Sign in to the Management Tool as a user with the [Client Uninstallation permission](/docs/administration/users/client-permissions) for Clients.
  </Step>

  <Step title="Open Edit Uninstallation Key">
    Click **Clients** in the left navigation. On the **Clients** page, click the **Clients** drop-down arrow at the top, then select **Edit Uninstallation Key** in the menu.
  </Step>

  <Step title="Enter the new key">
    On the **Custom Uninstall Key** page, enter the new key in the **New Key** field. Re-enter it in **Confirm Key**.
  </Step>

  <Step title="Save">
    Click **Save**. The new key replaces the old one.
  </Step>
</Steps>

<Warning>
  **Key changes propagate at Client check-in time**, not instantly. If you change the Uninstallation key while a Client is offline, that Client won't receive the new key until it next connects to the Application Server. **To uninstall an offline Client that hasn't checked in since the change, use the old key.**

  This is the expected behavior — keep a record of recent old keys until you can confirm every Client has checked in and adopted the new one.
</Warning>

## Uninstall Clients remotely

<Frame caption="The Bulk Action uninstall confirmation — the word 'uninstall' must be typed before Confirm activates, as a safety against accidental mass uninstalls.">
  <img src="https://mintcdn.com/syteca/0FlD-vkHsBA1azVX/images/administration/clients/bulk-uninstall-confirmation.png?fit=max&auto=format&n=0FlD-vkHsBA1azVX&q=85&s=93589b70e045e95878639f0ca254838f" alt="Uninstall Clients confirmation dialog showing the field requiring the word 'uninstall' to be typed before the Confirm button activates" width="1915" height="680" data-path="images/administration/clients/bulk-uninstall-confirmation.png" />
</Frame>

Remote uninstall removes Clients from the Management Tool — no endpoint access needed, no Uninstallation key needed.

<Note>
  Requires the [Client Uninstallation permission for Clients](/docs/administration/users/client-permissions). The **Uninstall Client** button won't appear if you don't have the permission or if the Client is already uninstalled.
</Note>

<Tabs>
  <Tab title="One Client (from Edit Client)">
    Use this when you have the Client open already, or want to confirm details before uninstalling.

    <Steps>
      <Step title="Open the Client">
        On the **Clients** page, find the Client and click its name in the **Client Name** column.

        <Tip>
          Use the **Search box** and filters at the top of the Clients tab to find specific Clients.
        </Tip>
      </Step>

      <Step title="Click Uninstall Client">
        On the **Editing Client** page → **Properties** tab, click **Uninstall Client** at the bottom of the page.
      </Step>

      <Step title="Confirm">
        Click **Uninstall** in the confirmation. The Client is uninstalled — it stops sending data and shows as **Offline** in the Clients list.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Multiple Clients (Bulk Action)">
    Use this when uninstalling many Clients at once — the confirmation has an extra safety step.

    <Steps>
      <Step title="Select Clients">
        On the **Clients** page, select the checkboxes next to the Clients to uninstall.
      </Step>

      <Step title="Open Bulk Action">
        Click **Bulk Action** in the top left, then select **Uninstall Clients** in the drop-down.
      </Step>

      <Step title="Type 'uninstall' to confirm">
        In the **Uninstall Clients** confirmation, **type the word `uninstall` in the empty field**, then click **Confirm**.

        <Note>
          The typed-word confirmation is a deliberate safety measure on bulk uninstalls — it prevents accidental clicks from removing many Clients at once.
        </Note>
      </Step>

      <Step title="Wait for completion">
        All selected Clients are uninstalled. Their status switches to **Offline** in the grid; their recorded data is preserved.
      </Step>
    </Steps>
  </Tab>
</Tabs>

## Uninstall Clients locally

Local uninstall happens on the endpoint, using OS-native tools. **The Uninstallation key is required for Windows and macOS** (but not Linux). Local uninstall is useful when:

* The endpoint is being decommissioned and you want to clean it up before reimaging.
* The Application Server is unreachable from the Client (e.g. the Client is on a network the Application Server can't connect to).
* You need to uninstall as part of a scripted deployment workflow.

<Tabs>
  <Tab title="Windows">
    Local Windows uninstall uses the `UninstallClient.exe` binary in the Client install directory.

    <Steps>
      <Step title="Open an elevated command prompt">
        Run `cmd.exe` **as administrator**.
      </Step>

      <Step title="Navigate to the Client install folder">
        Change directory to the Client installation path. The default is:

        ```text theme={"system"}
        C:\Program Files\Ekran System\Ekran System\
        ```
      </Step>

      <Step title="Run the uninstall command">
        Run:

        ```text theme={"system"}
        UninstallClient.exe /key=<uninstallation_key> /silent=true
        ```

        Replace `<uninstallation_key>` with the actual key from the Management Tool. Press **Enter**.

        <Note>
          **In SaaS only:** the Uninstallation key needs **double quotes** around it:

          ```text theme={"system"}
          UninstallClient.exe /key="<uninstallation_key>" /silent=true
          ```
        </Note>

        <Tip>
          **Omit `/silent=true`** if you want a confirmation dialog to appear on the Client computer before uninstallation proceeds — useful for testing or for interactive uninstall flows where the local user should be prompted.
        </Tip>
      </Step>
    </Steps>
  </Tab>

  <Tab title="macOS">
    Local macOS uninstall uses the `uninstall.sh` script in the Client's Application Support directory, with the Uninstallation key passed as a parameter.

    <Steps>
      <Step title="Open Terminal">
        Run the **Terminal** application.
      </Step>

      <Step title="Run the uninstall script">
        Run:

        ```bash theme={"system"}
        sudo /Library/Application\ Support/Ekran/uninstall.sh -k '<uninstallation_key>'
        ```

        Replace `<uninstallation_key>` with the actual key from the Management Tool. Enter the administrator password when prompted.
      </Step>
    </Steps>

    <Note>
      For uninstalling the **macOS Hidden Client** (stealth-mode variant), follow the same steps as for the standard macOS Client. See [macOS Hidden Client](/docs/administration/clients/macos-hidden) for the install/uninstall specifics.
    </Note>
  </Tab>

  <Tab title="Linux">
    Linux uninstall doesn't use the Uninstallation key — it uses either the `uninstall.sh` script (script-installed Clients) or the RPM package manager (RPM-installed Clients on RHEL / CentOS / similar).

    <Steps>
      <Step title="Choose your uninstall method">
        Use the `uninstall.sh` script if you installed via the script, or RPM if you installed via the RPM package.
      </Step>

      <Step title="Run the uninstall command">
        <Tabs>
          <Tab title="Script (general Linux)">
            ```bash theme={"system"}
            cd /opt/.Ekran
            sudo ./uninstall.sh -f
            ```

            Enter the superuser password when prompted.

            <Warning>
              **Always include `-f`** in the script-based uninstall. Without it, some files and folders (notably `/var/.ekran/log`) remain after uninstallation. With `-f`, the uninstall is complete.
            </Warning>
          </Tab>

          <Tab title="RPM (RHEL / CentOS)">
            ```bash theme={"system"}
            sudo FORCE=1 rpm -e SytecaLinuxClientx64
            ```

            Enter the superuser password when prompted.

            <Warning>
              **Always include `FORCE=1`** in the RPM-based uninstall. Without it, some files and folders (notably `/var/.ekran/log`) remain after uninstallation.
            </Warning>
          </Tab>
        </Tabs>
      </Step>

      <Step title="(Optional) Reboot">
        Reboot the Linux Client computer to ensure all process handles are released.
      </Step>
    </Steps>

    <Note>
      The RPM package name `SytecaLinuxClientx64` reflects current Syteca branding and is what shows up in `rpm -qa` listings on RPM-based systems.
    </Note>
  </Tab>
</Tabs>

## Related

<CardGroup cols={2}>
  <Card title="The Clients page" icon="server" href="/docs/administration/clients/overview">
    Inventory of every Client — including Offline ones that have been uninstalled.
  </Card>

  <Card title="macOS Hidden Client" icon="eye-off" href="/docs/administration/clients/macos-hidden">
    Stealth-mode macOS Client — same uninstall procedure as the standard macOS Client.
  </Card>

  <Card title="Client permissions" icon="lock" href="/docs/administration/users/client-permissions">
    The Client Uninstallation permission required for remote uninstall.
  </Card>

  <Card title="Delete Clients" icon="trash" href="/docs/administration/clients/delete-clients">
    Remove uninstalled Clients (and their recorded data) from the Application Server.
  </Card>
</CardGroup>
