Skip to main content

Windows - TLS - EnableDisable

Summary

The script will be used to enable or disable any versions of TLS (v1.0, v1.1, v1.2, v1.3) simultaneously by updating the registry.

Learn more about enabling TLS 1.2

File Path: C:/ProgramData/_Automation/Script/Set-TLS/Set-TLS.ps1

File Hash:

  • SHA256: F23026F65794709EBF98E4E78653D0605FAF577943524DED7423654CBA8227E5
  • MD5: 25240999C55600A35293FCA3EEC73BD8

Sample Run

To disable TLS 1.0 and TLS 1.1, and to enable TLS 1.2 and TLS 1.3 along with strong crypto for .NET.

Sample Run

User Parameters

NameExampleRequiredDescription
YN-TLS1.001 or 0 or blankTo enable TLSv1.0, enter 1; to disable it, enter 0, or leave blank.
YN-TLS1.101 or 0 or blankTo enable TLSv1.1, enter 1; to disable it, enter 0, or leave blank.
YN-TLS1.211 or 0 or blankTo enable TLSv1.2, enter 1; to disable it, enter 0, or leave blank.
YN-TLS1.311 or 0 or blankTo enable TLSv1.3, enter 1; to disable it, enter 0, or leave blank.
YN-StrongCrypto11 or 0 or blankTo enable Strong Crypto for .NET, enter 1; to disable it, enter 0, or leave blank.

Output

  • Script log