# Uninstall

On Windows the dope.endpoint can be uninstalled via the Add or Remove Programs feature or via an uninstall script.

### Add Remove Programs

In the search box on the windows taskbar, type Add or Remove Programs and select it from the results. From the list of Programs presented find the dope.security Endpoint and select Uninstall or Uninstall/Change. Then follow the directions on the screen.

{% hint style="warning" %}
Users will always be prompted for an uninstall password where an anti-uninstall password has been configured in the dope.console (see: [Endpoints](/dope.console/settings/endpoints.md)).
{% endhint %}

### Uninstall Script

To uninstall via the windows script run the following command from a command line:

```
dope_security_<build number>.exe -silent -uninstall
```

### Uninstall Parameters

Using `SILENT_INSTALL=yes` makes the uninstall silent.

{% hint style="warning" %}
Using `-s` will not stop the password prompt where an anti-uninstall password has been configured in the dope.console (see: [Endpoints](/dope.console/settings/endpoints.md)).
{% endhint %}

Using `AT_PASSWORD` allows a password to be sent with the command:

```
dope_security_<build number>.exe -silent -uninstall AT_PASSWORD=<password>
```

Where `-SILENT_INSTALL` and `AT_PASSWORD` are used together it means an incorrect password will not result in a re-prompt but the uninstall will fail.


---

# Agent Instructions: 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:

```
GET https://inflight.dope.security/dope.endpoint/windows-installer/uninstall.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
