If you need to troubleshoot Terminal Services licensing:

1. Start / Run / Services.msc / OK.

2. Double-click the Terminal Services Licensing service and Stop it.

3. Select the Log On tab.

4. Check the Allow service to interact with desktop box.

5. Press Apply.

6. Copy / Paste the following to a TSDebug.reg file:

REGEDIT4

\[HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/TermServLicensing/Parameters\]
"Console"=dword:00000001
"Log Level"=dword:FFFFFFFF

7. Merge the TSDebug.reg file with your registry, or run regedit /s TSDebug.reg.

8. Select the General tab.

9. Start the Terminal Services Licensing service.

NOTE: A console window will open.

NOTE: You cannot use a Terminal Services sessions to monitor the console.