Remote Desktop
Cheat sheet · https://pcornel.dk/topic.php?topic=3118
Answer
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.
Remember
- Enable it in Settings or set fDenyTSConnections to 0.
- A firewall rule must allow it.
- Only allowed users can connect.
First checks
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
Verify in this order
3389 → TLS/NLA → credentials → session host
Where it usually breaks
First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3118