---
title: Uninstallation
description: Follow these steps to remove software installed from the cross-platform .zip:
component: pingds
version: 7.2
page_id: pingds:install-guide:uninstall
canonical_url: https://docs.pingidentity.com/pingds/8.1/install-guide/uninstall.html
llms_txt: https://docs.pingidentity.com/pingds/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2021-12-10T17:45:59Z
superseded_by: https://docs.pingidentity.com/pingds/8.1/install-guide/uninstall.html
section_ids:
  uninstall-cli: Uninstall .zip
  uninstall-deb: Uninstall the Debian package
  uninstall-rpm: Uninstall the RPM package
  uninstall-msi: Uninstall the Windows MSI
---

# Uninstallation

## Uninstall .zip

Follow these steps to remove software installed from the cross-platform .zip:

1. Log in as the user who installed and runs the server.

2. Stop the server:

   ```bash
   $ /path/to/opendj/bin/stop-ds --quiet
   ```

3. Delete the files manually:

   ```bash
   $ rm -rf /path/to/opendj
   ```

## Uninstall the Debian package

When you uninstall the Debian package from the command-line, the server is stopped if it is running:

1. Purge the package from your system:

   ```bash
   $ sudo dpkg --purge opendj
   ```

2. Remove any remaining server configuration files and directory data:

   ```bash
   $ sudo rm -rf /opt/opendj
   ```

## Uninstall the RPM package

When you uninstall the RPM package from the command-line, the server is stopped if it is running:

1. Remove the package from your system:

   ```bash
   # rpm -e opendj
   ```

2. Remove the server configuration files and any directory data:

   ```bash
   $ sudo rm -rf /opt/opendj
   ```

## Uninstall the Windows MSI

When you uninstall the files installed from the Windows installer package, only the installed files are removed:

1. Remove installed files in one of the following ways:

   1. Use Windows Control Panel.

      * Open Windows Control Panel and browse to the page to uninstall a program.

      * Find the ForgeRock directory service in the list and uninstall it.

   2. Use the `msiexec` command.

      The following command quietly removes installed files:

      ```powershell
      C:\> msiexec /x DS-7.2.5.msi /q
      ```

2. Manually remove the server configuration files and any directory data.
