Skip navigation

JSI Tip 0517 - Automatically change Home Page as you move from your intranet to the internet.

I have a need to use one home page for my intranet and a different one when I connect to the internet. Using IE 4.x, I could not find a standard method for accomplishing this.

In tip 090, I created D-I-Y autodial. Using that technique and setting IE 4.x for an intranet home page, I changed my autodial to modify the registry at:

HKEY_CURRENT_USER\Software\Microsoft\internet Explorer\Main\Start Page

Here is how (the changes are bolded):

REM Switch to prefered download directory
c:\winnt\regedit.exe /s c:\util\HomeInt.reg
REM Dial your ISP
C:\Winnt\system32\RasPhone -d EntryName
REM Run your browser
"C:\Program Files\internet Explorer\IEXPLORE.EXE"
REM When you exit, hang up
c:\winnt\regedit.exe /s c:\util\HomeLoc.reg
c:\winnt\system32\rasdial EntryName /DISCONNECT

where HomeInt.reg contains:


\[HKEY_CURRENT_USER\Software\Microsoft\internet Explorer\Main\]
"Start Page"=""

and HomeLoc.reg contains:


\[HKEY_CURRENT_USER\Software\Microsoft\internet Explorer\Main\]
"Start Page"="http://JSI001/default.html"

You can also modify Search Page.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.