Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Microsoft · .NET Framework

.NET Framework: use OS TLS defaults and strong cryptography

Makes older .NET Framework applications use the TLS versions the operating system allows (TLS 1.2 and later) instead of hard-coded older protocols.

Verified · 2026-12-05 Per machine (HKLM) Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Where it lives

  • HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319
  • HKLM\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319
  • HKLM\SOFTWARE\Microsoft\.NETFramework\v2.0.50727
  • HKLM\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v2.0.50727

Values

NameTypeData and meaningDefault
SystemDefaultTlsVersionsREG_DWORD0 Framework default protocol selection
1 Use the OS default TLS versions
Not present: framework-specific default
SchUseStrongCryptoREG_DWORD0 Legacy behavior
1 Use strong cryptography
Not present: framework-specific default

In plain English

Older .NET Framework apps, and apps compiled against old framework versions, may default to TLS 1.0. Two DWORD values fix that without recompiling:

  • SystemDefaultTlsVersions = 1: let the OS (Schannel) choose the protocol version.
  • SchUseStrongCrypto = 1: use strong cryptography and disable older protocols and weak ciphers for the app.

Set both in the 64-bit key and the WOW6432Node key so that 32-bit apps on a 64-bit OS get the same behavior. Products such as Microsoft Entra Connect and SQL Server Database Mail document these exact values.

RestartRestart the application or service. Microsoft's Entra Connect guidance says to restart the server.
Group PolicyNo ADMX policy. Use Group Policy Preferences, Intune or a script.
RiskLow. Apps that talk to servers that only support TLS 1.0 will fail; that is usually the intent.

How to configure it

Enable on a server that hosts .NET apps (64-bit and 32-bit)

PowerShell

foreach ($k in 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319','HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319') {
  New-ItemProperty -Path $k -Name SystemDefaultTlsVersions -Value 1 -PropertyType DWord -Force | Out-Null
  New-ItemProperty -Path $k -Name SchUseStrongCrypto      -Value 1 -PropertyType DWord -Force | Out-Null
}

Official sources

Verified Confirmed automatically on the cited source.

TLS, SSL and cryptographySecurity hardening