NX NX licensing tool crashed or does not start

The NX Licensing Tool and 'lictool.exe' do not work or seems to crash if the Siemens License Server (SLS) v2.2 is serving 'ugslmd' and 'cdlmd' license files.

When using the SLS v2.2 to serve license files for NX/Teamcenter/Simcenter (ugslmd) and STAR-CCM+ (cdlmd) the NX Licensing Tool does not work. It appears for a second, and then closes. The '. \UGFLEXLM\lictool.exe' does not work either, so it cannot be used to borrow licenses or set bundles.

The Licensing Tool and 'lictool.exe' works as expected if there is just a 'ugslmd' license file being served. Without the Licensing Tool the user cannot access NX license borrowing or select bundles (although they could set the UGS_LICENSE_BUNDLE variable as a workaround for selecting bundles).

Note that the NX application can obtain a license and it will work just fine, it's just the Licensing Tool that is affected.

All versions of NX seem to be affected, in combination with the Siemens License Server (SALT).

It's a known issue, when you have multiple license running on our new Siemens license server, the licensing tool crashes.

This issue has been fixed in NX/Simcenter 3D 2312, which will be released December this 2023.

There are 2 possible workarounds for this.

If you are just looking for setting the bundles, the first option is not to use the licensing tool, but simply use the variables, SPLM_LICENSE_SERVER and UGS_LICENSE_BUNDLE to set the server and Bundles.

However, if the licensing tool has been used previously, the values previously set in the Windows registry will take precedence over the environment variables. So you would have to go in the registry and remove them first.

Delete the 2 keys below completely:

The second option is to use the licensing tools from the new version as standalone.

Attached to this article, you'll find a zip file containing 3 small files.

Unzip these 3 files anywhere on your system in the same folder. For example in C:\Siemens\ or on your desktop. Do NOT replace the original files in your NX\Flexlm folder.

Once extracted, start the LicensingTool.exe from this unzipped folder, and you can start the tool without issues and change the bundles or borrow the licenses from there.