Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to create a logon script that changes this option. It can either be a batch file or a .vbs

"Internet Options\Browsing History\Settings\Check for Newer Versions of stored pages"

Anybody have any idea how to do this?

share|improve this question
up vote 0 down vote accepted
  1. Figure out what registry key this option changes, export that key to a .reg file
  2. Use something like this

    Set oShell = CreateObject("Wscript.Shell") 
    sRegFile = "C:\Temp\MyFile.Reg" 
    'This line runs Regedit in silent mode
    oShell.Run "regedit.exe /s " & Chr(34) & sRegFile & Chr(34), 0, True

Or instead you may directly edit registry from your vbs code as described here

share|improve this answer
Thanks! I'll look into that! Prob. what I am looking for.... – Usta Jun 11 '12 at 20:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.