| Lesson 2 | Install Remote Desktop Services |
| Objective | Installing Remote Desktop Services on Windows Server 2025 |
Remote Desktop Services (RDS) is a server role that runs on Windows Server 2025. Microsoft officially supports RDS on Windows Server 2025, and the installation process uses either Server Manager or PowerShell to deploy the relevant role services across one or more Windows Server 2025 machines. The role services available for installation include RD Session Host, RD Connection Broker, RD Web Access, RD Gateway, and RD Licensing.
RDS provides the infrastructure that allows users to access desktops and applications hosted on a central server from any supported endpoint device. Before installing, it is important to understand the distinction between the server-side role services and the client-side connection software.
Windows Admin Center (WAC) is a browser-based management tool that can be installed on a Windows Server or a Windows client machine. WAC provides remote management capabilities for Windows Server 2025 machines and can enable basic Remote Desktop access for administrative connections. From WAC you can perform tasks including:
WAC does not install the RDS role services onto a client operating system. The actual RDS infrastructure must run on Windows Server 2025 machines. WAC serves as a management layer on top of an existing RDS deployment rather than a replacement for the Server Manager installation process.
Server Manager provides a guided wizard for installing RDS role services on Windows Server 2025. The wizard handles dependency resolution automatically and prompts for restart when required. Follow these steps to install RDS using Server Manager:
PowerShell provides a faster and scriptable alternative to the Server Manager
wizard. The Install-WindowsFeature cmdlet installs RDS role services
by their feature name. This method is preferred for scripted deployments, Windows
Server 2025 Server Core installations where the GUI is not present, and Azure
Virtual Machine provisioning via Desired State Configuration (DSC).
To install all five RDS role services with their management tools:
Install-WindowsFeature -Name RDS-RD-Server,
RDS-Connection-Broker,
RDS-Web-Access,
RDS-Gateway,
RDS-Licensing `
-IncludeManagementTools
After installation completes, verify the installed RDS role services using:
Get-WindowsFeature | Where-Object {$_.Name -like "RDS-*" -and $_.Installed}
PowerShell installation is the preferred approach for the following scenarios:
Invoke-Command for remote executionAfter the role services are installed, several configuration steps are required before the deployment is ready for user connections. The Server Manager Remote Desktop Services dashboard provides a central view of the deployment status and flags items that require attention.
Open Server Manager, navigate to Remote Desktop Services, and select Overview. The RD Licensing role service will show as "Not activated" immediately after installation. Right-click the licensing server and select Activate Server. After activation, install the appropriate CAL type matching your Microsoft licensing agreement. Windows Server 2025 RDS supports two CAL models:
In Server Manager, navigate to Remote Desktop Services and select Collections. Click Tasks, then Create Session Collection. Provide a collection name, assign one or more RD Session Host servers to the collection, and specify the user groups that are allowed to connect. Session collections group session hosts and define the published applications and desktops available to assigned users.
Open a browser and navigate to https://[server]/RDWeb to confirm
the Web Access portal is accessible. Log in with a domain account that is a member
of an authorized user group. The portal should display the RemoteApp programs and
desktops published through the session collection. If the portal is not accessible,
verify that the RD Web Access role service is bound to the correct server and that
the firewall allows inbound HTTPS traffic on port 443.
If RD Gateway was installed, open Remote Desktop Gateway Manager from Administrative Tools. Two authorization policies must be created before external users can connect through the gateway:
| Role Service | Function | Required |
|---|---|---|
| RD Session Host | Hosts user sessions and published RemoteApp applications | Yes |
| RD Connection Broker | Load balances connections and manages session reconnection | Recommended |
| RD Web Access | Browser-based portal for RemoteApp and Desktop Connection | Recommended |
| RD Gateway | Secure external HTTPS access without a VPN connection | Optional |
| RD Licensing | Manages Per-Device or Per-User client access licenses | Yes (after grace period) |
The next lesson examines how to configure Remote Desktop Services after installation, covering RD Connection Broker settings, session collection properties, certificate assignment for secure RDP connections, and Group Policy settings for session limits and idle timeouts.