7.4. Windows Procedures


Caution:   Do not allow Windows Update to install later versions of the dongle driver as this is not the Flexera-provided version. Automatic updates can cause unpredictable behavior with dongles, such as:

  • Features that require the dongle cannot be checked out.

  • The dongle FLEXID (hostid) is not returned correctly.

  • The dongle driver cannot be removed using the methods described in this document.


7.4.1. Installing/Updating the Dongle Driver on Windows


Caution:   Removing a dongle or its driver may seriously disrupt your ability to run any product that uses it. Therefore, do not remove a dongle or its driver until you determine that all products that might be using it have been closed. Always stop all license managers that use the dongle and remove the dongle from the system before removing any existing driver. (These steps are detailed below for the Ansys License Manager.)


To install the Ansys-supplied driver on Windows systems, follow the steps below. You must have system administrator privileges to install this driver.

  1. Install the Release 2024 R2 Ansys License Manager.

  2. Confirm that the license manager is stopped by verifying that the 'Ansys License Manager' service is not running.

  3. Remove all FLEXID9 dongles attached to your machine. Do not attach any dongles to the system again until told to do so in this document; if a dongle is plugged in before you have completed the driver installation, the Windows operating system could automatically install a non-Flexera driver.

  4. In Windows Explorer, navigate to the following directory:

    C:\Program Files\ANSYS Inc\Shared Files\bin\winx64\drivers\flexnet

  5. Extract the contents of the 11_16_4_0.zip file into C:\Program Files\ANSYS Inc\Shared Files\bin\winx64\drivers\flexnet. You will need to remove 11_16_4_0 from the end of the default directory shown, if it is included.

  6. Update the version of lmutil included with the Ansys License Manager installation from 11.13.1.2 to version 11.16.4.0.

    1. To do this, open the following directory:

      C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\

    2. Rename the lmutil.exe file to lmutil-11_13_1_2.exe.

    3. Copy the version of 11.16.4.0 version of lmutil.exe file included in the dongle driver package found here:

      C:\Program Files\ANSYS Inc\Shared Files\bin\winx64\drivers\flexnet\11_16_4_0\

    4. Paste this lmutil.exe file into the following directory:

      C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64


      Note:  The 11.16.4.0 version of lmutil will prevent you from borrowing licenses. If, in addition to using dongles, you also use licensing borrowing on this machine you will need the 11.13.1.2 version of lmutil.


  7. Open an administrator command prompt window and perform the following steps:

    1. Remove any existing driver on your system. See the Removing an Existing Dongle Driver on Windows section below for more information.

    2. Navigate to the following directory:

      C:\Program Files\ANSYS Inc\Shared Files\bin\winx64\drivers\flexnet\11_16_4_0

    3. Issue the following command:

      haspdinst.exe -install

  8. When the installation completes, restart the machine.


    Note:  You may not see the new driver until the dongle has been inserted into the machine. However, do not insert the dongle until the next step.


  9. After the machine has restarted, insert the dongle. Wait until the dongle's LED light is red and is not flashing. If you have multiple dongles, wait until the light is red (and not flashing) before inserting the next one.

  10. To see if the dongle is being recognized, open the Ansys License Management Center and click the Get System Hostid Information link. If the dongle is recognized, you will see a FLEXID9 Dongle ID (F) entry under the IDTYPE column. (You can open the Ansys License Management Center by clicking the Ansys, Inc. License Manager > Ansys License Management Center item on the Windows Start menu/Apps page.)

7.4.2. Removing an Existing Dongle Driver on Windows


Caution:  Removing a dongle or dongle driver may seriously disrupt your ability to run any product that uses the dongle. Therefore, do not remove a dongle or dongle driver until you determine that it is safe to do so for all products using the dongle. Always stop all license managers that use the dongle and remove the dongle from the system before removing any existing driver.


Before installing the Ansys-supplied driver, you must remove any existing dongle driver from your system. You will need to use the installer or removal utilities provided with that driver to remove it. See the documentation provided with that driver for specific commands or procedures, or if you encounter problems.

Copies of the FLEXID_Dongle_Driver_installer.exe and FLEXIDCleanUtility.exe files discussed in this section are included in the following file's contents, which must be extracted to use either of these files:

C:\Program Files\ANSYS Inc\Shared Files\bin\winx64\drivers\flexnet\11.9.1.0.zip

  1. Uninstall the appropriate driver as described below.

    • To remove a dongle driver supplied at Ansys Release 16.0 or higher, run the following command while in the 11_16_4_0 subdirectory:

      haspdinst.exe -fremove -killprocess -purge

    • If the dongle driver has been updated through a Windows Update, it must be removed using the tools provided by SafeNet, Inc. Refer to SafeNet's documentation for details.

    • The FLEXID_Dongle_Driver_Installer.exe file was the driver installation file that Ansys, Inc. provided prior to Release 16.0. If you used it to install an earlier version of the Ansys-supplied dongle driver, perform the following steps to remove it.

      • Run the following command while in the 11.9.1.0 subdirectory:

        FLEXID_Dongle_Driver_Installer.exe /remove

      • Select the driver to uninstall and click Next.

    • If you used the FLEXIDInstaller.exe file to install an earlier version of the dongle driver, you can use either the cleanup utility provided for use with the FLEXIDInstaller utility or use the Programs and Features option from the Windows Control Panel. To use the cleanup utility, run the following command while in the 11.9.1.0 subdirectory:

      FLEXIDCleanUtility.exe

  2. Restart the machine.