Reset Web Settings via Script

  • Thread starter Thread starter Justin Kallas
  • Start date Start date
J

Justin Kallas

I am curious as to whether or not the "Reset Web Settings" action in IE can
be performed with a VBScript? I am assuming that it is writing entries to
the registry to reset IE as the default browser, and I have run RegMon's to
see what it may be doing, but I am having little luck. Here is a little bit
of background:

We are working on a project to remove Netscape from our environment so that
we have one less app to support. The problem is, the Netscape uninstall is
not very clean, and does not setup IE as the default browser again, which we
want it to do. We are close to having everything it does fixed in terms of
re-doing File Associations and changing the Browser app back to IE in the
WinXP Start Menu, but the one thing we have not gotten to work is the
ability to enter a URL at the Run line and have it open the site in IE. We
simply get "The application can not be found" as it doesn't know what to
associate the URL with. The only way we have found to fix this is to go
into IE and hit the "Reset Web Settings" button. This is not an option
though as we have Netscape installed on over 12,000 machines and a
potentially large number of those users may have Netscape setup as the
default.

I've looked all over the web but found no info on this. Any help would be
GREATLY appreciated. Thanks!

Justin
 
Justin,

In addition to what Jon said:

For Windows XP SP1 and above:

Type the command shmgrate.exe OCInstallReinstallIE in the RUN box (or add to
your VBScript). This command sets Internet Explorer as the default browser,
equivalent to 'Set Program access and defaults'.

To download a REG file (for XP) which sets IE as default, see my IEFAQ page:
Tip #41 http://windowsxp.mvps.org/iefaq.htm
 
Back
Top