search for name:xyz In a Windows 7 indexed folder is SLOW

I have two identical folders
      C:\Indexed\folder1\  with 50 entries
and c:\NotIndexed\folder1\ with same 50 entries

I use start > indexing options > modify > c drive   and turn indexing off NotIndexed

I wait an hour to be sure indexing is done.

i use explorer search box for search for name:doc  in both folders

under NotIndexed the search is almost instantaneous

under Indexed the search takes almost 10 seconds.

Since most of my documentation folders on the C: drive are indexed, almost all of my searches are slow.  

If I dropped all my folders from the windows index, searches for  <  content:"my Desired Term"  > would take forever (see note below)

Is there any setting or registry entry that would make name:   searches go faster?

Also, does anybody know if windows 10 has fixed this problem?


Note:  My above question applies to normal Windows environments. If no one can answer my question, I will use a third party solution which I know will work.  I am running search which has its own index and provides instant content level searching even when the windows index is off.  But, I like have both both indexes available.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try using Everything
rberkeConsultantAuthor Commented:
I already have a 3rd party tool that does the job (x1)

I am looking for a fix that uses standard windows.
rberkeConsultantAuthor Commented:
also, I have already tried the windows search troubleshooter.  It did not find anything
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Have you tried delete and rebuild option in advanced settings of indexing options?
rberkeConsultantAuthor Commented:
JOINAUNION. I will give that a try and report back when the index is done rebuilding.
rberkeConsultantAuthor Commented:
the suggestion to delete and rebuild was a good idea but had some unforeseen and negative consequences.   While the indexing was running my machine was noticeably slower.

Even worse, after two weeks the indexing is not done  !!! 800,000 items indexed so far with about 100 added every minute.    

I would expect at least 100,000 item a day so I don't know why microsoft's current count is so low.

On the other hand,  I don't know what the final number should be, reports 873,000 emails in its index so microsoft's index might be close to being done.  But, the emails have an additional 567,000 attachments so I expect the final number should be 1,460,000.

Anyway,  I think rebuilding the index is not a good idea for future folks who have the slow file name lookup problem that is the subject of this post.  Plus, I don't think the rebuilding helped speed things up. (I won't know until the index finishes building.)

The only definitive advice I have for future researchers:  don't count on Microsof't's indexing if you have a large computer with over a million items.
You can try disabling the indexer backoff feature.

Tap Win+R key. Type in gpedit.msc
Under computer configuration expand administrative templates, then expand windows components,select search.

On the right double click disable indexer backoff, with the new window open select enabled click apply and ok.

Now try again post back results.
rberkeConsultantAuthor Commented:
Indexing is still running, so everything is noticeably slow. To get reliable performance results, it is probably best to wait a week for indexing to finish before trying to disable indexer backoff.  I will post back when the results are in..
rberkeConsultantAuthor Commented:
indexing completed with 851000 items.

So, far this thread has not improved my speed issues at all.

The testing is now very repeatable
   20 seconds if TheFolder is indexed
   2 second if TheFolder is not indexed.

For example:
1) I use Start > indexing options   to turn OFF indexing. The Index count drops by 1000 and search is FAST

2) I use Start > indexing options   to turn ON indexing. After 10 minutes, the Index count jumps by 1000 and search is SLOW

Reindexing TheFolder does not improve response time.
"disable indexer backoff" does not improve response time

Plus, I just found another issue: Indexed folders CANNOT be searched to show "only filenames containing xxxx".

for instance, my folder contains 2 files named   "Reducing Problems.doc  and "Inducing problems.doc"  

I search for *ducing in a nonindexed folder I get the desired 2 files.

I search for *ducing in an indexed folder I get the desired 2 files PLUS every file whose body contains the text

If i type Name:*ducing in an indexed folder, 0 files are found.

the more I look at Windows indexing, the less I like it.
Can you confirm your search version
This applies to win 7 also.
rberkeConsultantAuthor Commented:
No, that does not work on my Windows 7 CPU. I follow all the steps, and none of the 500 updates contain the word "search".

Also, when I google for "windows 7" "windows search 4.0" I get 42,000 hits,
"windows 7" "windows search 5.0" I gets 8 hits,

So perhaps windows 7 always uses 4.0?
My Win 7 PC has Windows Desktop Search 6.1 based on Registry info..
Follow the registry steps.
rberkeConsultantAuthor Commented:
rberkeConsultantAuthor Commented:
All expert suggestions have resulted in no improvements, so I believe the "best" answer to my question is as follows.

 "Under windows 7, an explorer file name search of an indexed directory on a local hard drive will always be slower when the folder is indexed.  The only workaround is to remove the folder from the index which results in faster name search but slower content search."

If nobody has any other suggestions, I will PAQ this question in the next few days.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
If that's what works best for you, then you have answered your own question. ;)
rberkeConsultantAuthor Commented:
Despite their best efforts, the expert comments did not yield a solution, nor did they advance my understanding of the problem.  The workaround I described is my own work, so I am PAQing it.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.