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

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here