You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

This guide will show you how to enable Remote Desktop Protocol (RDP) service on Windows Server 2019. RDP is a proprietary protocol developed by Microsoft for connecting to another computer with a graphical interface over a network connection.

An RDP client software is used on the local computer for this remote connection. The remote server is required to run the RDP server. The default setting of RPD in Windows server 2019 is to disable external remote desktop access. But this can easily be turned on.

Enable Remote Desktop Protocol (RDP) on Windows Server 2019

RDP service can be enabled on Windows Server 2019 from the PowerShell or through the Server console interface.

Allowing Remote Desktop Service using PowerShell

Allowing Remote Desktop Service on Windows Server 2019 is faster on PowerShell that the GUI procedure. For this setting, we will use Set-ItemPropery cmdlet to change Registry flag setting.

Launch PowerShell session as Administrator.

run docker containers windows server 2019 01

Then execute the command below.

Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0

The Windows firewall doesn’t allow remote connections for RDP. We need to configure the firewall to allow for RDP remote connections.

Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

To disable RDP, run:

Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 1

Allowing Remote Desktop Service from Server Manager GUI

If you’re not more of a terminal person. you can as well enable the RDP service from the Server GUI. Open Server Manager from the Start menu.

enable rdp windows server 2019 01

Click on the “Local server” on the left section.

enable rdp windows server 2019 02

Click on the “Remote Desktop” disable button.

enable rdp windows server 2019 03

On the next properties setting window, select “Allow remote connections to this Computer

enable rdp windows server 2019 04

Agree to Remote Desktop firewall exception warning and add users to allow by clicking on “Select Users“.

enable rdp windows server 2019 05

Enter Username and click Check names. Once you confirm the username, click OK to save.

enable rdp windows server 2019 06

The selected users should be shown on the next screen.

enable rdp windows server 2019 07

You’re now ready to connect to your Windows server on port 3389 with your favorite RDP client. I use Remmina.

enable rdp windows server 2019 08

Other Windows Server 2019 articles available include:

How to run Docker Containers on Windows Server 2019

How to Install Windows Server 2019 Step by Step

You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

LEAVE A REPLY

Please enter your comment!
Please enter your name here