Content
SUMMARY
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.
CONSIDERATIONS/GUIDELINES:
- 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
- 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)
- Restart the machine.
- Copy cleanup.exe to this machine.
- Right click and “Run as Administrator” to execute. This will do the following things:
- Back up the entire registry to “reg_backup_<timestamp>.reg” file (this file will get created in the same folder where the executable resides)
- 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
- Stop MicroStrategy related services
- RemoteRegistry
- Spooler
- W3SVC
- 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)
- Rename the leftover folder C:Program Files (x86)MicroStrategy to C:Program Files (x86)MicroStrategy_<timestamp>
- Rename the leftover folder C:Program Files (x86)Common FilesMicroStrategy to C:Program Files (x86)Common FilesMicroStrategy_<timestamp>
- Prompt “Do you want to import applyCleanup.reg to registry now? (y/n):”
- Enter “y”, the registry entries in applyCleanup.reg will be removed from system registry
- Enter “n”, the registry entries won’t be removed. Users can always review applyCleanup.reglater and manually apply it by double clicking on it
- 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.
- 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).
Ref: https://community.microstrategy.com/s/article/KB307710-How-to-uninstall-MicroStrategy-Analytics-Enterprise