Affected versions: Windows Server 2022

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Remote administration is blocked when clients and host disagree on NLA/CredSSP requirements.

Environment & Reproduction

Seen after hardening policy updates or mixed client patch levels.

Get-Service TermService
qwinsta
Test-NetConnection localhost -Port 3389

Root Cause Analysis

Inconsistent security policy or outdated client CredSSP behavior causes pre-auth handshake failure.

Quick Triage

Confirm TermService status and RDP listener readiness.

Get-Service TermService
Get-NetTCPConnection -LocalPort 3389
Get-WinEvent -LogName System -MaxEvents 30

Step-by-Step Diagnosis

Review NLA settings and policy-derived RDP controls.

Get-ItemProperty 'HKLM:/SYSTEM/CurrentControlSet/Control/Terminal Server/WinStations/RDP-Tcp'
gpresult /h C:/Temp/gp-rdp.html
Get-LocalGroupMember 'Remote Desktop Users'

Solution – Primary Fix

Align NLA/CredSSP policy and restart Remote Desktop Services.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Set-ItemProperty 'HKLM:/SYSTEM/CurrentControlSet/Control/Terminal Server/WinStations/RDP-Tcp' -Name UserAuthentication -Value 1
Restart-Service TermService -Force

Solution – Alternative Approaches

Temporarily relax NLA only for emergency break-glass access under controlled scope.

Set-ItemProperty 'HKLM:/SYSTEM/CurrentControlSet/Control/Terminal Server/WinStations/RDP-Tcp' -Name UserAuthentication -Value 0
Restart-Service TermService

Verification & Acceptance Criteria

RDP clients connect successfully with policy-compliant authentication settings.

Test-NetConnection localhost -Port 3389
qwinsta
Get-Service TermService

Rollback Plan

Reapply previous NLA setting if compatibility mode introduces risk.

Set-ItemProperty 'HKLM:/SYSTEM/CurrentControlSet/Control/Terminal Server/WinStations/RDP-Tcp' -Name UserAuthentication -Value 1

Prevention & Hardening

Standardize RDP client baselines and validate CredSSP policy during patch cycles.

Get-ItemProperty 'HKLM:/SYSTEM/CurrentControlSet/Control/Terminal Server/WinStations/RDP-Tcp' | Export-Csv rdp-policy.csv -NoTypeInformation
Illustrative mockup for windows-server-2022 β€” terminal_or_powershell
Diagnostics commands in PowerShell β€” Illustrative mockup β€” Progressive Robot
Illustrative mockup for windows-server-2022 β€” event_or_log_viewer
Event log verification for Windows Server 2022 β€” Illustrative mockup β€” Progressive Robot

Can coincide with firewall 3389 blocks and certificate trust failures.

Related tutorial: View the step-by-step tutorial for Windows Server 2022.

View all Windows Server 2022 tutorials on the Tutorials Hub β†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Microsoft Learn: RDP security, NLA, and CredSSP hardening guidance.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β€” we respond within one business day.