Windows Server RDP TLS 1.3 Hardening & Schannel Guide

Configure Windows Server RDP TLS 1.3 hardening with Schannel protocol keys, NLA, SecurityLayer=2, and AEAD cipher suites without breaking remote sessions.

Windows Server RDP TLS 1.3 Hardening & Schannel Guide
Windows Server Security Runbook

To apply Windows Server RDP TLS 1.3 hardening safely: Keep both TLS 1.3 and TLS 1.2 enabled under HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols while disabling SSL 2.0, SSL 3.0, TLS 1.0, and TLS 1.1.[1][2] Enforce Network Level Authentication (UserAuthentication = 1), require SSL/TLS via SetSecurityLayer(2), and remove weak cipher suites with Disable-TlsCipherSuite.[5][6]

Use this production runbook to harden Remote Desktop Services (RDS) transport encryption on Windows Server 2022 and Windows Server 2025 without triggering AcquireCredentialsHandle lockouts or cipher negotiation failures.[2]

How Windows Server RDP TLS 1.3 Hardening Works With Schannel

The Microsoft Schannel Security Support Provider (SSP) supports and enables TLS 1.3 natively for both client and server roles starting in Windows Server 2022, Windows Server 2025, and Windows 11.[1] Earlier builds such as Windows Server 2019 and Windows 10 do not support TLS 1.3, and Microsoft warns that attempting to enable TLS 1.3 on unsupported releases is not a safe system configuration.[1]

When hardening Remote Desktop on a live host, administrators often assume disabling TLS 1.2 forces every service onto TLS 1.3 cleanly. Microsoft explicitly cautions in its TLS registry reference that switching a protocol version to Disabled can cause AcquireCredentialsHandle calls to fail when an SSPI caller does not share any enabled protocol version with system-wide policy, breaking interoperability with remote peers.[2]

At the API layer, Microsoft deprecated the legacy SCHANNEL_CRED structure in favor of the crypto-agile SCH_CREDENTIALS structure.[7] Because SCHANNEL_CRED was built around legacy protocol bitmasks while SCH_CREDENTIALS handles modern TLS 1.3 negotiation, keeping TLS 1.2 enabled alongside TLS 1.3 ensures every RDP, CredSSP, and management client retains a valid handshake path.[2][7]


Schannel Protocol and RDP Security Layer Matrix

Layer / Control Registry, WMI, or Policy Target Recommended Hardened Value Operational Effect & Notes
Legacy Protocols (SSL 2.0–TLS 1.1) SCHANNEL\Protocols\<Ver>\<Client|Server> (Enabled)[2] 0 (REG_DWORD) Blocks deprecated protocols across inbound and outbound Schannel calls[2]
Modern Protocols (TLS 1.2 & TLS 1.3) SCHANNEL\Protocols\TLS 1.2 and TLS 1.3 (Enabled)[1][2] 1 (REG_DWORD) Preserves TLS 1.3 preference while preventing AcquireCredentialsHandle failures[2][3]
RDP Security Layer Win32_TSGeneralSetting SetSecurityLayer(2)[6] 2 (SSL / TLS) Requires TLS server authentication and encryption; rejects legacy native RDP encryption[6]
Network Level Authentication (NLA) SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\UserAuthentication[6] 1 (Enabled) Forces CredSSP user authentication before allocating a remote desktop session[6]
RDP Minimum Encryption Level Win32_TSGeneralSetting MinEncryptionLevel[6] 3 (High, 128-bit) or 4 (FIPS) Prevents downgrade below 128-bit; SecurityLayer = 2 rejects MinEncryptionLevel = 1[6]
Schannel Diagnostics SCHANNEL\EventLogging[2] 1 (Errors) or 3 (Errors + Warnings) Logs Schannel handshake and credential failures to the System event log (reboot required)[2]

Step-by-Step Windows Server RDP TLS 1.3 Hardening Configuration

Before tightening transport policies on production trading terminals, ERP nodes, or administrative jump hosts hosted on Nextgen Hosting Dedicated Servers or low-latency Pakistan Dedicated Servers, keep an out-of-band console (IPMI/KVM or hypervisor VNC) accessible in case your client lacks matching cipher suites.[2][4]

1. Disable Deprecated SSL/TLS Versions and Confirm TLS 1.2 + 1.3

Under HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols, create separate Client and Server subkeys for each protocol version you want to override explicitly.[2] Setting Enabled to 0 blocks SSL 2.0, SSL 3.0, TLS 1.0, and TLS 1.1, while setting Enabled to 1 keeps both TLS 1.2 and TLS 1.3 active:[1][2]

$basePath = "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols"

# Disable legacy SSL and TLS protocols on both Client and Server roles
foreach ($proto in @("SSL 2.0", "SSL 3.0", "TLS 1.0", "TLS 1.1")) {
    foreach ($role in @("Client", "Server")) {
        $keyPath = Join-Path $basePath "$proto\$role"
        New-Item -Path $keyPath -Force | Out-Null
        Set-ItemProperty -Path $keyPath -Name "Enabled" -Type DWord -Value 0
    }
}

# Explicitly keep TLS 1.2 and TLS 1.3 enabled (supported on Windows Server 2022/2025)
foreach ($proto in @("TLS 1.2", "TLS 1.3")) {
    foreach ($role in @("Client", "Server")) {
        $keyPath = Join-Path $basePath "$proto\$role"
        New-Item -Path $keyPath -Force | Out-Null
        Set-ItemProperty -Path $keyPath -Name "Enabled" -Type DWord -Value 1
    }
}

Common Pitfall: Disabling TLS 1.2 Globally on RDP Hosts
Microsoft explicitly warns that disabling a protocol version under Schannel can cause AcquireCredentialsHandle calls to fail whenever an SSPI caller requests a protocol outside the remaining enabled set.[2] Always leave TLS 1.2 enabled alongside TLS 1.3 unless you have verified every local SSPI service and remote client uses SCH_CREDENTIALS.[2][7]

2. Enforce RDP SSL/TLS Security Layer and Network Level Authentication

Once Schannel protocols are locked down, configure the RDP-Tcp listener so clients cannot fall back to legacy native RDP encryption.[6] In the Root\CIMv2\TerminalServices WMI namespace, Win32_TSGeneralSetting exposes SetSecurityLayer (2 = SSL/TLS) and MinEncryptionLevel (3 = High 128-bit encryption), while the ADMX_TerminalServer policy UserAuthentication enforces NLA:[6]

# Inspect current RDP-Tcp security settings
$ts = Get-CimInstance -Namespace "root\cimv2\terminalservices" -ClassName "Win32_TSGeneralSetting" -Filter "TerminalName='RDP-Tcp'"
$ts | Select-Object TerminalName, SecurityLayer, MinEncryptionLevel, UserAuthenticationRequired, SSLCertificateSHA1Hash

# Require SSL/TLS (SecurityLayer = 2) on RDP-Tcp
Invoke-CimMethod -InputObject $ts -MethodName "SetSecurityLayer" -Arguments @{ SecurityLayer = 2 }

# Enforce Network Level Authentication via Terminal Services policy
$tsPolicy = "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services"
New-Item -Path $tsPolicy -Force | Out-Null
Set-ItemProperty -Path $tsPolicy -Name "UserAuthentication" -Type DWord -Value 1

If SetSecurityLayer(2) fails with an error, verify that MinEncryptionLevel is not set to 1 (Low), because Microsoft documents that SecurityLayer = 2 is invalid when the current encryption level is 1 and requires a valid SSL-compatible certificate bound to SSLCertificateSHA1Hash.[6]

3. Audit and Prune Schannel Cipher Suites With TLS PowerShell Cmdlets

On Windows Server 2022 and Windows Server 2025, Schannel defaults prioritize the TLS 1.3 AEAD suites TLS_AES_256_GCM_SHA384 and TLS_AES_128_GCM_SHA256, followed by TLS 1.2 ECDHE-ECDSA and ECDHE-RSA GCM suites.[3] While Windows Server 2022 23H2 and later already disable TLS_RSA_WITH_3DES_EDE_CBC_SHA and TLS_DHE_RSA_WITH_AES_*_GCM_* by default, earlier Server 2022 builds may still expose 3DES or weak CBC suites unless pruned.[3]

Microsoft recommends managing cipher suite priority via Group Policy (SSL Cipher Suite Order), MDM, or the TLS PowerShell module rather than editing registry priority keys directly, because servicing updates can reset unsupported registry overrides.[4] Audit your active list and remove weak suites cleanly:[5]

# List all active TLS cipher suites in priority order (note: -Name filter is case-sensitive)
Get-TlsCipherSuite | Select-Object Name, Protocols, Cipher, CipherLength

# Verify TLS 1.3 suites are active at the top of the priority list
Get-TlsCipherSuite -Name "TLS_AES" | Select-Object Name, Protocols

# Remove weak 3DES or non-forward-secret RSA CBC suites if present
foreach ($weakSuite in @(
    "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
    "TLS_RSA_WITH_AES_256_CBC_SHA256",
    "TLS_RSA_WITH_AES_128_CBC_SHA256",
    "TLS_RSA_WITH_AES_256_CBC_SHA",
    "TLS_RSA_WITH_AES_128_CBC_SHA"
)) {
    if (Get-TlsCipherSuite -Name $weakSuite) {
        Disable-TlsCipherSuite -Name $weakSuite
    }
}

If you deploy cipher lists fleet-wide using Group Policy (Computer Configuration > Administrative Templates > Network > SSL Configuration Settings > SSL Cipher Suite Order), remember that every cipher suite string must end with a comma on the right side, the total policy string cannot exceed 1,023 characters, and any suite omitted from the custom list will not be used by Schannel.[3][4]

Pro Tip: Enable Schannel Error & Warning Telemetry Before Rebooting
If you suspect legacy RDP clients or third-party monitoring agents will fail negotiation after hardening, inspect EventLogging under HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL.[2] Setting EventLogging to 3 (Error and Warning events) or 1 (Error events) surfaces handshake mismatches in Windows Event Viewer after a reboot.[2]


Step-by-Step Action Plan: Verifying Hardened RDP Transport

Execute this validation checklist from an elevated PowerShell console before closing your out-of-band session:

  1. Confirm OS TLS 1.3 eligibility: Verify the host runs Windows Server 2022 or Windows Server 2025, as earlier server builds do not support TLS 1.3 in Schannel.[1]
  2. Audit SCHANNEL\Protocols subkeys: Confirm Enabled is 0 for SSL 2.0, SSL 3.0, TLS 1.0, and TLS 1.1, and 1 for both TLS 1.2 and TLS 1.3 across Client and Server.[2]
  3. Verify Win32_TSGeneralSetting state: Confirm SecurityLayer equals 2, MinEncryptionLevel is 3 or 4, and UserAuthentication policy equals 1.[6]
  4. Confirm active AEAD cipher order: Run Get-TlsCipherSuite and verify TLS_AES_256_GCM_SHA384 and TLS_AES_128_GCM_SHA256 lead the list with 3DES and RC4 absent.[3][5]
  5. Reboot to refresh cached credential handles: Restart Windows Server (Restart-Computer -Force) so TermService and Schannel reacquire fresh credential handles and apply any Group Policy cipher list changes.[2][4]
  6. Test login and inspect System logs: Reconnect via mstsc.exe from an updated Windows client and check Get-WinEvent -LogName System -FilterXPath "*[System[Provider[@Name='Schannel']]]" for zero fatal negotiation errors.[2]

Frequently Asked Questions: Windows Server RDP TLS 1.3 Hardening

Does Windows Server 2022 and 2025 support TLS 1.3 for RDP?

Yes. Microsoft Schannel SSP natively enables TLS 1.3 for both client and server roles starting with Windows Server 2022, Windows Server 2025, and Windows 11.[1] Earlier releases such as Windows Server 2019 and Windows 10 do not support TLS 1.3.[1]

Why does disabling TLS 1.2 in Schannel break RDP connections?

Microsoft documents that disabling a TLS protocol version in Schannel can cause AcquireCredentialsHandle calls to fail if an SSPI caller requests or restricts itself to a protocol version no longer enabled system-wide.[2] Keeping both TLS 1.2 and TLS 1.3 enabled preserves compatibility for components or remote peers not yet using SCH_CREDENTIALS with TLS 1.3.[2][7]

How do I enforce NLA and SSL/TLS security layer for RDP via PowerShell?

Query Win32_TSGeneralSetting in the root\cimv2\terminalservices namespace for TerminalName='RDP-Tcp' and invoke SetSecurityLayer with SecurityLayer = 2.[6] Enforce Network Level Authentication by setting UserAuthentication (REG_DWORD) to 1 under HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services.[6]

Which Schannel cipher suites should stay enabled for TLS 1.3 and TLS 1.2 RDP?

Keep the default TLS 1.3 suites (TLS_AES_256_GCM_SHA384 and TLS_AES_128_GCM_SHA256) alongside TLS 1.2 ECDHE AEAD suites (TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, and TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256).[3] Disable legacy 3DES and non-forward-secret RSA CBC suites using Disable-TlsCipherSuite.[3][5]

Do TLS cipher suite and Schannel registry changes require a Windows Server reboot?

CNG cmdlets like Enable-TlsCipherSuite and Disable-TlsCipherSuite apply without a restart, whereas Group Policy SSL Cipher Suite Order updates and SCHANNEL\EventLogging changes take effect on the next boot.[2][4][5] Because services cache AcquireCredentialsHandle handles, rebooting after SCHANNEL\Protocols edits guarantees every service picks up the hardened policy.[2]


Deploy Hardened Windows Server Infrastructure Without Shared Hypervisor Risks

Run TLS 1.3-hardened Windows Server 2022 and 2025 RDP workloads on dedicated NVMe compute, isolated network VLANs, and out-of-band IPMI access with Nextgen Hosting.

Explore Global Dedicated Servers Explore Pakistan Dedicated Servers

Disclaimer: This post is for informational and educational purposes only, accurate to the best of our knowledge at publication. It does not constitute advice. We do not guarantee accuracy or completeness and accept no liability for any decisions or losses resulting from reliance on this content.

Sources & Official References
  1. Microsoft Corporation. "Protocols in TLS/SSL (Schannel SSP)." Microsoft Learn. Available at: https://learn.microsoft.com/en-us/windows/win32/secauthn/protocols-in-tls-ssl--schannel-ssp-
  2. Microsoft Corporation. "Transport Layer Security (TLS) registry settings." Microsoft Learn. Available at: https://learn.microsoft.com/en-us/windows-server/security/tls/tls-registry-settings
  3. Microsoft Corporation. "TLS Cipher Suites in Windows Server 2025 and later." Microsoft Learn. Available at: https://learn.microsoft.com/en-us/windows/win32/secauthn/tls-cipher-suites-in-windows-server-2025
  4. Microsoft Corporation. "Manage Transport Layer Security (TLS)." Microsoft Learn. Available at: https://learn.microsoft.com/en-us/windows-server/security/tls/manage-tls
  5. Microsoft Corporation. "TLS Module (Get-TlsCipherSuite, Enable-TlsCipherSuite, Disable-TlsCipherSuite)." Microsoft Learn. Available at: https://learn.microsoft.com/en-us/powershell/module/tls/enable-tlsciphersuite
  6. Microsoft Corporation. "Win32_TSGeneralSetting class & SetSecurityLayer method (Root\CIMv2\TerminalServices)." Microsoft Learn. Available at: https://learn.microsoft.com/en-us/windows/win32/termserv/win32-tsgeneralsetting
  7. Microsoft Corporation. "SCH_CREDENTIALS structure (schannel.h)." Microsoft Learn. Available at: https://learn.microsoft.com/en-us/windows/win32/api/schannel/ns-schannel-sch_credentials

Disclaimer: This post is for informational and educational purposes only, accurate to the best of our knowledge at publication. It does not constitute advice. We do not guarantee accuracy or completeness and accept no liability for any decisions or losses resulting from reliance on this content.