question

Xati-7267 avatar image
0 Votes"
Xati-7267 asked DanielFinkJensen-2765 edited

RD Licensing Manager shows an empty report

On multiple 2019 servers I have a problem with the RD Licensing manager. When I open the manager it shows all users correct but after creating a report they are all gone and the report is empty.
Here some screenshots to clearify.

When I open the Licensing Manager it all looks good.
73299-rds1.png


I can see there are 6 users issued.
73300-rds2.png


But when I create a CAL Usage report it gives me an empty one.
73359-rds3.png


And when I refresh the Manager all users are gone.
73413-rds4.png


Anyone that can help me with this? Please help!


remote-desktop-serviceswindows-server-2019
rds1.png (81.1 KiB)
rds2.png (112.0 KiB)
rds3.png (95.4 KiB)
rds4.png (44.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Xati-7267 avatar image
0 Votes"
Xati-7267 answered DanielFinkJensen-2765 edited

The solution that worked for me:

-On the OU that contains your users, right-click and choose Delegate Control... , follow wizard
-On Users and Groups page, click Add and then enter SELF
-On Tasks to Delegate page, select Create a custom task to delegate
-On Active Directory Object Type page select Only the following objects in the folder, then scroll down and select User objects
-On Permissions page, select General, then scroll down and select Read and write Terminal Server license server

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you!

This also worked for me - been bashing my head for some time
Was trying to create a script which used the Invoke-WmiMethod Win32_TSLicenseReport -Name GenerateReportEx command, but i kept getting wrong results - with most or all issued licenses missing in the report.

Does seem to only affect Server 2019, don't know if anyone can confirm that





1 Vote 1 ·
Xati-7267 avatar image
0 Votes"
Xati-7267 answered

No one who can help or has an idea?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CarlFan-MSFT avatar image
0 Votes"
CarlFan-MSFT answered Xati-7267 commented

Hi,
According to description, I consider that you could try to restart Remote Desktop Licensing Service.
https://techcommunity.microsoft.com/t5/ask-the-performance-team/remote-desktop-licensing-service-stopping/ba-p/375657
Also have you restart after the issue occurred?
Check if you have full control over the folder and files in the "C:\Windows\System32\Lserver" folder.
Maybe rebuild the license server or the service is the quicker option.
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your answer.

We tried all, but nothing worked.

We rebuild the license server and did restart the server, also a restart of the service didn’t help.
Also checked the rights at the "C:\Windows\System32\Lserver" folder and these are Full control.

0 Votes 0 ·
CarlFan-MSFT avatar image
1 Vote"
CarlFan-MSFT answered

Hi,
I'm sorry to see your message when I just came back from vacation.
Thank you for your updating information.
In general ,I consider that the issue need to stop remote desktop licensing service and delete the "C:\Windows\System32\Lserver" folder, uninstall the RDS roles, reboot, and reinstall the RDS Licensing role. activate rdls server and reinstall rds cals again.
To immediately clear things out you could wipe the licensing database and reinstall your RDS CALs fresh
Before doing this please make sure you have the original license information
In RD Licensing Manager, Activate your server, and Install your licenses. If it blocks you from installing your licenses you may need to call the Clearinghouse, explain that you rebuilt the database due to corruption and they will assist in re-installing licenses.
I found you have rebuild the license server and service. Try to delete the Lserver folder to check.
Also you mentioned that the issue was occurred on multiple 2019 servers. So I suggest that you could check for update firstly. If any security update could be found, installing them then reinstall the licensing server to check.
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.