Batch file to enable error logging

For troubleshooting purposes, the License Management Tool provides a logging feature that captures usage data as it is recorded locally and later sent to the license server. The following support solution provides step-by-step instructions for enabling and configuring the feature through the graphical interface. However, the feature can also be enabled at the registry level using the attached file. This can be useful for administrators.

To use it, save the file with an extension of BAT, and run it as the user. The batch file configures the licensing component to save the log file to the user's desktop. To change this location, change the path specified on line 3.

To disable the logging feature at the registry level, execute the following command:
reg add HKCU\Software\Bentley\Licensing\1.1 /v MS_LMDEBUGLOGENABLED /t REG_DWORD /d 0 /f