Solved

How to create script to edit Intenet Explorer settings.

Posted on 2004-10-19
4
207 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

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…
How do we balance the user experience (UX) with reasonable security measures? It can be done, if you keep these fundamentals in mind.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 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