How to change XP's default search behavior


When searching for any file in XP, I believe there is a setting within XP which prevents the search tool from searching within the "Program Files" and "Windows" folder. Also, it always searches within .zip and .cab files as well. Is this some setting in the registry? Is there a way to change/control this default behavior as per our own preference.
I have found a tool to change whether or not XP should search within .zip and .cab but I am still looking for something to force search within "Program Files" and "Windows" folder. Any ideas on how to do this? Also, I would like to know about the specific key/value in the registry that controls all these settings in XP.

Who is Participating?
callrsConnect With a Mentor Commented:
You don't need the tool, you can use the regsvr32 command from the command prompt (Start > Run > cmd)

To force search, this should work:

Start > Search > All files and folders > More advanced options > Search system folders, Search subfolders, Search hidden files and folders

Either that, or turn on display of hidden items:

Start > run > explorer > Tools > Folder Options > View >( Cancel out the "Hide" or "Hidden" options)
callrsCommented: Searching with WindowsXP
To remove zip/archive file support from Windows XP:
regsvr32 /u %windir%\system32\zipfldr.dll

To re-enable the support:
regsvr32 %windir%\system32\zipfldr.dll

or use this utility: from
CyberneticsConnoisseurAuthor Commented:
callrs, thanks for the link, but I already have this tool. I mentioned this in my question that I have a tool to bypass search within zip files (I use this tool for it). What I need is a way to force search within "Program Files" and "Windows" folder.
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

CyberneticsConnoisseurAuthor Commented:
tried that as well. does the advanced search option set some value in the registry to true? can we tweak that to always use advanced search mode by default and include windows and program files folder.
Once you set it, doesn't the default stay?
CyberneticsConnoisseurAuthor Commented:
no ... i want that it should always use the advanced search setting that i set once for all. but it always ignores those settings.
I have XP Sp2 & the advanced search settings stay for next time once I set them & do a search. I also have display of hidden/system files turned on in Explorer.
-Sp2 or Sp1?
-Are explorer settings to display hidden/system files on or off?
CyberneticsConnoisseurAuthor Commented:
sp2 / explorer settings to show display hidden files and folders on. hide protected OS system files is checked.

Have your tried Windows desktop Search?
CyberneticsConnoisseurAuthor Commented:
That tool seems to be built on the lines of the google desktop. That is not what I am looking for in my case, but I appreciate the help.

I was hoping for more details w.r.t. registry specific information that controls these settings. I will try to research on it myself. thanks for all the help, anyways.
Why research when you can find out directly using these tools:     Sysinternals Freeware - Regmon          Epsilon Squared - InstallWatch & InstallRite

(Also look up Total Uninstall)

Sorry I couldn't do it for you; been too hungry lately
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.