2.4. Uninstalling the License Manager

These instructions shut down and remove the entire ANSYS License Manager installation from your system. You should not uninstall the license manager if you still have products installed that use the license manager.

The procedures described in this section assume that you have installed the ANSYS License Manager in the default locations. The default locations are:

Windows:

C:\Program Files\ANSYS Inc\

Linux:

/ansys_inc/

If you have installed the ANSYS License Manager to a non-default location, modify the steps accordingly.

Uninstalling on Linux License Servers

Follow these steps on the license server machine. You must be logged in as root or superuser.

  1. Stop the ANSYS License Manager from the ANSYS License Management Center by following the steps contained in Stopping the ANSYS License Manager.

  2. Stop any ANSYS Tomcat server processes running from this installation directory by running the stop_lmcenter script located in:

    /ansys_inc/shared_files/licensing/
  3. Delete the shared_files subdirectory (/ansys_inc/shared_files/ by default).


    Note:  Do not delete this directory if ANSYS products are also installed in the installation directory.


  4. Remove the ANSYS License Manager automatic startup information by issuing the commands in Table 2.3: Removing License Manager Automatic Startup Instructions.

  5. Remove the Tomcat automatic startup information by issuing the commands in Table 2.5: Removing Tomcat Automatic Startup Instructions.

Uninstalling on Windows License Servers

Follow these steps on the license server machine. All commands must be run in an administrator command prompt window.

  1. Stop the ANSYS License Manager from the ANSYS License Management Center by following the steps contained in Stopping the ANSYS License Manager.

  2. Uninstall the ANSYS License Manager service. You must use the following command to do so:

    "C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_server" 
         -k uninstall
  3. Uninstall the ANSYS Licensing Tomcat service. You must use the following commands to do so:

    sc stop "ANSYSLicensingTomcat"
    sc delete "ANSYSLicensingTomcat"
  4. Delete the Shared Files subdirectory (C:\Program Files\ANSYS Inc\Shared Files by default).


    Note:  Do not delete this directory if ANSYS products are also installed in the installation directory.


  5. Remove the ANSYS License Manager folder from the Start menu.

  6. Remove the ANSYSLIC_DIR and the ANSYSLIC_SYSDIR environment variables, if set.


Release 18.2 - © ANSYS, Inc. All rights reserved.