Remote Desktop setting
Windows must permit Remote Desktop connections before a user can connect.
Windows 11 · Lesson 11
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
Learning objectives
Explain how Remote Desktop depends on users, group membership, user rights, firewall rules, services, and network reachability.
Review whether RDP is required before enabling, disabling, or narrowing access.
Distinguish secure remote administration from unnecessary remote exposure.
Recognize how Network Level Authentication, allowed users, firewall scope, and service state affect RDP security.
Use Windows Settings, System Properties, Local Security Policy, Services, Firewall, and PowerShell to inspect RDP safely.
Verify both authorized remote access and reduced exposure after changes.
Core concept
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
RDP may be necessary while the users, profiles, or remote-address scope are too broad.
RDP dependency chain
Windows must permit Remote Desktop connections before a user can connect.
The connecting account must be allowed to use RDP and must not be blocked by account state or policy.
Administrators and Remote Desktop Users can affect who is allowed to connect, depending on the policy configuration.
The right to log on through Remote Desktop Services can grant or restrict access regardless of other settings.
Inbound firewall rules must allow the required RDP traffic on the active profile and appropriate remote scope.
Required Windows services must be available for remote sessions to function.
The client must be able to reach the Windows host across the intended network path.
Strong passwords, account lockout, least privilege, and secure authentication all matter because RDP exposes a remote sign-in path.
Security controls
NLA requires authentication before a full remote desktop session is created, reducing unnecessary exposure to unauthenticated sessions.
Only users who need remote access should be allowed to connect.
If the scenario supports it, limit RDP firewall access to the network or remote addresses that actually need it.
Remote access is only as strong as the accounts exposed through it. Password and lockout policy matter.
A user who needs RDP does not automatically need to be a local administrator.
Sign-in events, failed attempts, and remote-session evidence can help with troubleshooting and forensics.
Windows tools
Settings → System → Remote DesktopShows whether Remote Desktop is enabled and provides access to related configuration.
sysdm.cplProvides classic Remote settings and access to Remote Desktop user selection on supported editions.
secpol.mscReview 'Allow log on through Remote Desktop Services' and relevant deny rights.
services.mscReview Remote Desktop Services and related service state without changing anything blindly.
wf.mscReview the Remote Desktop inbound rules, active profile, enabled state, and remote address scope.
PowerShell inspection
Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server" -Name fDenyTSConnectionsShows whether Windows is configured to deny or allow Remote Desktop connections.
Get-LocalGroupMember -Group "Remote Desktop Users"Shows users and groups explicitly assigned to the local Remote Desktop Users group.
Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Select-Object DisplayName, Enabled, Direction, Action, ProfileProvides a quick view of Remote Desktop firewall rule state.
Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Get-NetFirewallAddressFilterShows remote address scope for RDP rules so broad exposure can be identified.
User authorization
Does the scenario require Remote Desktop at all?
Which exact users are authorized to connect remotely?
Do those users need standard-user access or administrator privilege?
Are they members of Remote Desktop Users, Administrators, or another authorized group?
Does User Rights Assignment allow them to log on through RDP?
Is any deny right blocking them?
Is the account enabled and allowed to sign in?
Does the account have a strong credential under the current password policy?
Firewall scope
Which firewall profile is active?
Are the Remote Desktop inbound rules enabled only where required?
Does the rule apply to Domain, Private, Public, or all profiles?
Is remote address scope broader than necessary?
Does the scenario require RDP from one subnet, one host, or a wider network?
Would narrowing scope still preserve required access?
Could another firewall rule be blocking or overriding the expected path?
Network Level Authentication
NLA requires the user to authenticate before Windows creates the full graphical remote session.
Because authentication happens earlier, fewer remote-session resources are exposed to unauthenticated clients.
Very old or unusual clients may have compatibility issues, so the scenario and environment still matter.
NLA does not replace strong passwords, lockout policy, firewall scope, least privilege, or logging.
Decision cases
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.
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.
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 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
Can help confirm that authorized remote access works and establish when a user connected.
Repeated failures may indicate configuration problems, stale credentials, or potentially suspicious access attempts.
Usernames and groups help determine whether the connecting account was authorized.
Match RDP activity with firewall, account, event-log, and forensic timelines.
Where available, network source details can help explain which system initiated the connection.
Active, disconnected, or ended sessions can help explain current access and user activity.
Troubleshooting
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?
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?
Was the active profile changed? Did remote address scope become too narrow? Was the Remote Desktop rule disabled or replaced?
Do standard users belong to Remote Desktop Users? Does policy allow that group to log on through Remote Desktop Services?
Fictional defensive lab
Step 01
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
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
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
Morgan should keep RDP access. Avery should not retain unnecessary remote access. Public-profile RDP exposure is broader than required.
Step 05
Remove Avery from Remote Desktop Users, preserve Morgan's access, and narrow the firewall configuration to the required internal environment.
Step 06
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
Confirm whether RDP is required by the scenario.
Identify exactly which users need remote access.
Remove unnecessary users from Remote Desktop Users.
Do not grant administrator privilege merely to make RDP work.
Review 'Allow log on through Remote Desktop Services.'
Review deny rights that may affect RDP.
Confirm NLA is enabled when appropriate.
Confirm Remote Desktop Services are available.
Confirm firewall rules apply only to required profiles.
Narrow remote address scope when supported by the scenario.
Review password and lockout policy for exposed accounts.
Check sign-in logs for relevant RDP evidence.
Common mistakes
If remote administration is required, turning RDP off solves the wrong problem.
Remote access and administrative privilege are separate decisions.
A correct group membership can still fail if policy does not permit remote logon.
A required service does not need unrestricted exposure.
That removes an important protection layer and hides the real rule or scope problem.
RDP is not verified until the authorized user connects through the intended network path.
Reflection
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 RDP is enabled only if required.
Confirm the authorized user can connect remotely.
Confirm unauthorized users cannot use RDP.
Confirm NLA is enabled when appropriate.
Confirm the expected Remote Desktop Services are running.
Confirm firewall rules are enabled only where required.
Confirm remote address scope matches the intended network.
Confirm local logon still works.
Confirm no required application or remote-management workflow was broken.
Check logs for failed or suspicious remote sign-in evidence.
Document all high-impact RDP changes.
Next Windows lesson
Next, learn how scheduled tasks, triggers, actions, accounts, paths, and recurring execution can support legitimate automation or create suspicious persistence.