Windows XP Search not correctly searching .asp files

Posted on 2005-04-29
Last Modified: 2012-05-05
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
Question by:topazg
    LVL 33

    Expert Comment

    I would suggest you request to move this question to the Windows XP TA to get help.

    LVL 3

    Author Comment

    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?
    LVL 33

    Expert Comment

    Post a 0-point question at to request.
    LVL 11

    Assisted Solution

    i use Agent Ransack ™
    to search in files on XP.
    XP search seems to also have problems with finding quoted texts
    LVL 59

    Expert Comment

    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
    LVL 59

    Accepted Solution

    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.
    LVL 3

    Author Comment

    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!

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article ( first and run the tool TDSSKiller ( to get rid of the infection. Once done, and if the …
    Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now