[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

VBS script for TLS 1.0

Posted on 2008-01-24
1
Medium Priority
?
1,103 Views
Last Modified: 2012-05-05
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

0
Comment
Question by:fswiontek
1 Comment
 
LVL 65

Accepted Solution

by:
RobSampson earned 2000 total points
ID: 20737371
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.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction During my participation as a VBScript contributor at Experts Exchange, one of the most common questions I come across is this: "I have a script that runs against only one computer. How can I make it run against a list of computers in …
This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…
Suggested Courses

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question