Enable Remote Desktop (Windows 10, 11, Windows Server)

Updated

enable remote desktop on windows 10, 11 and windows server

In this guide, you will learn how to enable Remote Desktop on Windows 10, 11, and Windows Server. I’ll also show you on to enable RDP using PowerShell and group policy.

Tip: Use a remote desktop connection manager to manage multiple remote desktop connections. You can organize your desktops and servers into groups for easy access.

In the diagram below, my admin workstation is PC1. I’m going to enable RDP on PC2, PC3, and Server1 so that I can remotely connect to them. RDP uses port TCP 3389. You can change the RDP listening port by modifying the registry.

enable remote desktop diagram

Enable Remote Desktop on Windows 10

In this example, I’m going to enable remote desktop on PC2 that is running windows 10.

Step 1. Enable Remote Desktop

Right click the start menu and select system.

Right click the start menu and select system

Under related settings click on Remote desktop.

Under related settings click on Remote desktop.

Click the slider button to enable remote desktop.

Click the slider button to enable remote desktop

You will get a popup to confirm that you want to enable Remote desktop. Click confirm.

confirm the popup notification

Next, Click on Advanced Settings.

click on advanced settings

Make sure “Require computers to use Network Level Authentication to connect” is selected.

select Require computers to use Network Level Authentication to connect

This setting will force the user to authenticate before it will start a remote desktop session. This setting will enable a layer of security and prevent unauthorized remote connections.

Step 2. Select Users Accounts

The next step is to ensure only specific accounts can use RDP.

By default, only members of the local administrators group will be allowed to connect using remote desktop.

To add or remove user accounts click on “select users that can remotely access this PC”.

select to add or remove a user

To add a user click the Add button and search for the username.

In this example, I’m going to add a user Adam A. Anderson.

Tip. I recommend creating a domain group to allow RDP access. This will make it easier to manage and audit RDP access.

example of adding a user for remote desktop access

That was the last step, remote desktop is now enabled.

Let’s test the connection.

From PC1 I open Remote Desktop Connection and enter PC2.

enter pc name to connect

I am prompted to enter credentials.

enter credentials to connect to remote computer

Success!

I now have a remote desktop connection to PC2.

In the screenshot below you can see I’m connected via console to PC1 and I have a remote desktop connection open to PC2.

remote desktop connection example

Enable Remote Desktop on Windows 11

In this example, I’ll enable remote desktop on my Windows 11 computer (PC3).

Step 1. Enable Remote Desktop

Click on search.

remote desktop settings windows 11

Enter “remote desktop” and click on “Remote desktop settings”

click remote desktop settings

Click the slider to enable remote desktop. You will get a popup to confirm.

Click the slider to enable remote desktop

Click the down arrow and verify “Require devices to use Network Level Authentication to connect” is enabled.

select the box to enable Require devices to use Network Level Authentication to connect

Remote Desktop is now enabled. In the next step, you will select which users are allowed to use remote desktop.

Step 2. Remote Desktop Users

By default, only members of the local administrators group can use remote desktop. To add additional users follow these steps.

Click on “Remote Desktop users”

click on remote desktop users

Click on add and search or enter a user to add. In this example, I’ll add the user adam.reed.

add or remote users for windows 11

Now I’ll test if remote desktop is working.

From my workstation PC1 I’ll create a remote desktop connection to PC3 (windows 11).

example remote desktop connect on windows 11

Enter the password to connect.

enter the password to connect

The connection is good!

You can see in the screenshot below I’m on the console of PC1 and I have a remote desktop connection to PC3 that is running Windows 11.

connection example to pc1

Enable Remote Desktop on Windows Server

In this example, I’ll enable remote desktop on Windows Server 2022.

Step 1. Enable Remote Desktop.

Right click the start menu and select System.

On the settings screen under related settings click on “Remote desktop”.

enable rdp on windows server

Click the slider button to enable remote desktop.

Click the slider button to enable remote desktop on windows server

You will get a popup to confirm that you want to enable Remote desktop. Click confirm.

confirm popup on windows server

Click on Advanced settings.

advanced remove desktop settings on windows server

Make sure “Require computers to use Network level Authentication to connect” is enabled.

require network level authentication on windows server

Remote desktop is now enabled, the next step is to select users that can remotely access the PC.

Step 2. Select User accounts

By default, only members of the local administrators group will be allowed to connect using remote desktop.

To add additional users click on click on “select users that can remotely access this pc”.

add additional rdp users on windows server

Next, click add then enter or search for users to add. In this example, I’ll add the user robert.allen. Click ok.

search for users

Now I’ll test if remote desktop is working on my Windows 2022 server.

From my workstation (pc2) I open the remote desktop connection client and enter srv-vm1and click connect. Enter my username and password and click ok.

example rdp connection on windows server

Awesome, it works!

I’ve established a remote session to my Windows 2022 server from my Windows 10 computer.

connection established

PowerShell Enable Remote Desktop

To enable Remote Desktop using PowerShell use the command below. This will enable RDP on the local computer.

Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0
enable remote desktop with powershell

You can use the below PowerShell command to check if remote desktop is enabled.


if ((Get-ItemProperty "hklm:\System\CurrentControlSet\Control\Terminal Server").fDenyTSConnections -eq 0) { write-host "RDP is Enabled" } else { write-host "RDP is NOT enabled" }
rdp is enabled screenshot

To enable remote desktop remotely you can use the invoke-command. This requires PS remoting to be enabled, check out my article on inoke-command examples for more details.

In this example, I’ll enable remote desktop on the remote computer PC2.

invoke-command -ComputerName pc2 -scriptblock {Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0}
command screenshot of enabling rdp with powershell

Group Policy Configuration to allow RDP

If you need to enable and manage the remote desktop settings on multiple computers then you should use Group Policy or intune.

Follow the steps below to create a new GPO.

Step 1. Create a new GPO

Open the group policy management console and right click the OU or root domain to create a new GPO.

In this example, I’m going to create a new GPO on my ADPPRO Computers OU, this OU has all my client computers.

gpo config for rdp

Give the GPO a name.

give gpo a name

Edit the GPO and browse to the following policy setting.

Computer Configuration -> Policies -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections;

Enable the policy setting -> Allow users to connect remotely by using Remote Desktop Services

enable the gpo policy Allow users to connect remotely by using Remote Desktop Services

That is the only policy setting that needs to be enabled to allow remote desktop

Step 2. Update Computer GPO

The GPO policies will auto refresh on remote computers every 90 minutes.

To manually update GPO on a computer run the gpupdate command.

run gpo update command

When remote desktop is managed with group policy the settings will be greyed out. This will allow you to have consistent settings across all your computers. It will also prevent users or the helpdesk from modifying the settings.

example screenshot of rdp settings disable from gpo

That’s a wrap.

I just showed you several ways to enable remote desktop on Windows computers. If you are using Active Directory with domain joined computers then enabling RDP via group policy is the best option.