Windows 2019
Sponsored Link

Remote Desktop : Install RDS (Session based)
2020/12/15
 
Install Remote Desktop Service (RDS). It can connect to Desktop or Applications on a Server from remote Computers.
[1]
It needs that the Computer you'd like to install RDS is a member Host of an AD domain.
So Prepare Active Directory Domain Server in your network.
(It is not recommended to install RDS in Domain Controller because of security risk or performance reasons.)
[2]
[3] Logon with an user who are in [Domain Admins] group and Run PowerShell with Admin Privilege.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

# Install RDS and other services and tools
# if you bought RDS CAL, it needs License Server, too, then add [RDS-Licensing] to installation args
PS C:\Users\serverworld> Install-WindowsFeature Remote-Desktop-Services,RDS-Web-Access,RDS-RD-Server,RDS-Connection-Broker -IncludeManagementTools 

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
True    Yes            SuccessRest... {ASP.NET 4.7, Remote Desktop Connection Br...
WARNING: You must restart this server to finish the installation process.

# restart computer to apply changes
PS C:\Users\serverworld> Restart-Computer -Force 

# after restarting, configure ConnectionBroker/WebAccessServer/SessionHostServer 
# specify Server's hostname or IP address for each value
PS C:\Users\serverworld> New-RDSessionDeployment -ConnectionBroker "rx-7.srv.world" -WebAccessServer "rx-7.srv.world" -SessionHost "rx-7.srv.world" 

# confirm settings
PS C:\Users\serverworld> Get-RDServer 

Server                                             Roles
------                                             -----
RX-7.SRV.WORLD                                     {RDS-RD-SERVER, RDS-CONNECTION-BROKER, RDS-WEB-ACCESS}
Remote Desktop : Install RDS (Session based) (GUI)
 
On GUI installation, Do like follows.
[4] Logon with an user who are in [Domain Admins] group and Run Server Manager and Click [Add roles and features].
[5] Click [Next] button.
[6] Select [Remote Desktop Services installation].
[7] On this example, select [Standard deployment] to proceed.
[8] On this example, select [Session-based desktop deployment].
[9] Click [Next] button.
[10] Specify Remote Desktop connection Broker server. The servers in the Domain are listed, select from it.
[11] Specify Remote Desktop Web Access server. The servers in the Domain are listed, select from it.
[12] Specify Remote Desktop Session Host server. The servers in the Domain are listed, select from it.
[13] Check a box [Restart the destination server automatically if required] and click [Deploy] button.
[14] During the installation, System will restart once automatically. After finishing installation, Click [Close] button.
Matched Content