$path1 = 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v2.0.50727'
$path2 = 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319'
#New-item -Path $path1 #Uncomment this line if you need to add the folder
New-ItemProperty -Path $path1 -Name 'SystemDefaultTlsVersions' -Value 1 -PropertyType DWord
New-ItemProperty -Path $path1 -Name 'SchUseStrongCrypto' -Value 1 -PropertyType DWord
#New-item -Path $path2 #Uncomment this line if you need to add the folder
New-ItemProperty -Path $path2 -Name 'SystemDefaultTlsVersions' -Value 1 -PropertyType DWord
New-ItemProperty -Path $path2 -Name 'SchUseStrongCrypto' -Value 1 -PropertyType DWord
Like this:
Like Loading...
Related