How Do I Programmatically Retrieve My Computer ID?

Updated Mar 20, 2019

Reported In

Operating System

  • Windows

Issue Details

How can I programmatically retrieve my Computer ID used by NI Licensing without using NI License Manager?

Solution

The Computer ID is calculated by generateComputerId.exe. You can run this executable manually, e.g. from the Windows Command Prompt.
The executable is located at <National Instruments>\Shared\License Manager\bin\. Once the Command prompt is open, you can e.g. drag and drop the executable into it and press Enter.

Additional Information

Make sure you use the command prompt to run the executable. If you run the executable by itself, Windows will close the automatically-opened Command Prompt window after the executable has finished, therefore you will not be able to see the ID generated.

You can also use this executable as a step in automating NI software activation. Reference the related links below for more information.

WAS THIS ARTICLE HELPFUL?

Not Helpful