Search From the Address Bar

When you are looking for something you of course want to find it as fast as possible. For this you might already have a search tool installed like from Google or MSN. This will enable you to search the web without the need to go to the Google or MSN search page first. But there is your problem; it searches the whole web! What if you already know what site you want to look on? You can directly search a specific site from the Address Bar in Internet Explorer or in the Taskbar by editing the registry or by using the Microsoft TweakUI Powertoy

Editing the Registry

Enabling searching from the Address Bar requires you to edit the registry. Below you’ll find what information you’ll need to add to the registry. If you’re not comfortable editing the registry you can download this registry key which you can import or use TweakUI.

This is what’s in the key
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl]
"provider"=""

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\AV]
@="http://www.altavista.com/sites/search/web?q=%s"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\GGL]
@="http://www.google.com/search?q=%s"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSKB]
@="http://support.microsoft.com/?kbid=%s"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSN]
@="http://search.msn.com/results.asp?q=%s"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\TN]
@="http://search.microsoft.com/search/results.aspx?View=en-us&p=1&s=0&c=3&st=b&qu=%s&na=30"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\EXT]
@="http://filext.com/detaillist.php?extdetail=%s"

Now you can type TN Outlook in the addressbar to search for Outlook on Microsoft Technet Support & Troubleshooting

AV= www.altavista.com
GGL= www.google.com
MSKB= enter the Microsoft Knowlegde Base Article number behind MSKB to resolve the article
MSN= www.msn.com
TN= Microsoft Technet Support & Troubleshouting (main page= http://www.microsoft.com/technet/)
EXT= FILExt is a detailed database of file extensions and programs that use them (http://filext.com)

Search on any site directly with Google

You can search on a specific site by using Google by entering the following string:
http://www.google.com/search?q=site:domainname.com %s

For searching this site by the letter combination HTO (HowTo-Outlook) the registry entry would become;
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\HTO]
@="http://www.google.com/search?q=site:sparnaaij.net %s"

Using TweakUI instead of editing the registry

If you are not comfortable by doing this through the registry you can also use the Windows XP TweakUI Powertoy from Microsoft which you can download here. You then only have to enter the search string and the key combination you want to use.

Tweak UI
The overview of Search Prefixes displayed in TweakUI

Tweak UI address
Adding a new Search Prefix with TweakUI

Custom Search
Searching information about saving attachments on the HowTo-Outlook website