Tuesday, January 7, 2025
Google search engine
HomeGuest BlogsEnable Remote Desktop Protocol (RDP) on Windows Server 2019

Enable Remote Desktop Protocol (RDP) on Windows Server 2019

.tdi_3.td-a-rec{text-align:center}.tdi_3 .td-element-style{z-index:-1}.tdi_3.td-a-rec-img{text-align:left}.tdi_3.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_3.td-a-rec-img{text-align:center}}

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.

.tdi_2.td-a-rec{text-align:center}.tdi_2 .td-element-style{z-index:-1}.tdi_2.td-a-rec-img{text-align:left}.tdi_2.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_2.td-a-rec-img{text-align:center}}

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 administration articles available include:

.tdi_4.td-a-rec{text-align:center}.tdi_4 .td-element-style{z-index:-1}.tdi_4.td-a-rec-img{text-align:left}.tdi_4.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_4.td-a-rec-img{text-align:center}}

RELATED ARTICLES

Most Popular

Recent Comments