Wednesday, June 21, 2006

Problem with Microsoft Search

I ran across this while hacking together the PHP files for the blog. Apparently, the WindowsXP search does not actually search all files when using the "A word or phrase in the file" option. How very... useless.

Here is a workaround:
  1. Open regedit and navigate to HKEY_CLASSES_ROOT.
  2. Locate and expand the branch for the file type in question (for example: .txt, .adm or .asp).
  3. If the PersistentHandler subkey does not exist, create it. Do this by clicking on the file extension key and going to Edit > New > Key. Name the key "PersistentHandler" (without the quotes). Click on the PersistentHandler key. In Regedit''s right pane, double click on the Default value and enter the following: "{5e941d80-bf96-11cd-b579-08002b30bfeb}" (without the quotes). WARNING: If the PersistentHandler sub-key does exist, do not change the default value.
  4. Close Regedit and reboot the computer.
Source: Doug''s Windows Tweaks and Tips

No comments:

Post a Comment