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.
Where it lives
HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319HKLM\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319HKLM\SOFTWARE\Microsoft\.NETFramework\v2.0.50727HKLM\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v2.0.50727
Values
| Name | Type | Data and meaning | Default |
|---|---|---|---|
SystemDefaultTlsVersions | REG_DWORD | 0 Framework default protocol selection1 Use the OS default TLS versions | Not present: framework-specific default |
SchUseStrongCrypto | REG_DWORD | 0 Legacy behavior1 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.
| Restart | Restart the application or service. Microsoft's Entra Connect guidance says to restart the server. |
|---|---|
| Group Policy | No ADMX policy. Use Group Policy Preferences, Intune or a script. |
| Risk | Low. 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
- TLS 1.2 support for Microsoft SQL Server · checked 2026-12-05
- TLS 1.2 enforcement for Microsoft Entra Connect · checked 2026-12-05
Verified Confirmed automatically on the cited source.