none
Server 2016 powershell enable remote desktop services (RDS)

    Question

  • We are new to powershell and have a new AWS EC2 Windows 2016 server and we wish to automate the enabling of RDS.  Out of the box the server supports no more than 2 concurrent logins.  How do we configure the server to support more concurrent users?  We are familiar with manually configuring the older Terminal Services on 2012 but can't figure this out via Powershell in 2016. 

    The error we get is "Unable to connect to the server by using Windows PowerShell remoting. Verify that you can connect to the server."

    Thanks.

    • Edited by DavidXR7 Tuesday, May 15, 2018 4:06 PM
    • Moved by jrv Thursday, May 17, 2018 5:29 PM Better forum
    Tuesday, May 15, 2018 3:37 PM

All replies

  • you need to purchase RD CALS to allow more than 2 users simultaneously 
    • Edited by Jiten SH Tuesday, May 15, 2018 6:43 PM
    Tuesday, May 15, 2018 6:42 PM
  • You have to configure RDS for this.  It is set for admin only by default.

    Add the RDS role to the server and provide CALS for the sessions.


    \_(ツ)_/

    Tuesday, May 15, 2018 9:47 PM

  • Sorry I should have clarified that we are getting the "unable to connect to the server by using Windows PowerShell remoting. Verify that you can connect to the server." error after we issue the New-RDSessionDeployment command.

    So, while the CALS info is appreciated and helpful, I don't think we're even able to install the required Role services.


    • Edited by DavidXR7 Thursday, May 17, 2018 5:14 PM
    Thursday, May 17, 2018 5:14 PM
  • Remoting must be enabled for this command to work.  Test remoting first.

    Enter-PsSession <server name>


    \_(ツ)_/

    Thursday, May 17, 2018 5:24 PM
  • That does not solve the problem.  There's a post on Microsoft's forums a mile long about this issue with no resolution.  Any other troubleshooting tips are welcomed.  Thanks again.
    Friday, May 18, 2018 1:47 PM