Removing Temporary License in RDS 2022

Anonymous
2024-06-10T08:11:46+00:00

Hello Team,

Our Customer previously have face an issue about RDS after the grace period end. Before the grace period expire It doesn't show any error but after it expired It show that "The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license." even though they already insert the license and follow the configuration step. But with help of our team we manage to create new temporary License to access to the server and insert the key again. But show that the key already install but still showing the error in License Diagnoses. After we made some configuration to fix the error we unable to remove the Temporary license and we afraid if we wait for the temporary license expire it create the same error and unable for customer to access into the server.

Windows Server Remote and virtual desktops Remote desktop services and terminal services

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Anonymous
    2024-06-11T00:58:49+00:00

    Hello,

    I assume you're utilizing the RDS Per Device CAL, as only the Per Device CAL offers a temporary CAL.

    Here's the explicit explanation about the process of RDS per device CAL:

    1.when an unlicensed client connects to a Remote Desktop Session Host (configured for "per Device" licensing) for the first time, the Remote Desktop License Server issues the client a temporary RDS CAL.

    After the user has logged into the session, the RDS server instructs the License Server to mark the issued temporary RDS CAL token as being validated.

    2.The next time the client connects, an attempt is made to upgrade the validated temporary RDS CAL token to a full RDS CAL token. Only after a second successful logon will a full CAL actually be assigned (preventing DoS attacks).

    If no license tokens are available, the temporary RDS CAL token will continue to function for 90 days.

    Clients store their license under the registry key:

    [HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing]

    1. Every time the client device connects to an RDS Host, it presents its RDS CAL to the server.

    The server checks not only whether the client device has a valid license, but also the expiration date of that license. If the expiration date of the license is within 7 days of the current date, the RDS Host connects to the License Server to renew the license for another random period of 52 to 89 days.

    If the CAL requires upgrading or renewal, the RDSH will communicate with the RDLS on behalf of the client. From my understanding, there is no need to manually remove the temporary CAL; it should be automatically converted. The only requirement is to ensure seamless connectivity between the RDSH and the RDLS.

    CAL assignment process:

    8867.rd_5f00_licensing_5f00_flowchart.png (1722×675) (microsoft.com)

    Additional settings that might require your attention :Cannot connect to RDS because no RD Licensing servers are available - Windows Server | Microsoft Learn

    Regards,

    Karlie

    0 comments No comments
  2. Anonymous
    2024-06-11T03:50:36+00:00

    Hello Team,

    I also want ask question that is there is a way for us to know the license is working because we cannot wait for the temp license to expire we want to clarify is the license is working so we can give the server to the customer.

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-06-11T05:59:45+00:00

    Hi,

    You can check with the RD Licensing Manager to see the issued licenses and their status.

    0 comments No comments
  4. Anonymous
    2024-06-11T06:12:28+00:00

    Hello karlie,

    Is there another way to clarify the license that can be use because previously we did the same thing and didn't get any error but after them Temporary license is expired it show an error message

    "The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license."

    Then customer unable to access to the Server. That why we put Temporary license again to fix. So to avoid the same error we want another way to clarify that key can be use.

    And I want to ask if we using RDS license Per user cal. Can we try to activate the key in another server to check if it working and deactivate the key or we cannot?

    0 comments No comments
  5. Anonymous
    2024-06-12T03:08:20+00:00

    Hi,

    "And I want to ask if we using RDS license Per user cal. Can we try to activate the key in another server to check if it working and deactivate the key or we cannot?"

    Yes we can use Remote Desktop Server Licensing (microsoft.com) to Manage CALs:

    You can use this option to do either of the following:

    • Move installed RDS CALs from a once-activated Remote Desktop license server to another activated license server.
    • Rebuild the RD Licensing database on the license server and recover the RDS CALs that were previously installed on the license server.

    0 comments No comments