How to Enable Remote Desktop Connection on Windows Server

Enabling RDP on Windows Server invloves multiple methods, we've covered enabling with PowerShell, CMD, Server Manager, and Windows Settings.
7 min read
Intermediate
enable Remote Desktop Services in Windows Server

To connect to a Windows Server or another Windows device remotely, Remote Desktop must be enabled on the target machine. Whether you’re using Windows Server or a Windows client version, you can use this guide to configure Remote Desktop and allow incoming RDP connections.

You can enable Remote Desktop through Windows graphical tools or by running commands with administrator privileges in PowerShell or Command Prompt (CMD).

In this tutorial, we’ll cover four methods to enable Remote Desktop in Windows Server using Server Manager, Windows Settings, PowerShell, and CMD, so you can choose the method that best suits your setup.

Warning:
If you’re using a Windows VPS, keep in mind that RDP access is enabled by default, so you can connect to your server immediately. If you disable Remote Desktop, you may lose access to your VPS unless you have an alternative way to connect to it.

Enable Remote Desktop Using Server Manager

To enable Remote Desktop in Windows Server, you don’t need to install the Remote Desktop Services (RDS) role. You only need to enable Remote Desktop Connection, configure the firewall, and ensure the appropriate user permissions.

Open Server Manager in Windows Server

To open Windows Server Manager, you can press Win button and search for server manager in the Start menu or press Ctrl + R and enter the command below to open Server Manager.

RUN
ServerManager
See outputHide output
Run tab
open server manager on windows server using run application

Enable Remote Desktop Connection Via Server Manager

In Server Manager, navigate to the Local Server section. Find Remote Desktop, which should be marked as Disabled, and click on it to open the System Properties window. Go to the Remote tab and select Allow remote connections to this computer to enable Remote Desktop.

enable remote dekstop in windows server

Note:
Windows Firewall should automatically configure the required Remote Desktop rules when you enable this option.

Enable Remote Desktop Using Windows Settings

To enable Remote Desktop on Windows 10 or 11, since they don’t have Server Manager like Windows Server, you should enable the Remote Desktop connection from Windows Settings.

If you want to use your computer for remote work by enabling Remote Desktop Connection on it, consider a Windows Client VPS for a more stable connection and an always-available Windows environment.

Open Windows Settings

First, open Windows Settings. You can do it by searching for it in the Start menu and selecting Settings, or by pressing Win + I on your keyboard.

Enable Remote Desktop Connection in Settings

In Windows Settings, navigate to System → Remote Desktop. This page contains the settings for managing incoming Remote Desktop connections.

Then enable Remote Desktop. You will be warned that enabling this allows users to access this system remotely; click Confirm to continue.

Enable Remote Desktop Connection from Windows Settings

Note:
Windows normally enables the required firewall rules automatically when you turn on Remote Desktop. However, you should verify that the rules are enabled.

Configure Remote Desktop Connection Settings

After enabling Remote Desktop, you can configure additional settings to make Remote Desktop more flexible and secure.

  • Network Level Authentication (NLA): keep this option enabled to require users to authenticate before establishing a remote desktop session.
  • Remote Desktop users: You can specify which users the RDP connection is allowed for.
  • Remote Desktop Port: Windows uses TCP port 3389 by default. You can change the RDP port to make it more secure.

If you want to change the RDP port, you can follow this guide, which can help you make your RDP connection more secure from attackers.

There are two ways to change the default RDP port: editing the Windows Registry or using PowerShell commands. This guide covers both methods.

Read the full article

Enable Remote Desktop Using PowerShell

PowerShell provides a straightforward way to enable Remote Desktop in Windows Server without navigating through graphical settings. This method makes things easier for server administrators to enable Remote Desktop by running a few commands.

First, open PowerShell as an administrator. Search for PowerShell in the Start menu and select Run as administrator. Alternatively, press Win + R, type powershell, and press Ctrl + Shift + Enter.

Enable Remote Desktop

Run the command below to allow incoming remote desktop connections:

POWERSHELL
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' -Name 'fDenyTSConnections' -Value 0

This command modifies the Windows Registry setting that controls Remote Desktop access. Setting its value to 0 allows incoming RDP connections.

Enable Remote Desktop Firewall Rules

Next, enable the Windows Firewall rules required for Remote Desktop connections:

POWERSHELL
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

This command enables the existing firewall rules associated with Remote Desktop, allowing the required RDP traffic through Windows Defender Firewall.

Verify Remote Desktop Is Enabled

Confirm that Remote Desktop is enabled by running the command below:

POWERSHELL
Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' -Name 'fDenyTSConnections'
OUTPUT
fDenyTSConnections : 0
PSPath             : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
                     Server
PSParentPath       : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
PSChildName        : Terminal Server
PSDrive            : HKLM
PSProvider         : Microsoft.PowerShell.Core\Registry

Check the returned value:

  • 0 : Remote Desktop connections are enabled
  • 1 : Remote Desktop connections are disabled.

Check the Remote Desktop Service

Finally, verify that the Remote Desktop Services component is running:

POWERSHELL
Get-Service -Name TermService
OUTPUT
Status   Name               DisplayName
------   ----               -----------
Running  TermService        Remote Desktop Services

Check the status column. It should show Running. If the service is stopped, you can start it using the command below:

POWERSHELL
Start-Service -Name TermService

Note:
These commands enable RDP on the standard port (3389). Make sure your server is reachable through any upstream firewall or network security rules as well.

Enable Remote Desktop Using Command Prompt (CMD)

You can also use Command Prompt (CMD) instead of PowerShell to enable Remote Desktop. Both methods modify the Windows Registry to allow incoming RDP connections, so you can use whichever you prefer.

Open Command Prompt (CMD) as Administrator

First, open the Start menu and search for Command Prompt. Right-click It and select Run as administrator. Or use Run again, press Win + R and type cmd then press Ctrl + Shift + Enter to run it as administrator.

Caution:
Make sure you opened CMD with administrative privileges because modifying system registry settings and firewall configurations requires admin privileges.

Enable Remote Desktop Connections using CMD

Run the following command to enable incoming Remote Desktop connections:

BASH
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

The command above modifies the Windows Registry and sets the fDenyTSConnections value to 0, allowing incoming remote desktop connections.

Enable Remote Desktop Firewall Rules with CMD

Next, run the following command to enable the built-in Windows Firewall rules for Remote Desktop. This command modifies the Windows Defender Firewall and enables the existing Remote Desktop Protocol rules.

BASH
netsh advfirewall firewall set rule group="remote desktop" new enable=yes

Verify Remote Desktop Firewall Rules

You can also check whether the Remote Desktop firewall rules are enabled by running:

BASH
netsh advfirewall firewall show rule name=all | findstr /i /C:"Remote Desktop"
OUTPUT
Rule Name:                            Remote Desktop - (TCP-WSS-In)
Grouping:                             Remote Desktop (WebSocket)
Rule Name:                            Remote Desktop - (TCP-WS-In)
Grouping:                             Remote Desktop (WebSocket)

Verify Remote Desktop Is Enabled

To confirm that Remote Desktop is enabled, run this command:

BASH
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections
OUTPUT
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
    fDenyTSConnections    REG_DWORD    0x0

Check the returned value:

  • 0x0: Remote Desktop connections are enabled.
  • 0x1: Remote Desktop connections are disabled.

Tip:
Enabling Remote Desktop on Windows Server allows up to two remote administrative sessions to run simultaneously by default. If you need to allow more simultaneous connections and support multiple users accessing your server at the same time, you’ll need to configure Remote Desktop Services (RDS).
For more details, see our guide on How to Allow Multiple Users Connection in Windows VPS?.

Summary

You can enable Remote Desktop in Windows Server using graphical tools or command line utilities, depending on your preferences and server environment. Whether you want to automate server administration tasks, you can use PowerShell and Command Prompt solutions, which we’ve discussed.

Or if you want simple graphical solutions, you can use Server Manager and Windows Settings, which provide a simple graphical interface and automatically enable the firewall rules too.

Once you’ve enabled the Remote Desktop connection, you can connect to your server using the IP address and login credentials.

If you don’t know how to connect to Windows Server using an RDP connection, you can follow this guide to learn how.

READ Connect Windows Vps

Share:

Was this article helpful?

Your feedback helps us improve our technical guides.

Related Posts

You May Also Like

Explore more tutorials, guides, or documentation, from VPSMakers.

Learn how to block IPv4 and IPv6 ping requests on Windows Server and how to allow them again using Windows Defender Firewall.
Jacob Rafet
November 11, 2026
Need Python on Windows Server 2019? Follow these steps to install Python, configure installation settings, and verify it works correctly.
Robert Smith
November 10, 2026
Port forwarding on Windows involves two steps: creating a new firewall rule for the port and configuring port forwarding using CMD.
Richard Mourar
November 9, 2026
Learn how to enable multiple simultaneous RDP connections on a Windows VPS using Group Policy, Remote Desktop Services, and RDP Wrapper.
Robert Smith
November 8, 2026