We help IT Professionals succeed at work.

VBS script for TLS 1.0

fswiontek
fswiontek asked
on
I'm trying to implement a GP for TLS 1.0 and i found some useful info on the site, but isnt exactly what I need.
I found a VBS script for what I need, but it turns off SSL 2.0 and 3.0 (i need SSL 2,3 and TLS 1.0).
I dont know much about Visual basic, but it seems to do the trick. I attached the script I found on the website to this message. Any help would be appreciated.


Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
 
' to set multiple protocols add #'s together (i.e. - check all 3 protocols = 168)
' SSL2.0 = 8
' SSL3.0 = 32
' TLS1.0 = 128
 
' check only TLS1.0
WSHShell.RegWrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\SecureProtocols", 128,"REG_DWORD"
 
Set WSHShell = Nothing

Open in new window

Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014
Commented:
Do you want to turn off TLS as well?

If so, change this end part:
128,"REG_DWORD"

to
0,"REG_DWORD"

If you want to enable them all, use
"A8","REG_DWORD"

See the SecureProtocols section of this site:
http://msdn2.microsoft.com/en-us/library/aa908115.aspx

Regards,

Rob.