question

ColinKern-5855 avatar image
0 Votes"
ColinKern-5855 asked JasonCommandeur-0328 answered

Computer is being issued a new Per Device CAL every time it connects

I have a server with RDS Per Device CALs installed and there is one device, a desktop computer running Windows 10 Pro, that is being issued a new CAL every time it connects to the server. I used the "get-wmiobject Win32_TSIssuedLicense" command and here is one of the entries for the device:

 __GENUS           : 2
 __CLASS           : Win32_TSIssuedLicense
 __SUPERCLASS      :
 __DYNASTY         : Win32_TSIssuedLicense
 __RELPATH         : Win32_TSIssuedLicense.KeyPackId=6,LicenseId=29
 __PROPERTY_COUNT  : 8
 __DERIVATION      : {}
 __SERVER          : JACKFRUIT
 __NAMESPACE       : root\cimv2
 __PATH            : \\JACKFRUIT\root\cimv2:Win32_TSIssuedLicense.KeyPackId=6,LicenseId=29
 ExpirationDate    : 20201203040753.000000-000
 IssueDate         : 20200925170347.000000-000
 KeyPackId         : 6
 LicenseId         : 29
 LicenseStatus     : 2
 sHardwareId       : ff002f2830a5f84b4487b13034231ad07947
 sIssuedToComputer : colin
 sIssuedToUser     : Unknown UWP user
 PSComputerName    : JACKFRUIT

For each entry for the device "colin", a different sHardwareId is listed. I also noticed the sIssuedToUser is "Unknown UWP user" whereas the licenses for the other devices show a username. The HardwareID listed in the registry under MSLicensing does not match any of the sHardwareIds in the licenses issued, but I checked another machine that has connected multiple times with only a single license and it also didn't match, so I'm not sure where the sHardwareId comes from.

28432-capture.png

I also read that the server should transfer a license file to the client which stores it in the registry under MSLicensing/Store. This is empty on the device with the issue, but again it is also empty on a different device that is not having the issue so I'm not sure what the problem is.

28408-capture2.png

What can I do to diagnose and fix this issue?


remote-desktop-servicesremote-desktop-client
capture.png (11.6 KiB)
capture2.png (10.6 KiB)
· 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.

Hi,

Have you checked if the answer helps?

If the Answer is helpful, please click "Accept Answer" and upvote it.

Thanks,
Eleven

0 Votes 0 ·
ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered ColinKern-5855 commented

Hi,

There is an article that detailedly clarifies the process of issuing per-device RDS CALs and provides some possible solutions to issue "Multiple per device RDS CALS are issued the same device issue".

Please refer to it and try the solutions to see if they help.

Multiple per device RDS CALS are issued the same device issue…
https://techcommunity.microsoft.com/t5/ask-the-performance-team/multiple-per-device-rds-cals-are-issued-the-same-device-issue/ba-p/375639

Thanks,
Eleven


If the Answer is helpful, please click "Accept Answer" and upvote it.

· 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.

I looked at that article before posting this question, which is why I included screenshots to show that my device doesn't have multiple hardware IDs in the registry. When I said "I also read that the server should transfer a license file to the client which stores it in the registry under MSLicensing/Store." This article is where I had read that. But it either doesn't seem to contain accurate information, or I'm confused about what it's saying. Either way, I need help that isn't just linking to something that's easily found on Google. I've Googled for days before posting this question.

0 Votes 0 ·
ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered ElevenYu-MSFT commented

Hi,

Please check if all the issued CALs are Temporary. I have done some lab test, if the issued CAL is temporary, the sHardwareId is different with the registry HardwareID.

You can check that on Licensing sever as below.
29296-image.png

Also, you can check the event log to find some information about how the CALs are issued.
Event Viewer – Applications and Services Logs – Microsoft – Windows – TerminalServices – Licensing

29286-image.png

Thanks,
Eleven


image.png (120.8 KiB)
image.png (711.9 KiB)
· 3
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.

Hi Eleven,

The licenses are installed, not temporary.

29887-capture-installed.png

The event log shows a message about upgrading a temporary CAL to a permanent CAL every time:

29962-capture-event.png

But the device doesn't show a temporary CAL in the licensing manager:

29914-capture-temporary.png


0 Votes 0 ·

Hi Eleven,

There is now a second device that is having this issue. This device had logged in multiple times with a single license, but recently has started being issued a new license every day, similar to the device I posted the original question about. I notice that the license that was first issued to this device, which seemed to not have any issue at first, shows sIssuedToUser as A3-WINRT-USE, however all the new licenses that are being issued repeatedly show the sIssuedToUser as Unknown UWP user, same as the original device I posted the question about. Do you have any idea what is happening with these devices and how we can fix it?

0 Votes 0 ·

Hi,

In that case, you might need to capture some dumps or traces to further investigate the issue, which I suggest to contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue.
 
You may find phone number for your region accordingly from the link below:
Global Customer Service phone numbers
https://support.microsoft.com/en-us/help/4051701/global-customer-service-phone-numbers

Thanks,

0 Votes 0 ·
JasonCommandeur-0328 avatar image
0 Votes"
JasonCommandeur-0328 answered

I ran into this problem over the past weekend where one client is using multiple licenses. We checked the Client machine and it only has one HardwareID

Running the "get-wmiobject Win32_TSIssuedLicense" on the licenses server also produced similar content:
103096-image.png

In my case, I noticed that the sHardwareId started with "ff00" where all the other licenses started with "0002"
Also the sIssuedToComputer appended the domain name to pad the string to 15 characters.

I talked to the user to see what was different and they told me they used a different client: Microsoft Remote Desktop from the Microsoft Store.
I normally use the built in Remote Desktop Client (mstsc.exe) connect, so I installed Microsoft Remote Desktop from the Microsoft Store and connected to my RDS (Per Device) Farm:
103048-image.png

Re-Ran the "get-wmiobject Win32_TSIssuedLicense" on the license server to find a new entry for my computer:
103028-image.png

There is something not right with how this application works with RDS Licensing, so we will simply not use it. Its not a fix, but hopefully this helps someone else with troubleshooting.

Good Luck,
Jason



image.png (7.6 KiB)
image.png (17.4 KiB)
image.png (18.2 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.