perf testing to be updated regedit key
making some changes to the registry. And to accomplish that we need to add the below DWORD values in our registry:
- On the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
- Create the following DWORD (32-bit) values
- Name: DisabledByDefault
- Value Data: 0
- Name: Enabled
- Value Data: 1
- Name: DisabledByDefault
- Create the following DWORD (32-bit) values
- On the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
- Create the following DWORD (32-bit) values
- Name: DisabledByDefault
- Value Data: 0
- Name: Enabled
- Value Data: 1
- Name: DisabledByDefault
- Create the following DWORD (32-bit) values
- On the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
- Create the following DWORD (32-bit) values
- Name: SchUseStrongCrypto
- Value Data: 1
- Name: SchUseStrongCrypto
- Create the following DWORD (32-bit) values
- On the [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319]
- Create the following DWORD (32-bit) value
- Name: SchUseStrongCrypto
- Value Data: 1
Set-ItemProperty HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 -Name SchUseStrongCrypto -Value 1 -Type dword -Force -Confirm:$false
if ((Test-Path HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319)) { Set-ItemProperty HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319 -Name SchUseStrongCrypto -Value 1 -Type dword -Force -Confirm:$false}
posted on 2024-05-06 11:54 lingdanglfw 阅读(6) 评论(0) 编辑 收藏 举报