Licenses are not available for this Remote Desktop Session

You may also like...

13 Responses

  1. Alain Cote says:

    Thanks! That solved my problem!

  2. Jim says:

    Thanks. Solved my problem too. (Server 2019)
    But was this this the only way? Can’t imagine everyone who deploys an RDS server needs to search Google for a solution that leads to running a powershell command.

  3. Ben says:

    Server 2k19 Here – Same problem and your solution fixed it.

    Thank you… I dug and dug online and didn’t find anything until this.

  4. Shane says:

    Thank you, solved my problem too!

  5. Brian says:

    I spent a week searching the Internet for a resolution and found a ton of dead ends along the way and a very upset client – rightfully so. This was the only resolution that worked… Thanks for Sharing!!!

  6. sigband says:

    Same here, spent a lot of time until I find this, which is finally working.

  7. Nikole says:

    I cannot run the second command
    PS C:\Windows\system32> $obj.ChangeMode(4)
    Exception calling “ChangeMode” : “Invalid operation ”
    At line:1 char:1
    + $obj.ChangeMode(4)
    + ~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WMIMethodException

    PS is ran under Administrator rights. Any suggestions onto why PS isn’t recognizing the command?

  8. Sami says:

    If I want it to be per machine because I have workgroup (no domain) what is the command in this case?

  9. Pushpakumara says:

    Thank you so much, I have expended more than a week troubleshooting the same issue in windows server 2019.
    You have saved me. wonderfully.

  10. Òscar says:

    Solució Perfecta 1000 Gracies

  11. Ruslan says:

    Thank you so much!!!!!!

  12. Rob M says:

    Worked for me as well – I’m guessing there’s a bug in the License Server selection when you assign via the gui.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.