Skip to content

Instantly share code, notes, and snippets.

@MartinMiles
Last active January 9, 2024 04:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinMiles/da8e2430a0a37adeb1b6afaf9e1c3e87 to your computer and use it in GitHub Desktop.
Save MartinMiles/da8e2430a0a37adeb1b6afaf9e1c3e87 to your computer and use it in GitHub Desktop.
Disables TLS 1.3 over TCP for the local IIS
New-Item `
'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server' `
-Force | Out-Null
New-ItemProperty `
-path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server' `
-name 'Enabled' -value '0' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty `
-path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server' `
-name 'DisabledByDefault' -value 1 -PropertyType 'DWord' -Force | Out-Null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment