Select Page


This document describes how to uninstall MicroStrategy 9.x and 10.x  on Microsoft Windows using the Uninstallation Cleanup Utility.  The Uninstallation Cleanup Utility can be downloaded from the attachment at the bottom of this tech note.
  • This Uninstallation Cleanup Utility is designed to remove the obsolete or leftover services, files and registries after uninstalling MicroStrategy products. 
  • The goal of this cleanup utility is to remove the leftover files and registries after uninstallation to make the machine “cleaner” for a second time installation (it can solve some known downgrade installation issues). 
  • The basic assumption for removing files is that the user installed MicroStrategy in a path that contains the string “MicroStrategy”. If not, the files and certain registry keys will not be removed.
  • Using the cleanup utility incorrectly can cause system-wide problems that may require re-installation of the Operating System.  This utility should always be tested in a test environment before being run in a production environment.


How to use this Tool

  1. Uninstall all the MicroStrategy and related products from Control Panel:
    • Any MSTR Hotfixes applied
    • MSTR Secure Enterprise
    • MSTR Health Center (if it’s not uninstalled)
    • MSTR Office (if installed)
    • DHTML Editing Component (if installed)
  2. Restart the machine.
  3. Copy cleanup.exe to this machine.
  4. Right click and “Run as Administrator” to execute. This will do the following things:
    1. Back up the entire registry to “reg_backup_<timestamp>.reg” file (this file will get created in the same folder where the executable resides)
    2. Stop and remove MicroStrategy services (if they exist)
      • MicroStrategy Distribution Manager
      • MAEMETLS
      • MicroStrategy Execution Engine
      • MicroStrategy Intelligence Server
      • MicroStrategy Logging Client
      • MicroStrategy Logging Consumer
      • MicroStrategy Logging Server
      • MAPing
      • EMService
      • MicroStrategy SMTP Service
      • MicroStrategy NC PDF Formatter
      • SubscriptionAdministrator
      • SubscriptionServer
      • SubscriptionEngine
      • SubscriptionLogger
      • SubscriptionRMIRegistry
      • MicroStrategy System Monitor
      • TransactorAdministrator
      • TransactorCommunicationServer
      • TransactorTransactionEngine
      • TransactorLogger
      • TransactorLookup
      • MHealthAgent
      • HealthAgent
      • Tomcat8
      • MySQL
      • usherIDM
      • usherGW
      • Apache2.4
      • memcached
    3. Stop MicroStrategy related services
      • RemoteRegistry
      • Spooler
      • W3SVC
    4. Generate a list of registries to be cleaned from the system “applyCleanup.reg” (this file will get created in the same folder where the cleanup executable resides)
    5. Rename the leftover folder C:Program Files (x86)MicroStrategy to C:Program Files (x86)MicroStrategy_<timestamp>
    6. Rename the leftover folder C:Program Files (x86)Common FilesMicroStrategy to C:Program Files (x86)Common FilesMicroStrategy_<timestamp>
    7. Prompt “Do you want to import applyCleanup.reg to registry now? (y/n):”
      1. Enter “y”, the registry entries in applyCleanup.reg will be removed from system registry
      2. Enter “n”, the registry entries won’t be removed. Users can always review applyCleanup.reglater and manually apply it by double clicking on it
  5. If the user wants to delete the entire MicroStrategy folders instead of renaming it, the user can run “cleanup.exe -f” in the Windows Command prompt.
  6. After the executable is run, users should restart the machine

Usage in Windows Command Prompt

cleanup.exe [-h] [-f]
optional arguments:
-h, –help
 show this help message and exit
-f  remove directories instead of renaming
Disclaimers and Limitation of Liabilities
Disclaimer:The utility application is provided “as is” and without warranty of any kind. MicroStrategy Expressly disclaims all warranties, express, implied or statutory, including, without limitation, the implied warranties of merchantability, fitness for a particular purpose, satisfactory quality and non-infringement.
Limitation of Liability: MicroStrategy shall have no liability to licensee for any damages of any kind, including, but not limited to, liability for direct, indirect, special, incidental or consequential, damages (which shall include, but not be limited to, loss of data or information, loss of revenue or anticipated profits or lost business).


Secured By miniOrange