Windows Servers

Setting Up Remote Desktop Services on Windows Server

By NileVPS Team · Published · 4 min read

اقرأ المقال بالعربي

Out of the box, Windows Server allows only two simultaneous Remote Desktop sessions, and they are meant for administration. When you need more people working on the same server, for example staff using an accounting application, a team sharing trading software, or users who need a full Windows desktop from anywhere, you need Remote Desktop Services (RDS). This guide explains the RDS components, how licensing works, and how to deploy it with or without Active Directory, followed by the security steps that matter most on an internet-facing VPS.

Admin mode vs Remote Desktop Services

Default Remote Desktop for AdministrationRemote Desktop Services
Concurrent sessions2Limited by server resources and licenses
Licenses neededNone beyond the server licenseOne RDS CAL per user or per device
Intended useServer managementEnd users running apps or desktops
Grace periodNot applicable120 days before a license server is required

Using RDS without proper CALs after the grace period ends is not a workaround: new connections are refused, and it is also a license violation.

RDS role services

  • RD Session Host: the server where user sessions and applications actually run. This is the only mandatory piece for a basic setup.
  • RD Licensing: issues and tracks RDS Client Access Licenses (CALs).
  • RD Connection Broker: distributes users across session hosts and reconnects them to existing sessions. Required for the full "deployment" model.
  • RD Web Access: a web portal where users launch published RemoteApp programs or desktops.
  • RD Gateway: tunnels RDP traffic over HTTPS (port 443), so you do not have to expose port 3389.

On a single VPS, all of these can run on the same server for a small team.

Licensing in brief

You buy RDS CALs in addition to the Windows Server license. They come in two types:

  • Per User: one CAL per named person, regardless of how many devices they use. Tracking and reporting of Per User CALs requires Active Directory.
  • Per Device: one CAL per client device. Works in a workgroup and suits shared terminals.

Software running in sessions has its own rules. For example, Microsoft 365 Apps on an RDS host need shared computer activation and a plan that permits it. Check each application's license for multi-user server use.

Option A: Full deployment in a domain

If the server is joined to a domain (see promoting a domain controller), use the standard deployment, which installs the broker, web access and session host together:

New-RDSessionDeployment -ConnectionBroker "rds01.ad.example.com" `
  -WebAccessServer "rds01.ad.example.com" `
  -SessionHost "rds01.ad.example.com"

Add-RDServer -Server "rds01.ad.example.com" -Role RDS-LICENSING -ConnectionBroker "rds01.ad.example.com"
Set-RDLicenseConfiguration -LicenseServer "rds01.ad.example.com" -Mode PerUser -ConnectionBroker "rds01.ad.example.com"

Then create a session collection and choose who can use it:

New-RDSessionCollection -CollectionName "Office" -SessionHost "rds01.ad.example.com" `
  -ConnectionBroker "rds01.ad.example.com"
Set-RDSessionCollectionConfiguration -CollectionName "Office" -UserGroup "AD\RDS Users" `
  -ConnectionBroker "rds01.ad.example.com"

The same steps are available in Server Manager under Add Roles and Features > Remote Desktop Services installation > Quick Start.

Option B: Workgroup server without a domain

Without Active Directory, the Connection Broker model is not available, but you can still run a multi-user session host:

Install-WindowsFeature -Name RDS-RD-Server, RDS-Licensing -IncludeManagementTools -Restart

After the reboot:

  1. Open Remote Desktop Licensing Manager, activate the license server and install your Per Device CALs.
  2. Open the Local Group Policy Editor (gpedit.msc) and go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing.
  3. Enable Use the specified Remote Desktop license servers and enter the server's own name.
  4. Enable Set the Remote Desktop licensing mode and choose Per Device.
  5. Add users to the local Remote Desktop Users group.

Run gpupdate /force, then check the configuration with the Licensing Diagnoser in Server Manager or under Administrative Tools.

Session limits and user experience

Useful policies live under Remote Desktop Session Host > Session Time Limits and Connections:

  • End disconnected sessions after a set time, so abandoned sessions stop using memory.
  • Limit each user to a single session.
  • Redirect user folders or use FSLogix or roaming profiles if several hosts are involved.

Size the server for the real workload. Each active desktop session uses memory and CPU, and browsers are often the heaviest application. Start with a pilot group, watch usage with Performance Monitor, and scale up the VPS if needed; you can compare options on our pricing page.

Securing RDS on a VPS

  • Do not leave 3389 open to the world. Restrict it with the NileVPS cloud firewall to known IP addresses, or publish access through RD Gateway on port 443 with a trusted certificate.
  • Keep Network Level Authentication enabled so users authenticate before a session is created.
  • Enforce strong passwords and an account lockout policy to slow down brute-force attempts.
  • Give users standard accounts, never administrator rights.
  • Watch failed logons (event ID 4625) and install updates regularly.

FAQ

How many users can connect to a Windows Server without RDS?

Two concurrent sessions, intended for administrators. Additional simultaneous users require the RD Session Host role and RDS CALs.

Can I use RDS without Active Directory?

Yes, with an RD Session Host and RD Licensing in a workgroup using Per Device CALs. Features such as the Connection Broker, RemoteApp collections and Per User CAL tracking need a domain.

What happens when the 120-day grace period ends?

If no license server with valid CALs is configured, the session host stops accepting new remote connections from users. Administrators can still connect in admin mode to fix the configuration.

Related guides