Solved

How to create script to edit Intenet Explorer settings.

Posted on 2004-10-19
4
204 Views
Last Modified: 2010-04-13
Hello all,

I need to create a script to edit the Temporary Intenet Files tab : to check for newer versions stored: To every visit to this page
and also in the advanced tab select SSL3 in the security options?

Anybody done this or have a copy?

Thanks In advance
0
Comment
Question by:mo9162
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
Colosseo earned 500 total points
ID: 12346261
Hi there

I have created a vbs which sets the values ok on my machine so should hopefully work ok for you

You will need to save the following code in a file like updateReg.vbs and then run it

Note the SSL3 option maintains the SSL 2 and TLS 1 options on the advanced tab. If you just want SSL3 regardless  of the current settings then remove this section CInt(strSSL) + from the if statement

Any questions just ask

Cheers

Scott

  ' The location in the registry for the Temporary Internet files setting
  regTemp = "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\SyncMode5"

  ' The location in the registry for the SSL setting
  regSSL = "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\SecureProtocols"

  ' Run the code to update the registry
  update_Registry


  Sub update_Registry()

    ' The shell will be used to manipulate the registry
    Set WSHShell = CreateObject("WScript.Shell")

    ' Update the Temporary Internet files setting to "Every visit to the page"
    WSHShell.RegWrite regTemp,"3", "REG_DWORD"
 
    ' Get the current value of the SSL options
    strSSL = WSHShell.RegRead(regSSL)
 
    ' If the value is not already SSL 3.0 Then add SSL 3.0 to the current options
    If strSSL = "0" Or strSSL = "8" Or strSSL = "128" Or strSSL = "136" Then WSHShell.RegWrite regSSL,CInt(strSSL) + 32, "REG_DWORD"

    ' Tidy up
    Set WSHShell = Nothing

  End Sub

0
 

Author Comment

by:mo9162
ID: 12346450
Thanks worked a treat. :)
0
 

Author Comment

by:mo9162
ID: 12346456
Thanks worked a treat. :)
0
 
LVL 15

Expert Comment

by:Colosseo
ID: 12346459
Your welcome, thanks for the grade

Scott
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In  today’s increasingly digital world, managed service providers (MSPs) fight for their customers’ attention, looking for ways to make them stay and purchase more services. One way to encourage that behavior is to develop a dependable brand of prod…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now