Error in PSM connection: "A licensing error occurred while the client was attempting to connect (Licensing timed out). Please try connecting to the remote computer again."

Error in PSM connection: "A licensing error occurred while the client was attempting to connect (Licensing timed out). Please try connecting to the remote computer again."

474
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:54 PM


Symptom


NOTE: this article is provided as a courtesy. This is not a Cyberark specific issue, but is a problem with Microsoft. For issues related to this article a case should be opened with Microsoft.  

When connecting to a target machine it is possible for the following error to occur intermittently or consistently:

License error.jpg


Environment


14.5;14.6 PAS
PSM
RDS
CAL


Cause


When using a standalone licensing server the PSM may also have the Remote Desktop Licensing role installed on the PSM server. This will cause the server to use the local role and override the standalone licensing server with available CALs. This error may appear intermittently since the RD Licensing role will allow 5 CALs.
 


Resolution


Check to see if the PSM is utilizing a licensing server by running the command: "RSOP" from an administrative command prompt. 

Navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing > Use the specified Remote Desktop Licenses servers.

RSOP final.JPG

If the group policy is enabled set the correct address in the box then press "OK". Next ensure the Remote Desktop Licensing role in not installed on the PSM server following the steps below:

Launch Server Manager on the PSM sever. Click Manage > Remove Roles and Features > Server Roles > Remote Desktop Service. Uncheck "Remote Desktop Licensing" if enabled.

remove RDL.JPG


When the pop-up appears press "Remove Features" then press "Next" twice. Ensure "Restart the destination server automatically if required" is checked off then press "Remove". 




 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000tvoCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail