In tip 5446, we directed Internet Explorer 6 address bar searches at specific search engines. In tip 6672, we used the GUI to establish the default Internet Explorer 6 address bar search engine.

Using REG.EXE, built into Windows XP, Windows Server 2003, and later, or installed in Windows 2000 from the Support Tools on the operating system CD-ROM, I have scripted MSNabs.bat to make MSN the default address bar search.

The syntax for using MSNabs.bat is:


MSNabs.bat contains:

                              @echo off                              setlocal                              set key=HKCU\Software\Microsoft\Internet Explorer\SearchUrl                              call :quiet>nul 2>&1                              endlocal                              goto :EOF                              :quiet                              reg add "%key%" /VE /T REG_SZ /F /D ""                              reg add "%key%" /V provider /T REG_SZ /F /D "MSN"                              reg add "%key%\MSN" /VE /T REG_SZ /F /D ""                              
NOTE: See How can I configure Internet Explorer 6 so that pressing the Search button opens the MSN Search?