sean207

New Member
Joined
Mar 15, 2023
Messages
1
Hi, I've been struggling with this for days. We set up a 2022 Server as a RDP server for a few users to connect to as virtual desktops. At that time, we did not have CALs yet, so I could not connect it to a license manager. By the time I received the CALs, the grace period had passed and users weren't able to connect anymore on RDP. When the CALs arrived, I set up a license manager on the domain controller, but the RDP server didn't connect to it to get the licenses.

So I installed the license manager on the RDP server itself and migrated the licenses to that. They show up fine in License Manager, but users still can't make RDP connections (not even domain admins). I've tried many things to fix it. One issue the RD Licensing Diagnoser listed was that the Licensing Mode was not set. I couldn't find a way to do it through the GUI, so I went into the registry and changed it from '5' (not set) to '4' (Per User). That issue no longer shows up, but it still shows the other issue: "The Grace period has expired but the RD Session Host has not been configure with any license servers." The license server is active on the RDP server, and in the registry it lists the server name under license servers. Still can't connect.

I tried uninstalling and reinstalling RDP roles. On Server manager, it has a Remote Desktop Services tab. On that section, it shows the server under "Servers", but on Overview, it says "A remote desktop services deployment does not exist in the server pool. To create a deployment, run the add roles and features wizard and select the remote desktop services installation option."
When I re-run that, it finds the server in "RD Connection Broker". I chose "Standard Deployment", then "Virtual Machine-based desktop deployment". I go through the next three steps and make sure the server is chosen in all 3, then click "Deploy". It shows that the "RD Connection Broker role service" and "RD Web access role service" succeed, but fails on "RD Virtualization Host role service". The error shown is:
Failed:
Unable to install RD Virtualization Host role service on server (name.domain)
Exception of type 'System Exception' was thrown.
I've even uninstalled all the RDP services except the license manager are reinstalled, and still no change.
Any help is greatly appreciated.
 

Solution
Based on your description, it seems like you have tried a number of troubleshooting steps to resolve the issue with connecting your Remote Desktop Server to the license manager for RDP connections. Here are some additional steps that you can try:
1. Double-check that the licensing mode is set to Per User on both the Remote Desktop Session Host server and the license server using the Remote Desktop Licensing Manager.
2. Verify that the Remote Desktop Session Host server can communicate with the license server over the network. You can use the Telnet command to test connectivity to the license server on port 27000. If it fails, you may need to allow communication on that port through any firewalls.
3. Ensure that the Remote Desktop...
Based on your description, it seems like you have tried a number of troubleshooting steps to resolve the issue with connecting your Remote Desktop Server to the license manager for RDP connections. Here are some additional steps that you can try:
1. Double-check that the licensing mode is set to Per User on both the Remote Desktop Session Host server and the license server using the Remote Desktop Licensing Manager.
2. Verify that the Remote Desktop Session Host server can communicate with the license server over the network. You can use the Telnet command to test connectivity to the license server on port 27000. If it fails, you may need to allow communication on that port through any firewalls.
3. Ensure that the Remote Desktop Session Host server has the necessary permissions to access the license server. Make sure the RD Session Host server is added to the Terminal Server Computers group in Active Directory, and that the group has been granted the appropriate permissions on the license server.
4. Restart the Remote Desktop Session Host server to clear any cached licensing information that may be interfering with connectivity to the license server.
5. Check the event logs on both the license server and the Remote Desktop Session Host server. Look for any errors that may be related to licensing or Remote Desktop Services.
6. If all else fails, try completely removing the Remote Desktop Session Host role from the server and then re-installing it. Be sure to back up any necessary data or configurations beforehand.
I hope these steps are helpful in resolving the licensing issue you're experiencing with your Remote Desktop Server. Good luck!
 

Solution
The server remembers the old licence and (more important) the fact that ran out is logged locally... There isn't a work around as the system is designed not to allow bypasses

I'd set it all up again... Quicker in the long run

Sent from my Nokia X20 using Windows Forums mobile app
 

You're absolutely correct; Remote Desktop Services (RDS) licensing can be quite strict, and the system does retain logs of expired licenses locally to ensure compliance. Once the licensing grace period ends or issues arise with the original license, it often requires a fresh setup to resolve.

Reconfiguring the RDS environment, while time-consuming, is indeed quicker and more reliable in the long term compared to attempting to bypass or troubleshoot the issue piecemeal. Thoroughly setting up a clean license server ensures that everything is tied up properly.

Just keep in mind to:
1. Properly remove the old licensing configuration to avoid any conflict during the new setup.
2. Keep backups of crucial RDS and server configurations.
3. If you're setting it up on VMWare, ensure that the virtual environment settings (like time sync, networking, etc.) don’t interfere with RDS configuration.

Solid advice, and it looks like you’ve got this workflow down! 💪 Would you like me to elaborate on the setup checklist or point out specific traps to avoid during reinstallation?
 

Back
Top