Use this when enabling Remote Desktop on a machine.
Remote Desktop
Remote Desktop lets users log on to a Windows computer's desktop over the network. Enable it in Settings or with Set-ItemProperty fDenyTSConnections 0, and allow users through Remote Desktop Users.
1. RDP enabled (fDenyTSConnections=0).
2. User in Remote Desktop Users (or admin).
3. NLA required.
4. Firewall rule Remote Desktop enabled.
5. Test with mstsc.
3389 → TLS/NLA → credentials → session host
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- RDP open to the internet.
- NLA disabled.
Step 2 Where it fails Narrow the fault
Failure analysis for Remote Access → Remote Desktop follows the Windows chain of components: host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Enable it in Settings or set fDenyTSConnections to 0.
- A firewall rule must allow it.
- Only allowed users can connect.
Test-NetConnection <host> -Port 3389— RDP portGet-ItemProperty 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -Name fDenyTSConnections— RDP enabled (0)Test-WSMan <host>— WinRMGet-Service sshd— OpenSSH server
ReferenceWhy it matters1 section · depth on demand
Commands
Set-ItemProperty 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -Name fDenyTSConnections -Value 0
Enable-NetFirewallRule -DisplayGroup 'Remote Desktop'
mstsc /v:srv01 /admin
qwinsta /server:srv01 ; logoff <id> /server:srv01
Documented example, not captured output.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Enabling Remote Desktop:
Set-ItemProperty 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -Name fDenyTSConnections -Value 0
Enable-NetFirewallRule -DisplayGroup 'Remote Desktop'
Set-ItemProperty 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name UserAuthentication -Value 1 # require NLA
Add-LocalGroupMember 'Remote Desktop Users' -Member 'CORP\Helpdesk'
Servers allow two concurrent admin sessions without RDS licensing; more users need the Remote Desktop Session Host role with RDS CALs.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Remote Access → Remote Desktop. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/ · confidence 94%