How to Find the Uninstall String in Regedit

When standard Windows removal methods fail or when automating software deployment, you may need the exact command line required to remove a legacy program. This guide explains how to use the Windows Registry Editor (Regedit) to navigate to the specific registry hives storing application data, locate the target software, and copy its direct UninstallString value.

Step 1: Open the Registry Editor

  1. Press Windows Key + R to open the Run dialog.
  2. Type regedit and press Enter.
  3. Click Yes if prompted by User Account Control (UAC).

Step 2: Navigate to the Uninstall Keys

Legacy applications store their uninstallation information across several registry locations, depending on whether the software is 32-bit, 64-bit, or installed per-user. Check the following paths in the Registry Editor address bar:

Step 3: Locate the Target Application

  1. Expand the relevant Uninstall key in the left navigation pane.
  2. Browse through the subkeys. Subkeys may be named after the software directly or represented as a unique GUID (e.g., {12345678-ABCD-1234-ABCD-1234567890AB}).
  3. Click on a subkey and look at the right pane for the DisplayName string to verify the software name.
  4. Alternatively, select the Uninstall key, press Ctrl + F, type the name of the application, and search for its key.

Step 4: Extract the Uninstall String

  1. Once the application’s key is selected, locate the UninstallString value in the right pane.
  2. Double-click UninstallString to open the Edit String window.
  3. Highlight the text in the Value data field and copy it (Ctrl + C).
  4. (Optional) If available, you can also look for QuietUninstallString, which contains the command to silently uninstall the program without user interaction.

Step 5: Execute the Command

To run the uninstallation:

  1. Open the Command Prompt or PowerShell as an Administrator.
  2. Paste the copied string and press Enter.

If the string contains paths with spaces that are not enclosed in quotation marks, ensure you wrap the executable path in quotes before executing.