How to enable Remote Desktop Protocol for Administration Purposes on Newly Created Windows 2019 Server

TL;DR Guide

  1. Start
  2. Server Manager
  3. Local Server
  4. Remote Desktop will be disabled. Enable it by clickon the ‘Disabled’.

On Windows 2022, this screen pops up:

  1. Click ‘Allow’ and decide if you want only computers with Network Level Authentication allowed to connect.
  2. Click Ok when prompted about firewall stuff. It automagically just adds the rules
  3. Done

Firewall

Open Windows Firewall with Advanced Security

netsh firewall set service type = remotedesktop mode = enable

IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at https://go.microsoft.com/fwlink/?linkid=121488 .

Ok.

Allow More Users

Once you’ve done this you probably want to enable that second user who needs to also do administration. Do this:

Start / gpedit.msc

Enable Multiple RDP Sessions

Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections. Set Restrict Remote Desktop Services user to a single Remote Desktop Services session to Disabled.

Double click Limit number of connections and set the  Maximum Connections allowed to 999999.

Please note you’ll still only have two connections and you will need proper RDS licenses to have more than 2.

Sometimes it’s also neccesary to run the command below:

gpupdate /force

Reference

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top