Windows Search Indexer suddenly using too much CPU, help please

Page 1 of 2 12 LastLast

  1. Posts : 1
    Windows 10
       #1

    Windows Search Indexer suddenly using too much CPU, help please


    Hi, the "Microsoft Windows Search Indexer" is driving me nuts and heating up my PC in my hot little apartment.

    The problem:

    Since about about 20 days ago (perhaps it happened after a Windows update, not sure, but I think it has happened before...not sure how or why it stopped last time), Microsoft Windows Search Indexer has been acting very moody, suddenly abusing my CPU like crazy.

    What I mean is that even when I'm not downloading anything, even when index is not being rebuilt, every 5-20 minutes (irregularly) that process begins to overuse my CPU. For instance, when I open a Task Manager, I can see Microsoft Windows Search Indexer suddenly rising to the top, CPU usage going from like 3% to 50% or more and my PC's fans start revving up. Sometimes the Disk column also goes to 99% or 100% usage.

    In the past I would wait but it did not stop so eventually what I did was right click on the process and ending it (I had to do it several times back to back because usually it showed up again in a few secs). Then in five, ten, twenty minutes, I never know when, it would begin again.

    I am attaching a picture of my task manager from earlier so you can see (Though it didn't happen in this case, the Disk percentage sometimes goes up 99% or 100% when indexing starts acting up). PiXhost - Free Image Hosting

    What have I done so far?

    I have rebuilt the index three times (twice intentionally, once the PC had started doing it itself) in the last two or three weeks. Each time took like 10 hours. But eventually, nothing changed. I have checked for viruses, etc, too.

    The only "solution" has been to turn off indexing (based on a tutorial I read): Going to services, right click on Windows Search and disabled and restart PC. Yes, that worked and the indexing stopped (actually usually shows up again once or twice right after I restart but no more).

    Couple of times I tried turning it back on after another restart but then same problem occurs as before, so I have left it off.

    This solution works in one sense but I need indexing turned on to help me search through about 100,000 pdf files that I have on my PC. I'm a biology student and these are files I use everyday.

    I have been unable to find a replacement for Windows indexing. I have tried a few software but they either search only the titles of my pdf files or when they search inside them, it takes much longer and is much less complete than Window's indexing, to the point that they're useless.

    About my PC:

    3 years old, DELL Vostro, i7, 64 bit, 6 GB RAM, running Windows 10.

    About me:

    Tech newbie, know next to nothing about computers.

    Conclusion

    Microsoft Windows Search Indexer process (and perhaps related processes) suddenly begins using too much of my CPU, something that happens irregularly but often.


    I much appreciate any suggestions/help that you can offer me. Thank you.
      My Computer


  2. Posts : 2,799
    Linux Mint 20.1 Win10Prox64
       #2

    1. From Folder Options, turn on "Show Hidden Files/Folders" and navigate to:
      C:\ProgramData\Microsoft\Search\Data\Applications\Windows
    2. Look at the file: Windows.edb, this is the Windows Search Database. What is the size of this file ? Huge ?


    Sometimes if after a major updates, there's lots of files being removed/created then the search index is out of sync and need to be rebuilt. If this Windows.edb is huge in size or corrupted, then CPU is busy trying to re-index it.

    Disable Windows Search from Services, delete this file then re-enable Windows Search to let it rebuild the index from scratch.

    Personally I don't use Windows search but use a third party freeware instead, it's more efficient and faster than Windows Search.
    voidtools can give you instant search result so you might want to try it.
      My Computer


  3. Posts : 42,921
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #3

    Hi, first as you know, I think, the problem is not a failure of Windows search as such. Windows search should use no resources once indexing is complete. Even when indexing is under way, it 'backs off' (pauses) if just a little CPU use occurs for other reasons.

    The most likely cause is a failure to access something it's trying to index. (Some kind of corruption). As such, you should look into fixing this, rather than avoiding it.

    See
    Fix: High CPU Usage By searchindexer.exe - Appuals.com
    (3)
    for a technical approach to trying to identify what's causing problems.

    Try also running chkdsk on all indexed drives/partitions.

    I posted a couple of other links here:
    High processor usage by indexer - Windows 10 Forums

    The major advantage of Windows Search vs 3rd part tools (which I do use too) is content indexing- and sometimes convenience. However, the way Windows search is implemented means that searching a whole partition which is partly indexed means such a search is slow. (Indexed files are not prioritised - non-indexed files are searched first if they are encountered first). I.e. you only get quick results when file explorer is pointed to an indexed location.

    (Cortana uses Windows search but only gives indexed results).

    3 free tools often quoted for 'instant' search results: (these do not index content)
    Everything (by voidtools) (use beta for parameterised choices similar to others last I looked)
    Locate32
    Ultrasearch

    These do a fairly fast index of all disks/partitions and a couple can add a text search on textual documents.
    Search can typically be specified for size/file type/date/ and regex searches are supported by some.

    I use Locate32. I find Everything uses resources seemingly unnecessarily.
      My Computers


  4. Posts : 28
    Windows 10 Education
       #4

    topgundcp said:
    1. From Folder Options, turn on "Show Hidden Files/Folders" and navigate to:
      C:\ProgramData\Microsoft\Search\Data\Applications\Windows
    2. Look at the file: Windows.edb, this is the Windows Search Database. What is the size of this file ? Huge ?


    Sometimes if after a major updates, there's lots of files being removed/created then the search index is out of sync and need to be rebuilt. If this Windows.edb is huge in size or corrupted, then CPU is busy trying to re-index it.

    Disable Windows Search from Services, delete this file then re-enable Windows Search to let it rebuild the index from scratch.
    [...]
    This certainly seems to work for me, thanks for posting! However, I was wondering... is this, via the command line, the same as doing

    Control Panel > Indexing Options > Advanced > (Delete and rebuild index) Rebuild

    via the GUI? If so, the route via Control Panel seems easier and less accident-prone to me (like deleting the wrong file, starting and stopping the wrong service).

    Regards, Jaap.
      My Computer


  5. Posts : 2,727
    Windows 10
       #5

    Yes, it is the same.
    Also from Settings > Search > Searching Windows > Advanced Search Indexer Settings.
    There are other options by taking that route that you may like to trim to your liking.
      My Computer


  6. Posts : 28
    Windows 10 Education
       #6

    Helmut said:
    Yes, it is the same.
    Also from Settings > Search > Searching Windows > Advanced Search Indexer Settings.
    There are other options by taking that route that you may like to trim to your liking.
    If there ever comes a day when the command line will no longer be accessible to ordinary users, maybe I'll really say goodbye to Windows. But if, in a case like this, the GUI offers an easier alternative for a number of command line commands, I'll use the GUI. I'll look into the other options for Windows Search in Settings. Thanks for replying, Helmut!

    It seems the Windows programmers are still ambivalent about what to make accessible via Settings and what via Control Panel. The route you mentioned leeds straight into Control Panel again.
      My Computer


  7. Posts : 920
    Windows 10 Pro
       #7

    Microsoft have released a free tool, available through the store and from the MS site, called Indexer Diagnostics that has various options for fixing/ adjusting/ testing the Windows indexing service. It might be of help to you.
    Windows Search Indexer suddenly using too much CPU, help please-index.jpg
      My Computer


  8. Posts : 68,840
    64-bit Windows 11 Pro for Workstations
       #8
      My Computers


  9. Posts : 28
    Windows 10 Education
       #9

    Pejole2165 said:
    Microsoft have released a free tool, available through the store and from the MS site, called Indexer Diagnostics that has various options for fixing/ adjusting/ testing the Windows indexing service. It might be of help to you. […]
    Thank you, Pejole2165! I'll look into that.

    - - - Updated - - -

    Hello Shawn, thanks for replying!

    - - - Updated - - -

    I posted my original message (21 september) because I noticed strange disk behavior going on in my Dell Latitude laptop: every once in a while, the disk would start spinning and keep this up for some time, I estimate for up to 20 seconds or so. This slowed down everything else on the machine; while it was going on, all user programs seemed to be "on hold" and did not accept input. I simply had to wait until they did. Of course, this was very annoying and also a bit worrying: something wrong with the hard disk? A virus?

    I embarked on a search and I don't remember how I got the idea that it could be Windows Search, but i did, and I came across topgundcp's post. Deleting and rebuilding the index file seems to have cured the problem, which had been going on for quite some time.

    So: if you notice your PC behaves as if it's trying to write something to disk but doesn't seem to succeed, try one of the recipes mentioned in this thread and see if it helps. It worked for me. My hard disk is very grateful for the rest, and so am I.

    Regards, Jaap.
      My Computer


  10. Posts : 1
    Win 10 and 11
       #10

    For mie this was the problem, simple solution


    I'm on Win 11 on an AMD Ryzen 7 5800H, which is the best laptop I've ever used. Today I logged in and it was so slow it wasn't usable, the mouse was jumping, CPU usage was only 20% with "Microsoft Windows Search Indexer" having very high power usage. I spend a half-hour trying to scan the PC until I found this post. Then I unplugged all of my USB devices and sure enough, it was my USB memory card.

    dalchina said:
    Hi, first as you know, I think, the problem is not a failure of Windows search as such. Windows search should use no resources once indexing is complete. Even when indexing is under way, it 'backs off' (pauses) if just a little CPU use occurs for other reasons.

    The most likely cause is a failure to access something it's trying to index. (Some kind of corruption). As such, you should look into fixing this, rather than avoiding it.

    See
    Fix: High CPU Usage By searchindexer.exe - Appuals.com
    (3)
    for a technical approach to trying to identify what's causing problems.

    Try also running chkdsk on all indexed drives/partitions.

    I posted a couple of other links here:
    High processor usage by indexer - Windows 10 Forums

    The major advantage of Windows Search vs 3rd part tools (which I do use too) is content indexing- and sometimes convenience. However, the way Windows search is implemented means that searching a whole partition which is partly indexed means such a search is slow. (Indexed files are not prioritised - non-indexed files are searched first if they are encountered first). I.e. you only get quick results when file explorer is pointed to an indexed location.

    (Cortana uses Windows search but only gives indexed results).

    3 free tools often quoted for 'instant' search results: (these do not index content)
    Everything (by voidtools) (use beta for parameterised choices similar to others last I looked)
    Locate32
    Ultrasearch

    These do a fairly fast index of all disks/partitions and a couple can add a text search on textual documents.
    Search can typically be specified for size/file type/date/ and regex searches are supported by some.

    I use Locate32. I find Everything uses resources seemingly unnecessarily.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:57.
Find Us




Windows 10 Forums