I have a Windows Server 2008 R2 install that I was setup without Remote Desktop licensing originally. I used the Server Manager to install the Remote Desktop Session Host & Licensing Server roles.
The system then wanted to reboot, which I did. However, now when I try to RDP into the server, I get an error that the session was disconnected because there are no licensing servers available.
I can only log on via a serial console and get to a command prompt. I tried to remove the roles via PowerShell, but there is evidently a pending configuration change that must be completed.
Is there anyway to cancel or complete this via command line?
Thanks.