> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/uninstall-abap-agent.md).

# Uninstall ABAP Agent

## Uninstall the ABAP add-on <a href="#toc201668110" id="toc201668110"></a>

To uninstall the ABAP add-on, follow these steps:

1. Sign in to your QAS or PRD system using client 000, as a user with sufficient permissions to update the Data Dictionary.
2. Run transaction **SAINT**. In the **Add-on Installation Tool** screen, select the **Uninstallable components** tab.<br>

   <div align="left"><figure><img src="/files/dfBVeKi2CrRFKFZ60cyz" alt="" width="563"><figcaption></figcaption></figure></div>
3. Select the TRICE Add-on with Release 100\_700, and select **Start**. SAP displays the following dialog.<br>

   <div align="left"><figure><img src="/files/YOsBoAN62TQiHyugxjZF" alt="" width="563"><figcaption></figcaption></figure></div>
4. Select ![](/files/D1emAA6qIUvuKiEVL8cC) to continue. The **Status/Remarks** section shows the following.<br>

   <div align="left"><figure><img src="/files/FAhdes0GGstZJoswQRgX" alt="" width="563"><figcaption></figcaption></figure></div>
5. Monitor the uninstallation process in the SAPGUI status bar. When the uninstallation process has finished, the **Status/Remarks** section shows the following.<br>

   <div align="left"><figure><img src="/files/iopwJxXfCRvK6KcTzVEU" alt="" width="563"><figcaption></figcaption></figure></div>
6. Select **Finish** to complete the uninstallation. SAP displays the following message box.<br>

   <div align="left"><figure><img src="/files/gWKo9VHTsQdXL7M8J6p3" alt="" width="563"><figcaption></figcaption></figure></div>
7. Select **Do not send**.

## Stop the ABAP Agent Server <a href="#toc201668112" id="toc201668112"></a>

Before uninstalling the Windows components, stop the agent server if it is running.

In the console window where `SLABAPServer.exe` is running, press **Ctrl+C** to stop it gracefully.

{% hint style="info" %}
ABAP Agent 2.0 does not use a Windows Service for the server process. If you previously registered a Windows Service (from an earlier version), remove it separately.
{% endhint %}

## Stop scheduled tasks <a href="#toc201668113" id="toc201668113"></a>

1. Open **Windows Task Scheduler**.
2. Under the **SeaLights** directory, select all **FOOTPRINTS**, **BUILDMODS**, and any other ABAP Agent tasks.
3. Make sure no tasks are actively processing, then click **End** and **Disable** on each.

## Uninstall the agent's Windows components <a href="#toc201668111" id="toc201668111"></a>

Use one of the following methods to uninstall the Windows-side components.

### Method 1: Add or Remove Programs (recommended)

Open **Settings > Apps > Installed Apps** (or **Add or Remove Programs** on older Windows versions), find **SeaLights ABAP Agent**, and select **Uninstall**. The uninstaller runs `slabapcli setup uninstall` automatically.

### Method 2: Command line

1. Take a backup copy of your `config.toml` file (default location: `%ProgramData%\Tricentis\SeaLights\ABAP Agent\config\config.toml`).
2. Run the following command to disable all scheduled agent tasks:

{% tabs %}
{% tab title="Command Prompt" %}
{% code overflow="wrap" lineNumbers="true" %}

```batch
slabapcli.exe setup uninstall
```

{% endcode %}
{% endtab %}

{% tab title="PowerShell" %}
{% code overflow="wrap" lineNumbers="true" %}

```powershell
.\slabapcli.exe setup uninstall
```

{% endcode %}
{% endtab %}
{% endtabs %}

To also delete stored secrets and Windows Error Reporting data, add the `--delete` flag:

{% tabs %}
{% tab title="Command Prompt" %}
{% code overflow="wrap" lineNumbers="true" %}

```batch
slabapcli.exe setup uninstall --delete
```

{% endcode %}
{% endtab %}

{% tab title="PowerShell" %}
{% code overflow="wrap" lineNumbers="true" %}

```powershell
.\slabapcli.exe setup uninstall --delete
```

{% endcode %}
{% endtab %}
{% endtabs %}

## Data and database directories <a href="#toc201668114" id="toc201668114"></a>

`setup uninstall` disables scheduled tasks but does **not** remove the runtime data directories. This is intentional — pipeline data, configuration, and databases are preserved so you can recover or reinstall without losing your setup.

If you want to remove all agent data after uninstalling, delete the following directories manually:

| Directory                                               | Contents                            |
| ------------------------------------------------------- | ----------------------------------- |
| `%ProgramData%\Tricentis\SeaLights\ABAP Agent\config\`  | `config.toml`, config locks         |
| `%ProgramData%\Tricentis\SeaLights\ABAP Agent\private\` | SQLite databases, encrypted secrets |
| `%ProgramData%\Tricentis\SeaLights\ABAP Agent\public\`  | Logs, shared artifacts              |

{% hint style="warning" %}
Deleting the `private\` directory removes all pipeline databases and encrypted credentials. This action is irreversible.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent-2.0/uninstall-abap-agent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
