Peter's Blog

Redefining the Impossible

Getting Desktop Search to list exe files


It was bugging me that I could not find .exe files with MSN Desktop Search.

A quick look through the registry found the key:

HKEY_CURRENT_USER\Software\Microsoft\RSSearch\Gather\RSApp\MyIndex\Extensions\ExtensionList

This contains a list of numbers and file extensions, e.g.:

Value 0
  Name:            0
  Type:            REG_SZ
  Data:            386
Value 1
  Name:            1
  Type:            REG_SZ
  Data:            aps
Value 2
  Name:            10
  Type:            REG_SZ
  Data:            chk
Value 3
  Name:            11
  Type:            REG_SZ
  Data:            ci
Value 4
  Name:            12
  Type:            REG_SZ
  Data:            crwl
Value 5
  Name:            13
  Type:            REG_SZ
  Data:            dbg
Value 6
  Name:            14
  Type:            REG_SZ
  Data:            dct
Value 7
  Name:            15
  Type:            REG_SZ
  Data:            DeskLink
Value 8
  Name:            16
  Type:            REG_SZ
  Data:            dir
Value 9
  Name:            17
  Type:            REG_SZ
  Data:            dl_
Value 10
  Name:            18
  Type:            REG_SZ
  Data:            dll
Value 11
  Name:            19
  Type:            REG_SZ
  Data:            drv
Value 12
  Name:            2
  Type:            REG_SZ
  Data:            AudioCD
Value 13
  Name:            20
  Type:            REG_SZ
  Data:            dvd
Value 14
  Name:            21
  Type:            REG_SZ
  Data:            evt
Value 15
  Name:            22
  Type:            REG_SZ
  Data:            ex_
Value 16
  Name:            23
  Type:            REG_SZ
  Data:            exe
Value 17
  Name:            24
  Type:            REG_SZ
  Data:            exp

I changed the entry for 'exe' (value 16) to 'exex' to hide it from the list (I didn't delete it to avoid breaking the numbering of the keys and to make it easier to change it back). I also changed the entry for 'dll' in case I want to search for a dll file (I do strange things).

I rebooted desktop search (right click on the toolbar item and exit, then launch again from start menu) and told it to index. In a minute or two I could search for *.exe and get executables! Clicking on them ran them! Bliss, happy, waiting for something bad to happen.

My justification for this being reasonable is that desktop seach can find zip files but does not try to index the contents and the zip file extension is not found in the list above so hopefully it has enough brains to just list the executable files but not look for strings inside them.


Filed under: untagged

mojolo Says:

nice post.

i used the old windows search function to search for .dll's, .ax's, .exe's more than anything. Now we can do it instantly.

Louis Says:

Now that MSN Toolbar Suite with Windows Desktop Search has been released, there's a MUCH easier way to fix this.

Just right-click on the magnifying glass icon in the taskbar notification area, choose "Desktop Search Options", then click "Advanced" under "Desktop Search" in the tree list. Now remove or rename ".exe" and ".dll" from the "Do not index these file types" box. Ta-da!

And if you've already edited the registry manually, your changes should already appear in this box. :)

Peter Says:

Thanks for the tip. I have blogged it.

Peter

Have Your Say

I welcome constructive comments or questions but I reserve the right to delete any comments that displease me.

Who are you?

(Optional) If you enter an email address here I might email you back. Your email address will not be sold to spammers or shown anywhere

What do you have to say?