Windows XP Search not correctly searching .asp files

Ok, this is well documented on the internet, where Windows XP will not search through files with unknown extensions. However, in this case it is a known extension I am looking for, .asp -- It appears to have mapped the file with the PersistentHandler ([HKEY_CLASSES_ROOT]/.asp/PersisentHandler) of {eec97550-47a9-11cf-b952-00aa0051fe20}, which as far as I can see is that of .htm / .html files. When I try to change it to {5e941d80-bf96-11cd-b579-08002b30bfeb}, which will allow windows to treat it for all intents and purposes as plain text, it looks fine even after reboot. However, as soon as I use the windows search facility it doesn't return what I expect, so I check in the registry and lo and behold it's changed it back again.

Does anyone know why this happens and how to resolve this in the long term?

- Graham
Who is Participating?
LeeTutorConnect With a Mentor retiredCommented:
By the way, I also agree with lluthien.  I find too many problems with XP's search tool, and I also use Agent Ransack for my searches.  It is a lot more powerful, and also much faster:

Agent Ransack is a tool for finding files and information on your hard drive fast and efficiently. When searching the contents of files Agent Ransack displays the text found so you can quickly browse the results without having to separately open each file!

Agent Ransack provides compelling advantages over similar search tools:

Regular expressions that allow complex rule based searches.
Immediate contents results view.
Various wizards to walk the user through the searching process.
Agent Ransack is provided FREE of charge for the benefit of the Windows community. If you find it useful please register it, free of charge.
I would suggest you request to move this question to the Windows XP TA to get help.

topazgAuthor Commented:
Fair enough, I just thought some other .asp programmers would have encountered the same problem and had to fix it. How do I make the request?
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Post a 0-point question at to request.
lluthienConnect With a Mentor Commented:
i use Agent Ransack ™
to search in files on XP.
XP search seems to also have problems with finding quoted texts
Well, according to this MSKB article, what you are trying to do should be possible:;en-us;309173
Using the "A Word or Phrase in the File" Search Criterion May Not Work

If the registry changes aren't "sticking", I have a few questions for you:  you're doing it as Administrator, I presume?  Are you on a domain, where group policies might be affecting this?  Perhaps it is a case of incorrect registry permissions?  For the last question, see this MSKB article:;en-us;310426
How To Use the Windows XP and Windows Server 2003 Registry Editor Features
topazgAuthor Commented:
Ok, I'll have to use that - I'm happy enough doing so :-)

Yes, it is a domain, and all users at the moment have full admin (local and network) priveledges - and like I said, when the computer was reset and the user logged back on the settings were still as I had changed them to. It was only when I tried to run a search that they reverted back, as if Windows had set all the keys back to default before searching.

Thanks for your help!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.