Use Powershell to enable TLS 1.2 on a window server

 $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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: