PowerShell Commands to Check and Enable TLS1.2 configuration for Windows Computer
PowerShell commands to Check TLS 1.2 status of Windows 11 computer
- x64
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319' -Name 'SchUseStrongCrypto'
- x86
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -Name 'SchUseStrongCrypto'
If the returned value is “1”, then the key exists and has a value of “1” being it’s enabled.
Enable TLS 1.2 using PowerShell commands. You may need to run PowerShell as an Administrator.
- x64
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Type DWord -Value '1'
- x86
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Type DWord -Value '1'
Reference: Check-or-Enable-TLS-1.2-with-PowerShell
Comments
Post a Comment