Last active
February 7, 2023 15:20
-
-
Save LukasGibb/d6a79412f4989076ab152edda7155cd2 to your computer and use it in GitHub Desktop.
Set Windows to Use Strong TLS Crypto via Powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # set strong cryptography on 64 bit .Net Framework (version 4 and above) | |
| Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | |
| # set strong cryptography on 32 bit .Net Framework (version 4 and above) | |
| Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | |
| # set strong cryptography on 64 bit .Net Framework (version 3.5) | |
| Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v2.0.50727' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | |
| # set strong cryptography on 32 bit .Net Framework (version 3.5) | |
| Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v2.0.50727' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | |
| # Copy the blank line above to ensure the last command actually runs when the script is pasted into powershell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment