Solved

Windows XP SP3 "Search for Files and Folders" does not include SystemRoot?

Posted on 2009-05-17
4
531 Views
Last Modified: 2012-05-07
I have a file C:\WINDOWS\system32\sc.exe on multiple PC's within the same domain.

Strange behaviour of Windows (file) Explorer's "Search for Files and Folders":

a) Expected behaviour (on multiple PCs):
When I right-click the folder C:\Windows\system32, select "Search...", enter "sc.exe" (without the ") in the "Search for files and folders named:" field, verify that "Look in:" is "system32", and click "Search Now", this easily finds "sc.exe" (in addition to a couple of other files with name *sc.exe).
If I perform the exact same search but on C:\Windows (instead of C:\Windows\system32), this also finds the "sc.exe" (located in C:\Windows\sytsem32) in addition to a number of other files with name *sc.exe.
So far so good!

b) Unexpected behaviour (on multiple PCs):
When I perform the exact same search as above, but on C:\, this does not find the files under C:\Windows

Of course there may be a good explanation of this, I just can't figure it out.

I have IE 8 (8.0.6001.18702) installed, but I can not say this has anything to do with the behaviour (nor if the problem exist on computers without IE8).
I have ensured that the Windows (file) explorer is configured to "Display the contents of system folders", "Show hidden files and folders", and not "Hide protected operating system files", nor "Remember each folder's view settings", and I have applied this to all folders.

Some of the machine variables are:
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
SystemRoot=C:\WINDOWS
windir=C:\WINDOWS

Indexing is disabled (so searching should be complete, but maybe slower).

User is member of local "Administrators" group.

The behaviour is seen on multiple PCs - if not all(?) - within the domain. I can not for sure state this is the same on all PCs, but at least the ones I have access to.

Could it be a group policy restriction, and if so which?
Do you know what cause the above behaviour(s) and eventually what to do to alwayss have the search include SystemRoot?
0
Comment
Question by:slemmesmi
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:akahan
ID: 24409601
Could it be that on the systems where it does not find it, "search system folders" is not checked in your advanced search options?

If "search system folders" is not checked, and you start your search in c:\, it won't look in c:\windows or c:\windows\system32, because they're system folders.  But if you start your search in a system folder, it'll ignore the fact that you haven't checked the box (at least for the system folder that you specified and its children), because you obviously DO want to search system folders because you've specified to start your search in one.

So, my bet is that you have "search system folders" checked on some of those machines, but not others.
0
 
LVL 11

Author Comment

by:slemmesmi
ID: 24526041
You are absolutely right!
When I select (check) "Advanced Options" it shows me 3 default (already checked) options:
(1) Search system folders
(2) Search hidden files
(3) Search Subfolders

What puzzles me now is how to make the "Advanced Options" chosen/selected by default or in other words, if the 3 options above are already checked, how to make them effective as per default?

Not least - pretty sure this was the case prior to XP SP3...
0
 
LVL 26

Accepted Solution

by:
akahan earned 500 total points
ID: 24526492
For me, there is a button under "Other Search Options" that says ""Change Preferences".   If I select this, and then select "Change files and folders search behavior," the settings I enter under "Change files and folders search behavior" become the default settings.

0
 
LVL 11

Author Closing Comment

by:slemmesmi
ID: 31582494
Thanks a lot!
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

832 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