Enabling NI License Manager Logging

Updated Oct 24, 2020

Environment

Software

  • NI License Manager

  • My NI License Manager is crashing and I need to troubleshoot it.
  • I need to get the logs from my client machine because NI Volume License Manager is not activating my network license correctly.

On the computer that is experiencing issues with License Manager you will want to enable logging in order to have more information for troubleshooting. Logging can be enabled by following these steps:
  1. Open the command prompt.
  • Hit Windows Key + R > type cmd > hit Enter
  • Instead of opening command prompt you could also use Windows PowerShell. Please note that some commands are different.
  1. Navigate to the Licensing Manager Installation Directory
  • This is normally C:\Program Files (x86)\National Instruments\Shared\License Manager\
  • The command would be
    cd "C:\Program Files (x86)\National Instruments\Shared\License Manager\"
  1.  Enable Logging by running the command 
    • in the command prompt the command is: 
      "C:\Program Files (x86)\National Instruments\Shared\License Manager\NILicensingCmd.exe" -enablelogging 1
    • if you use PowerShell the command is: 
      & "C:\Program Files (x86)\National Instruments\Shared\License Manager\NILicensingCmd.exe" -enablelogging 1
  2. The log that is generated is located at C:\ProgramData\National Instruments\License Manager\Data\Licensing.log.

Additional Information

Once you've done this test, move that log to a different directory so that when you perform the next test, its results are in its own log.