Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-05-17
4
Medium Priority
?
536 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 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
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!    …
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…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

877 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