Turn Off Trace Logging for Licensing

Trace logging for licensing compliance in Windows EBS is turned on by default. Trace logs are useful in troubleshooting possible licensing compliance issues. However, at any time, you can turn off trace logging for licensing compliance and remove the log files from Management Server computer.

Windows EBS depends on two licensing services:

  • Server Infrastructure License (SIL) Service

  • Windows Server Solutions Licensing Management Service (LMS)

To completely turn off trace logging for licensing compliance, you must turn off both services, and then remove the log files for each service.

Note

You must use an account that is in the local Administrators group to perform this task.

Important

This task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, view the article in the Microsoft Knowledge Base (https://go.microsoft.com/fwlink/?LinkID=101847).

To turn off trace logging for licensing services

  1. Click Start, click Run…, in the Open text box, type regedit, and then click OK.

  2. In Registry Editor, locate and then double-click the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerInfrastructureLicensing\TraceMask

  3. In Value data, change the number to 0 (zero), and then click OK.

  4. Locate the following registry key and change its value to 0 (zero):

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsServerSolutions\licensing\TraceMask

  5. Click File, and then click Exit to close the Registry Editor.

  6. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  7. In User Account Control, click Continue.

  8. At the command prompt, type the following commands to stop the tracing processes:

    %systemroot%\system32\logman.exe stop "EventLog-Microsoft-Windows-Server Infrastructure Licensing-Debug" -ets

    %systemroot%\system32\logman.exe stop "EventLog-Microsoft-Windows-Windows Server Solutions Client Access Licensing-Debug" -ets

  9. To delete the trace log files, type the following commands:

    del "%systemroot%\system32\winevt\logs\Microsoft-Windows-Server Infrastructure Licensing*4Debug.etl.*"

    del "%systemroot%\system32\winevt\logs\Microsoft-Windows-Windows Server Solutions Client Access Licensing*4Debug.etl.*"