Skip to content

Instantly share code, notes, and snippets.

@harishrathi
Last active September 26, 2018 05:56
Show Gist options
  • Save harishrathi/f3e577ea9d5445849ad9b437f665d697 to your computer and use it in GitHub Desktop.
Save harishrathi/f3e577ea9d5445849ad9b437f665d697 to your computer and use it in GitHub Desktop.
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment