How to Enable Remote Desktop Services on Windows Server 2019

In today’s digital world, remote access to computers and servers has become crucial for businesses and individuals alike. Whether you need to access your work computer from home or manage servers in a data center, enabling Remote Desktop Services (RDS) on your Windows Server 2019 is the key to achieving this. RDS allows users to connect to remote desktop sessions, providing a virtual desktop environment that can be accessed from any device.

Enabling RDS on Windows Server 2019 might seem like a complex task, but it doesn’t have to be. In this blog post, we will explore the challenge of enabling RDS and provide you with detailed instructions on how to do it using different methods. We will also discuss some alternative solutions and share bonus tips to optimize your experience. Let’s dive in!

The Challenge of Enabling Remote Desktop Services

Enabling Remote Desktop Services on Windows Server 2019 can present some challenges, especially for those who are not familiar with the process. Here are a few points to consider:

  • Complex Configuration: The configuration process for enabling RDS involves several steps and settings that need to be properly configured to ensure secure remote access.
  • Network Considerations: Remote access requires proper network configuration to establish a secure connection. Firewall settings, port forwarding, and network infrastructure need to be configured correctly.
  • Security Concerns: Enabling RDS opens a potential entry point for unauthorized access if not properly secured. Security measures such as strong passwords, two-factor authentication, and limiting access to authorized users are crucial.

Now that we understand the challenges, let’s explore different methods to enable Remote Desktop Services on Windows Server 2019.

Video Tutorial:

Method 1: How to Enable Remote Desktop Services using Server Manager

Enabling Remote Desktop Services using Server Manager is a straightforward method that allows you to quickly configure and enable RDS on your Windows Server 2019. Follow these steps:

Pros:
1. Easy and intuitive process.
2. Allows for granular control over session settings.
3. Provides a user-friendly interface for managing RDS.

Cons:
1. Requires administrative access to the Windows Server.
2. Limited customization options compared to other methods.

Step 1: Access Server Manager

1. Log in to the Windows Server 2019 using an administrative account.
2. Launch Server Manager by clicking on the "Windows" icon in the taskbar and searching for "Server Manager."

Step 2: Add Roles and Features

1. In Server Manager, click on "Manage" in the top-right corner and select "Add Roles and Features."
2. Follow the wizard and select "Role-based or feature-based installation" when prompted.
3. Select the local server from the server pool and click "Next."

Step 3: Select Remote Desktop Services

1. In the "Server Roles" section of the wizard, scroll down and expand "Remote Desktop Services."
2. Check the box next to "Remote Desktop Session Host" and click "Next."
3. Review the information provided on the "Features" page and click "Next."

Step 4: Configure Session Collections

1. On the "Role Services" page, leave the default selection of "Automatically restart the destination server if required."
2. Click "Next" and review the confirmation page.
3. Click "Install" to start the installation process.
4. Once the installation is complete, click "Close" to exit the wizard.

Step 5: Configure Licensing

1. After the installation, Server Manager will display a warning sign next to "Remote Desktop Services" in the left-hand menu.
2. Click on "Configure Remote Desktop Licensing" in the "Overview" section.
3. Follow the wizard to select the appropriate licensing mode and add the licensing server if necessary.
4. Complete the configuration process by selecting the licensing mode and adding the licensing server.

Congratulations! You have successfully enabled Remote Desktop Services using Server Manager.

Method 2: How to Enable Remote Desktop Services using PowerShell

Using PowerShell to enable Remote Desktop Services provides a scriptable and automated approach. This method allows you to perform the configuration steps using PowerShell commands, ideal for administrators who prefer command-line interfaces.

Pros:
1. Scriptable and automated process.
2. Provides advanced customization options.
3. Saves time for repetitive tasks.

Cons:
1. Requires knowledge of PowerShell commands.
2. May not be suitable for users unfamiliar with command-line interfaces.

Step 1: Open PowerShell

1. Log in to the Windows Server 2019 using an administrative account.
2. Launch PowerShell by clicking on the "Windows" icon in the taskbar and searching for "PowerShell."

Step 2: Install Remote Desktop Session Host

1. Run the following command to install the Remote Desktop Session Host role:
"`
Install-WindowsFeature -Name RDS-RD-Server -IncludeAllSubFeature -Restart
"`
2. Wait for the installation to complete and for the server to restart.

Step 3: Configure Remote Desktop Licensing

1. Run the following command to configure Remote Desktop Licensing:
"`
Set-RDLicenseConfiguration -LicenseServer -Mode -ConnectionBroker
"`
Replace `` with the name or IP address of the license server and `` with the preferred licensing mode.
Replace `` with the name or IP address of the connection broker server.

Congratulations! You have successfully enabled Remote Desktop Services using PowerShell.

Method 3: How to Enable Remote Desktop Services using Group Policy

Using Group Policy to enable Remote Desktop Services allows you to centrally manage and enforce RDS settings across multiple servers. This method is ideal for large-scale deployments where consistent configuration is essential.

Pros:
1. Centralized management of RDS settings.
2. Enforces consistent configuration across multiple servers.
3. Provides granular control over RDS via Group Policy settings.

Cons:
1. Requires Active Directory Domain Services.
2. Requires knowledge of Group Policy and Active Directory administration.

Step 1: Open Group Policy Management

1. Log in to a domain controller or a machine with the Group Policy Management Console installed.
2. Launch Group Policy Management from the Start Menu or by typing "gpmc.msc" in the Run dialog.

Step 2: Create or Edit Group Policy Object

1. Expand the forest and domain in the left-hand pane of Group Policy Management.
2. Right-click on the desired organizational unit (OU) or domain and select "Create a GPO in this domain and Link it here" or "Edit" if the GPO already exists.

Step 3: Configure Remote Desktop Services Policies

1. In the Group Policy Management Editor, navigate to "Computer Configuration" > "Policies" > "Administrative Templates."
2. Expand "Windows Components" and select "Remote Desktop Services."
3. Configure the desired policies, such as "Allow users to connect remotely using Remote Desktop Services," "Set rules for remote control of Remote Desktop Services sessions," and more.
4. Apply the changes and close the Group Policy Management Editor.

Congratulations! You have successfully enabled Remote Desktop Services using Group Policy.

Method 4: How to Enable Remote Desktop Services using RD-Licensing PowerShell Module

Using the RD-Licensing PowerShell module offers an alternative method for managing and configuring Remote Desktop Services licensing on your Windows Server 2019. This method provides more control over licensing settings and helps streamline the management process.

Pros:
1. Flexible and powerful licensing management.
2. Allows for easy tracking and reporting of licenses.
3. Provides advanced customization options.

Cons:
1. Requires knowledge of PowerShell commands.
2. May not be suitable for users unfamiliar with command-line interfaces.

Step 1: Open PowerShell

1. Log in to the Windows Server 2019 using an administrative account.
2. Launch PowerShell by clicking on the "Windows" icon in the taskbar and searching for "PowerShell."

Step 2: Install RD-Licensing PowerShell Module

1. Run the following command to install the RD-Licensing PowerShell module:
"`
Install-WindowsFeature -Name Remote-Desktop-Services-RD-Licensing -IncludeAllSubFeature -Restart
"`
2. Wait for the installation to complete and for the server to restart.

Step 3: Configure RD-Licensing

1. Run the following command to configure the RD-Licensing mode:
"`
Set-RDLicenseConfiguration -LicenseServer -Mode
"`
Replace `` with the name or IP address of the license server and `` with the preferred licensing mode.

Congratulations! You have successfully enabled Remote Desktop Services using the RD-Licensing PowerShell module.

Alternatives: What to Do If You Can’t Enable Remote Desktop Services

While enabling Remote Desktop Services on Windows Server 2019 is the preferred method for remote access, there are alternatives available if you encounter difficulties or limitations. Here are a few alternative solutions:

Q1: Use Third-Party Remote Access Tools

A: If enabling Remote Desktop Services is not feasible, you can explore third-party remote access tools such as TeamViewer, AnyDesk, or LogMeIn. These tools provide similar functionality and allow remote access to computers and servers.

Q2: Utilize Virtual Private Networks (VPNs)

A: Setting up a Virtual Private Network (VPN) can provide secure remote access to your network resources without enabling Remote Desktop Services. With a VPN connection, you can access your on-premises servers and resources as if you were physically present in the network.

Q3: Consider Cloud-Based Solutions

A: If managing your own servers and configuring Remote Desktop Services is not ideal, you can explore cloud-based solutions such as Microsoft Azure Virtual Desktop or Amazon WorkSpaces. These services provide virtual desktop infrastructure in the cloud, eliminating the need for on-premises server management.

Bonus Tips

Here are a few bonus tips to enhance your Remote Desktop Services experience:

1. Use Network Level Authentication (NLA): Enable NLA for better security by verifying the user’s credentials before establishing a remote session.

2. Optimize Network Bandwidth: Adjust the display and connection settings in the remote desktop client to optimize network bandwidth usage. Lowering the color depth and disabling unnecessary features can improve performance.

3. Implement Remote Desktop Gateway: Set up a Remote Desktop Gateway for secure connections over the internet. RD Gateway acts as a middleman between the client and the remote desktop session host, providing an extra layer of security.

5 FAQs about Enabling Remote Desktop Services on Windows Server 2019

Q1: Can I enable Remote Desktop Services on Windows Server 2019 without internet access?

A: Yes, you can enable Remote Desktop Services on Windows Server 2019 without internet access. However, internet access might be required for certain features, such as licensing activation.

Q2: Can I modify the default Remote Desktop port on Windows Server 2019?

A: Yes, you can modify the default Remote Desktop port on Windows Server 2019. It can be changed using the Registry Editor in the following registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.

Q3: Can I use Remote Desktop Services on Windows Server 2019 for multiple concurrent users?

A: Yes, Remote Desktop Services on Windows Server 2019 supports multiple concurrent users. Depending on the licensing mode and CALs installed, you can have multiple users accessing the server simultaneously.

Q4: Are there any limitations on the number of Remote Desktop Services connections in Windows Server 2019?

A: The number of Remote Desktop Services connections in Windows Server 2019 depends on the licensing mode and the number of Client Access Licenses (CALs) installed. Make sure to review the licensing terms and consult Microsoft’s documentation for more information.

Q5: Can I enable Remote Desktop Services on Windows Server 2019 Core?

A: Yes, you can enable Remote Desktop Services on Windows Server 2019 Core. You can use PowerShell or Server Manager remotely to configure and manage RDS settings on a Windows Server 2019 Core installation.

In Conclusion

Enabling Remote Desktop Services on Windows Server 2019 is an essential task for achieving remote access to computers and servers. While the process may seem daunting, the methods described in this blog post provide clear instructions to enable RDS using Server Manager, PowerShell, Group Policy, and the RD-Licensing PowerShell module.

Whether you choose to enable RDS using a graphical interface or prefer a command-line approach, always ensure that you follow best practices for security and network configuration. Additionally, consider alternative solutions such as third-party remote access tools, VPNs, or cloud-based services if enabling Remote Desktop Services is not an option.

With the proper configuration and security measures in place, Remote Desktop Services on Windows Server 2019 can greatly enhance productivity and enable seamless remote access for both individuals and organizations.