How to uninstall MF COBOL Server from the command line?

0 Likes
over 6 years ago

Problem:

How to uninstall MF COBOL Server silently from the command line?

Resolution:

You may use the same setup file that was used to install MF COBOL Server to uninstall the same product from an elevated command prompt:
start /wait <setup-file-exe> /quiet /uninstall

where <setup-file-exe> would be for example:

  • cs2010_22.exe for COBOL Server 2010 version 2.2
  • cs2012_221.exe for COBOL Server 2012 version 2.2 Update 1
  • cs2013_222.exe for COBOL Server 2013 version 2.2 Update 2

Please take note that the uninstallation process of COBOL Server does not uninstall MF License Manager automatically. In order to uninstall License Manager, you will need to know its product GUID. This is a long string that is enclosed within braces, e.g. {C4920323-C34A-4462-9C3E-BA0325BBD9BA}

The product GUID is different from a version of COBOL Server to another, and you may find it from the Windows Registry:

  1. Open Windows Registry (regedit.exe)
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
  3. Right-click on the Uninstall key
  4. Click on Find...
  5. Enter License Manager in the Find what field
  6. Click on Find Next
  7. Double-click on UninstallString in the right pane to copy the product GUID that is enclosed between braces

Once the product GUID is determined, you may run the following command to uninstall License Manager:
start /wait msiexec /qn /x <product-guid>

Examples:

To uninstall License Manager for COBOL Server 2013 version 2.2 Update 2 on a 64-bit Windows platform:
start /wait msiexec /qn /x {C4920323-C34A-4462-9C3E-BA0325BBD9BA}

To uninstall License Manager for COBOL Server 2010 version 2.1 Update 1 on a 32-bit Windows platform:
start /wait msiexec /qn /x {7548D756-87E6-4C2A-9CC2-D9270564BEFB}

Comment List
Anonymous
Related Discussions
Recommended