Remote Desktop Services issue after installation fail

Yi E Wang 646 Reputation points
2020-08-07T06:35:16.79+00:00

Hi all,
I have an issue with Windows Server 2016 Role - Remote Desktop Services.
Some time ago I tried install this role, but installation failed with errors and installation task was freezed. Even when I reboot the OS, the task re-start again with installation failed.
I stopped installation task in task manager, and forget about this, till now.
Now I can't login Remotely to any server accounts.
Role is not installed:
[ ] Remote Desktop Services
[ ] Remote Desktop Connection Broker
[ ] Remote Desktop Gateway
[ ] Remote Desktop Licensing
[ ] Remote Desktop Session Host
[ ] Remote Desktop Virtualization Host
[ ] Remote Desktop Web Access

But I have installed Remote Desktop Licensing Service.

After local login I have message "The RD Licensing grace period has expired and Licensing mode for the Remote Desktop Session Host server has not been configured. Licensing mode must be configured for continuous operation."

Also I don't have installed Remote Desktop Licensing Diagnoser/Manager

How can remove this?

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,261 questions
0 comments No comments
{count} votes

Accepted answer
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,691 Reputation points Microsoft Vendor
    2020-08-07T06:56:36.303+00:00

    Hi,

    Please follow below steps to remove “Remote Desktop Licensing Service”.

    1. Open “Server Manager”, click “Add roles and features”.
      16249-image.png
    2. Click “Start the Remove Roles and Features Wizard"
      16250-image.png
    3. Keep next until “Select server roles”, uncheck “Remote Desktop Licensing” -> “Remove features”->Next
      16371-image.png
    4. Check “Restart the destination server automatically if required” -> Click “Remove”
      16334-image.png
    5. Run "get-windowsfeature " in PowerShell to double confirm below roles has not been installed.

    [ ] Remote Desktop Services
    [ ] Remote Desktop Connection Broker
    [ ] Remote Desktop Gateway
    [ ] Remote Desktop Licensing
    [ ] Remote Desktop Session Host
    [ ] Remote Desktop Virtualization Host
    [ ] Remote Desktop Web Access

    Meanwhile, if you would like to reinstall the RDS role, please refer to below link which contains detailed steps for RDS deployment.
    https://nedimmehic.org/2017/01/21/deploying-remote-desktop-services-2016-step-by-step/

    This is second part for your error message "The RD Licensing grace period has expired and Licensing mode for the Remote Desktop Session Host server has not been configured. Licensing mode must be configured for continuous operation." Please try below steps to see if that could resolve.
    On the remote session host server, open "Registry Editor" -> find "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod"->right click "Graceperiod"->Permissions-> change the owner of the registry key->delete L$RTMTIMEBO..
    16354-image.png
    16355-image.png
    16356-image.png

    Thanks,
    Eleven

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. SylGr 1 Reputation point
    2020-08-17T14:21:02.567+00:00

    Sorry for the huge delay.
    I have limited access to internet

    I tried first option with uninstalling but I don't have possibility to do this
    18025-image.png

    I still receive popups messages that Remote licensing server is not configured.

    I did the second option (removing the key from the Registry) and it's worked for me. I set task for this to run every 2 months

    0 comments No comments