Skip to content

Instantly share code, notes, and snippets.

@harishrathi
Last active September 26, 2018 05:56
Show Gist options
  • Select an option

  • Save harishrathi/f3e577ea9d5445849ad9b437f665d697 to your computer and use it in GitHub Desktop.

Select an option

Save harishrathi/f3e577ea9d5445849ad9b437f665d697 to your computer and use it in GitHub Desktop.

Revisions

  1. harishrathi renamed this gist Sep 26, 2018. 1 changed file with 0 additions and 0 deletions.
  2. harishrathi created this gist Sep 26, 2018.
    5 changes: 5 additions & 0 deletions enable-sch-strong-crypto.cmd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # 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