> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/getting-started/uninstall.md).

# Uninstall

Uninstall PowerShell Universal completely, including application files, configuration files, the SQLite or SQL database, and IIS site cleanup.

## Application Files

Depending on how you installed PowerShell Universal, you will need to uninstall the application files.

### ZIP Installation

If you installed using a provided ZIP file, you can simply stop the PowerShell Universal process or service and delete the folder you extracted to.

### MSI Installation

If you installed with the Windows MSI, uninstall the application from Add\Remove Programs.

### Module Installation

The Universal module installs the application files to the following locations by default.

#### Windows

* `%ProgramData%\PowerShellUniversal`

#### Linux and Mac OS

* `%HOME%/.PowerShellUniversal`

## Configuration Files

Configuration files are stored in the repository folder. Once you have removed the application files, you can delete the configuration files. They are stored in the following locations by default:

### Windows

* `%ProgramData%\PowerShellUniversal`
* `%ProgramData%\UniversalAutomation`

### Linux

* `%HOME%/.PowerShellUniversal/`

### Mac OS

* `%HOME%/.PowerShellUniversal/`

### Desktop

* `%AppData%\PowerShellUniversal`

## Database

Removing the database depends on the database type used.

### SQLite

SQLite databases are stored in a single file on the file system.

#### Windows

* `%ProgramData%\PowerShellUniversal\database.db`

#### Linux and Mac OS

* `%HOME%/.PowerShellUniversal/database.db`

### PostgreSQL and SQL

PostgreSQL and SQL databases are stored on your SQL server and will require you to manually remove the database.

## IIS

You need to remove the IIS App Pool and Website when removing PowerShell Universal. Note that App Pools can be shared amongst websites and caution should be taken when doing so.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/powershell-universal/getting-started/uninstall.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
