Windows 11 · Lesson 11

Remote Access & RDP

Secure Remote Desktop by understanding the full dependency chain: users, rights, services, firewall, network scope, and authentication all have to align.

The goal is not simply “RDP on” or “RDP off.” The goal is to preserve only the remote access the scenario actually requires, for only the users and networks that need it.

Lesson Snapshot

RDP dependencies8
Security controls6
Main principleRequired-only access
GoalSecure remote administration

Learning objectives

What this lesson should help you do

01

Explain how Remote Desktop depends on users, group membership, user rights, firewall rules, services, and network reachability.

02

Review whether RDP is required before enabling, disabling, or narrowing access.

03

Distinguish secure remote administration from unnecessary remote exposure.

04

Recognize how Network Level Authentication, allowed users, firewall scope, and service state affect RDP security.

05

Use Windows Settings, System Properties, Local Security Policy, Services, Firewall, and PowerShell to inspect RDP safely.

06

Verify both authorized remote access and reduced exposure after changes.

Core concept

RDP is a chain, not one setting

A user can be authorized but still fail because of user rights, firewall scope, service state, or network path. Likewise, an enabled service is not secure if access is broader than required.

Remote-access warning

A required service can still be overexposed

RDP may be necessary while the users, profiles, or remote-address scope are too broad.

Preserve required access, then narrow who can use it and where connections can come from.

RDP dependency chain

Eight things that have to align

Remote Desktop setting

Windows must permit Remote Desktop connections before a user can connect.

Authorized user

The connecting account must be allowed to use RDP and must not be blocked by account state or policy.

Group membership

Administrators and Remote Desktop Users can affect who is allowed to connect, depending on the policy configuration.

User Rights Assignment

The right to log on through Remote Desktop Services can grant or restrict access regardless of other settings.

Firewall

Inbound firewall rules must allow the required RDP traffic on the active profile and appropriate remote scope.

Remote Desktop Services

Required Windows services must be available for remote sessions to function.

Network reachability

The client must be able to reach the Windows host across the intended network path.

Credential security

Strong passwords, account lockout, least privilege, and secure authentication all matter because RDP exposes a remote sign-in path.

Security controls

Keep remote administration narrow and intentional

Network Level Authentication

NLA requires authentication before a full remote desktop session is created, reducing unnecessary exposure to unauthenticated sessions.

Least-privilege users

Only users who need remote access should be allowed to connect.

Restricted firewall scope

If the scenario supports it, limit RDP firewall access to the network or remote addresses that actually need it.

Strong account policy

Remote access is only as strong as the accounts exposed through it. Password and lockout policy matter.

Minimal administrative privilege

A user who needs RDP does not automatically need to be a local administrator.

Logging and review

Sign-in events, failed attempts, and remote-session evidence can help with troubleshooting and forensics.

Windows tools

Inspect Remote Desktop from every relevant layer

Windows Settings

Settings → System → Remote Desktop

Shows whether Remote Desktop is enabled and provides access to related configuration.

System Properties

sysdm.cpl

Provides classic Remote settings and access to Remote Desktop user selection on supported editions.

Local Security Policy

secpol.msc

Review 'Allow log on through Remote Desktop Services' and relevant deny rights.

Services

services.msc

Review Remote Desktop Services and related service state without changing anything blindly.

Firewall with Advanced Security

wf.msc

Review the Remote Desktop inbound rules, active profile, enabled state, and remote address scope.

PowerShell inspection

Query RDP state without changing it

Check whether Remote Desktop is allowed

Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server" -Name fDenyTSConnections

Shows whether Windows is configured to deny or allow Remote Desktop connections.

Review Remote Desktop Users

Get-LocalGroupMember -Group "Remote Desktop Users"

Shows users and groups explicitly assigned to the local Remote Desktop Users group.

Review RDP firewall rules

Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Select-Object DisplayName, Enabled, Direction, Action, Profile

Provides a quick view of Remote Desktop firewall rule state.

Review remote scope

Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Get-NetFirewallAddressFilter

Shows remote address scope for RDP rules so broad exposure can be identified.

User authorization

Confirm who is allowed to connect

01

Does the scenario require Remote Desktop at all?

02

Which exact users are authorized to connect remotely?

03

Do those users need standard-user access or administrator privilege?

04

Are they members of Remote Desktop Users, Administrators, or another authorized group?

05

Does User Rights Assignment allow them to log on through RDP?

06

Is any deny right blocking them?

07

Is the account enabled and allowed to sign in?

08

Does the account have a strong credential under the current password policy?

Firewall scope

Confirm where RDP can be reached from

01

Which firewall profile is active?

02

Are the Remote Desktop inbound rules enabled only where required?

03

Does the rule apply to Domain, Private, Public, or all profiles?

04

Is remote address scope broader than necessary?

05

Does the scenario require RDP from one subnet, one host, or a wider network?

06

Would narrowing scope still preserve required access?

07

Could another firewall rule be blocking or overriding the expected path?

Network Level Authentication

Authenticate before the full remote session

Authenticate earlier

NLA requires the user to authenticate before Windows creates the full graphical remote session.

Reduce exposed session resources

Because authentication happens earlier, fewer remote-session resources are exposed to unauthenticated clients.

Compatibility matters

Very old or unusual clients may have compatibility issues, so the scenario and environment still matter.

Not a replacement for other controls

NLA does not replace strong passwords, lockout policy, firewall scope, least privilege, or logging.

Decision cases

RDP decisions in context

RDP is required for one administrator

The scenario says Morgan must administer the image remotely. RDP is enabled and Morgan is an administrator.

The remote function is required, so disabling RDP would violate the scenario.

Response

Keep RDP available, restrict access to Morgan or the required admin group, enable secure authentication, narrow firewall scope where possible, and verify the connection.

RDP enabled but not required

Remote Desktop is enabled, but the scenario describes only local administration and no remote workflow.

An unnecessary remote sign-in path adds attack surface.

Response

Confirm there is no hidden dependency, then disable or otherwise remove the unnecessary remote exposure and verify local administration remains intact.

Authorized user cannot connect

Riley is supposed to connect through RDP, but the connection is rejected.

The failure may come from group membership, user rights, account state, firewall, service state, or network path.

Response

Troubleshoot the dependency chain rather than changing unrelated settings or granting administrator rights unnecessarily.

RDP open on Public profile

RDP rules are enabled for Public and allow any remote address, but the scenario only needs internal lab access.

The service is required, but the exposure is broader than the requirement.

Response

Keep RDP available on the needed profile and narrow remote scope to the authorized network if the environment supports it.

RDP as evidence

Remote access leaves useful traces

Successful sign-ins

Can help confirm that authorized remote access works and establish when a user connected.

Failed sign-ins

Repeated failures may indicate configuration problems, stale credentials, or potentially suspicious access attempts.

Account context

Usernames and groups help determine whether the connecting account was authorized.

Time correlation

Match RDP activity with firewall, account, event-log, and forensic timelines.

Source information

Where available, network source details can help explain which system initiated the connection.

Session state

Active, disconnected, or ended sessions can help explain current access and user activity.

Troubleshooting

When Remote Desktop does not work

Remote Desktop says access is denied

Is the user authorized? Is the account enabled? Is the user in an allowed group? Does User Rights Assignment allow RDP logon? Is a deny right overriding access?

Connection times out

Is the host reachable? Is RDP enabled? Are Remote Desktop Services running? Is the firewall rule enabled on the active profile and correct remote scope?

RDP worked before a firewall change

Was the active profile changed? Did remote address scope become too narrow? Was the Remote Desktop rule disabled or replaced?

RDP works only for administrators

Do standard users belong to Remote Desktop Users? Does policy allow that group to log on through Remote Desktop Services?

Fictional defensive lab

Keep required RDP while removing unnecessary access

Step 01

Read the fictional scenario

Morgan is the authorized administrator and must connect through RDP from the internal lab network. Avery and Riley are standard users and do not need RDP.

Step 02

Inspect RDP configuration

Remote Desktop is enabled. NLA is enabled. Morgan is in Administrators. Avery is also in Remote Desktop Users even though the scenario does not require it.

Step 03

Inspect policy and firewall

The RDP logon right includes Administrators and Remote Desktop Users. Firewall rules are enabled on Private and Public and allow any remote address.

Step 04

Design least privilege

Morgan should keep RDP access. Avery should not retain unnecessary remote access. Public-profile RDP exposure is broader than required.

Step 05

Apply controlled changes

Remove Avery from Remote Desktop Users, preserve Morgan's access, and narrow the firewall configuration to the required internal environment.

Step 06

Verify

Test that Morgan can still connect from the authorized path, Avery cannot use RDP, NLA remains enabled, and local access remains available.

RDP hardening checklist

Review every layer before leaving Remote Access

01

Confirm whether RDP is required by the scenario.

02

Identify exactly which users need remote access.

03

Remove unnecessary users from Remote Desktop Users.

04

Do not grant administrator privilege merely to make RDP work.

05

Review 'Allow log on through Remote Desktop Services.'

06

Review deny rights that may affect RDP.

07

Confirm NLA is enabled when appropriate.

08

Confirm Remote Desktop Services are available.

09

Confirm firewall rules apply only to required profiles.

10

Narrow remote address scope when supported by the scenario.

11

Review password and lockout policy for exposed accounts.

12

Check sign-in logs for relevant RDP evidence.

Common mistakes

Remote-access habits that create avoidable problems

Disabling RDP without reading the scenario

If remote administration is required, turning RDP off solves the wrong problem.

Adding users to Administrators just to make RDP work

Remote access and administrative privilege are separate decisions.

Ignoring User Rights Assignment

A correct group membership can still fail if policy does not permit remote logon.

Opening RDP to every network

A required service does not need unrestricted exposure.

Troubleshooting by disabling the firewall

That removes an important protection layer and hides the real rule or scope problem.

No end-to-end test

RDP is not verified until the authorized user connects through the intended network path.

Reflection

Test your RDP reasoning

Question 1

Why does a user not need to be an administrator just to use Remote Desktop?

Question 2

How can User Rights Assignment block a user who appears to be in the correct group?

Question 3

Why should RDP firewall scope be reviewed instead of simply enabling the default rules everywhere?

Question 4

What security benefit does Network Level Authentication provide?

Question 5

Why should failed RDP sign-ins be reviewed as evidence?

Question 6

What should be verified after narrowing RDP access?

Verification checklist

Confirm the final remote-access state

01

Confirm RDP is enabled only if required.

02

Confirm the authorized user can connect remotely.

03

Confirm unauthorized users cannot use RDP.

04

Confirm NLA is enabled when appropriate.

05

Confirm the expected Remote Desktop Services are running.

06

Confirm firewall rules are enabled only where required.

07

Confirm remote address scope matches the intended network.

08

Confirm local logon still works.

09

Confirm no required application or remote-management workflow was broken.

10

Check logs for failed or suspicious remote sign-in evidence.

11

Document all high-impact RDP changes.

Next Windows lesson

Task Scheduler & Persistence Review

Next, learn how scheduled tasks, triggers, actions, accounts, paths, and recurring execution can support legitimate automation or create suspicious persistence.

Open Lesson 12 →