How to speed up Vista: disable the slow slow search

What’s the biggest problems with Vista? Not the buggy drivers, which are gradually getting sorted. Not the evil DRM, which I haven’t encountered directly, though it may be a factor in increasing the complexity and therefore the bugginess of video and audio drivers. Not User Account Control security, which I think is pretty good. Not the user interface, which I reckon improves on Windows XP though there are annoyances.

No, my biggest complaint is performance. This morning I noticed that if I clicked the Start button and then Documents, it took around 15 seconds for the explorer window to display, fully populated. Doing this with Task Manager monitoring performance, I could see CPU usage spike from below 10% to between 55% and 60% while Explorer did its stuff.

Explorer gets blamed for many things that are not really its fault. Applications which integrate with the desktop, such as file archive utilities, hook into Explorer and can cause problems. I tried to figure out what was slowing it down. I opened up Services (in Administrative Tools) and looked at what was running. It didn’t take long to find the main culprit – Windows Search:

Windows Search in Services

You will notice that the above dialog shows that the service is not running. That’s because I stopped it. The difference is amazing. The Documents folder now shows in less than a second. When I click the Start button, the menu displays immediately instead of pausing for thought. Everything seems faster.

Looking at the description above, it is not surprising that there is a performance impact. The indexer gets notified every time you change a file or receive an email (if you are using Outlook or Windows Mail). The same service creates virtual folder views in Explorer, a poor man’s WinFS that should make the real location of files less important. Notice that the explanatory text warns me that by stopping the service I lose these features and have to “fall back to item-by-item slow search”.

I think it should say, “If the service is started, Explorer will take fifteen times longer to open and your system will run more slowly.”

Desktop search is a great feature, but only if it is unobtrusive. In Vista, that’s not the case.

This kind of thing will vary substantially from one system to another. Another user may say that Windows Search causes no problems. I also believe that the system impact is much greater if the indexer has many outstanding tasks – such as indexing a large Outlook mailbox, for example. Further, disabling Windows search really does slow down the search function in Explorer.

Turning off Windows search is therefore not something to do lightly. It breaks an important part of Vista.

Still, sometimes you need to get your work done. That fifteen seconds delay soon adds up when repeated many times.

In truth, we should not be faced with this decision. Microsoft should know better – it has plenty of database expertise, after all. There’s no excuse for a system service that slows things down to this extent.

By the way, if you have understood all the caveats and still want to run without Windows Search, until Microsoft fix it, then you must set the service to disabled. Otherwise applications like Outlook will helpfully restart it for you.

Update

See comments below – a couple of others have reported (as I expected) that search works fine for them. So what is the issue here? In my case I think it is related to Outlook 2007, known to have performance problems especially with large mailboxes like mine. But what’s the general conclusion? If you are suffering from performance problems with Vista, I recommend experimenting with Search – stop and disable it temporarily, to see what effect it has. If there’s no improvement, you can always enable it again.

It strikes me that there is some unfortunate interaction between Explorer, Search, and Outlook; it’s possible that there are other bad combinations as well.

Technorati tags: , , ,

VN:F [1.9.18_1163]
Rate this post
Rating: 8.0/10 (1 vote cast)
How to speed up Vista: disable the slow slow search, 8.0 out of 10 based on 1 rating

Related posts:

  1. How to speed up Windows Vista: official and unofficial tips
  2. Fixing slow Windows Vista: yet again, it’s a third-party problem
  3. Vista: the search for drivers begins
  4. Performance: Windows 7 fast than Vista, Vista faster than XP
  5. Fixing a slow Windows XP PC

35 comments to How to speed up Vista: disable the slow slow search

  • Tim, I really think you need to look further. I have three Vista systems here, all with huge hard drives and tens of thousands of files, plus large Outlook 2007 inboxes. In all three, Search is enabled and the Documents folder appears instantly when clicked.

    As a test, I just added a folder with 40,000 files, including lots of music and picture files, to the list of locations to be indexed. When I check indexing options, I can see it working, but still, no impact on performance. When I click Start and open the Documents folder, it pops up instantly.

    That, of course, if how the feature is designed to work. Obviously on your system it’s not working. But it sure seems to me that the culprit is something that is interacting with the Search service, and not the Search service itself.

  • Tim

    When I click Start and open the Documents folder, it pops up instantly. That, of course, if how the feature is designed to work. Obviously on your system it’s not working. But it sure seems to me that the culprit is something that is interacting with the Search service, and not the Search service itself.

    Thanks for the comment Ed. By the way, how large are your Outlook inboxes (size of OST or PST)? It wouldn’t surprise me if Outlook turns out to be somehow involved here.

    I agree these things are hard to nail down. I’m pretty sure that opening Documents used to take less than 15 seconds, so something got worse this morning. On the other hand, I do notice Explorer being generally sluggish not only on this particular machine but also on my laptop; I think it is OK on lightly loaded machines such as a new clean install. And since I get instant and dramatic improvement by disabling Windows search, I reckon the indexer is having more performance impact than it should.

    But I did say in my original post, “This kind of thing will vary substantially from one system to another. Another user may say that Windows Search causes no problems,” and you’ve proved the truth of that.

    Tim

  • Clyde Davies

    Out of curiosity I tried the same experiment on my Dell this morning and my findings were much the same as Ed’s. There was no perceptible difference in opening times for an Explorer window under either circumstance.

    Apart from that I have nothing else to add, and no idea what might be going on.

  • Tim

    Apart from that I have nothing else to add, and no idea what might be going on.

    I think it is to do with Outlook 2007 (sigh). I tried it on my laptop. Started it up, used Explorer, no problem. Started Outlook, used Explorer, 8 seconds to open Documents. Disabled search, Outlook still open, used Explorer, no problem.

    Tim

  • Tim, my Outlook OST is 616MB, but I’ve also had 2GB PST files here with no slowdowns.

    If I were troubleshooting your system, I would try two things:

    1. Temporarily change your Outlook profile to one that’s blank or only contains a POP account.

    2. Rebuild the Windows Search index (Indexing Options, Advanced, Rebuild). It goes quite quickly if you aren’t using the computer.

    After that completes, try again and see if the slowdown is still present. That’s what I would do, anyway.

  • Trying not be a nudge here, but … based on what I and others have reported, I would amend this:

    “some unfortunate interaction between Explorer, Search, and Outlook”

    to this:

    “some unfortunate interaction between Explorer, Search, and Outlook and some unknown X factor

    There’s already plenty of evidence that Otulook, Search, and Explorer work fine on many systems. So why is yours different? That’s the X factor.

  • Clyde Davies

    I concur with that: I’m running Outlook 2007 as well, but I don’t experience the glacial response times that you do. But then, I don’t have the same number of email messages either.

  • Tim

    There’s already plenty of evidence that Otulook, Search, and Explorer work fine on many systems. So why is yours different? That’s the X factor.

    Windows Vista? I can’t be sure but I doubt it’s a third party “X factor” since I get the same behaviour on my laptop.

    Now, a progress report. I tried exactly what you suggested, rebuilding the index. It took all night. As far as I can tell the index is complete. There are 360,000 indexed items according to Indexing options. Outlook is not giving any warnings about incomplete indexing.

    The good news: it’s worked. I can open Explorer in less than a second, instead of 15 seconds. But I still have reservations about the way this all works.

    First, I’m not confident that the problem won’t recur (I’ll let you know). It’s not isolated to this machine; it happens on my laptop as well. Why is the index prone to corruption?

    Second, I strongly suspect this is an Outlook issue. It’s probably connected to the notorious Outlook 2007 dialog:

    A data file did not close properly the last time it was used and is being checked for problems.

    I and others have seen this dialog frequently despite keeping fully up-to-date with Windows and Office patches, and making every effort to close down correctly. See comments to the various Outlook posts on this blog for examples.

    Third, it’s not only an Outlook issue. Why is this whole shebang designed in such a way that a problem in Outlook slows down Explorer? When Explorer slows down, it has a marked effect on productivity, because it is in constant use.

    It’s a relief to discover that disabling Windows search can fix the problem, as at least a temporary measure, especially since rebuilding the index takes a long time.

    Anyway, thanks to Ed and Clyde for your comments – I hope this thread proves useful to others struggling with Vista performance.

    Tim

  • Clyde Davies

    I’m not sure I was that much help, as it happens!

  • Wow, 360,000 items? How many of them are in Outlook? I’ll be interested to see if the index corruption recurs.

    Anyway, glad this is solved for now!

  • I could not find Ed’s “Windows Search index (Indexing Options, Advanced, Rebuild).”. Where is it located please ?

    Thanks,
    Julie

  • Tim

    Control Panel – Classic View – Indexing Options – Advanced button.

    Tim

  • Michael Taite

    I’m a non-techie who just bought a Dell Latitude D420 with Vista and maximum process power and it is SLOW (even at best performance/high battery power use setting). Opening the control panel in non-Classic view often takes over a minute. Opening applications takes too long and they regularly show ‘not responding’. Try opening a document direct from an email or via Windows Explorer and, most times, the computer reports that it cannot find the file. It always manages to do so, second time around. Most disappointingly, Dell are fobbing me off, first trying to refer me to Technical Services, then failing to respond to my emails. So much for “Customer Care”!

  • Tim

    Michael,

    It would be worth looking in Control Panel – Administrative Tools – Event Viewer. Any errors reported? Check the Application and System logs.

    Second, run Task Manager or Resource Monitor. Check the Processes tab – is a particular process grabbing lots of CPU? Check the Performance tab – what’s the Physical Memory usage (percentage at bottom of window)? If you have less than 1GB installed that could be the explanation.

    Tim

  • Michael Edgecombe

    Tim,

    I have had significant problems with Vista performance on a brand new Dell Pentium D machine, so tried disabling Windows Search as suggested.

    I am still waiting to see whether it improves Vista performance generally, but I have noticed that Word documents now save much faster – I estimate Save time takes one-third to one-fifth of what it did previously.

    Disabling Windows Search is the only change I have made, so I feel fairly confident in attributing the improvement to that.

    Michael

  • James

    I too have found that disabling search removes the delay on opening windows. I also did an index rebuild and, as suggested, that has also sped things up albiet with the search on.

    There may be another dimension to this though. I notice that the network activity icon flashes in synch to the delay or whenever an explorer window is opened.

  • Pete

    In my case, it is Outlook 2007 that is consuming huge amounts of CPU. I stumbled onto this discussion this morning and so have not tried any of the suggestions yet. So far, the only fix we have found is to run Outlook in safe mode (Start/Run outlook/safe). This limits the CPU usage significantly.

  • Jim

    I tried Tim’s suggestion and notice a huge diference (increase) in speed.

    I am running Vista with MS Office 2003 and am having trouble with Outlook freezing up.

  • Sam

    I too have this issue. To test, I performed:

    1) Fresh Reboot – Documents folder opend quickly
    2) Opened Outlook (OST approx 260 MB, PST 625MB)
    3) Documents folder is now slow (10 sec)
    4) Left outlook open and disabled search.
    5) Opened Documents again. Fast!

    So, I can confirm disabling search made things faster for me. Problem is, I enjoy the search facility. Does anyone know of a fix for it?

  • Ben Caesar

    Cheers Tim

    Huge improvement overall on a 1GB Acer Dual-processor laptop immediately after disabling the search service. My guess is that there must be some memory mangement issues with this service running on lower-specced laptops. Maybe MS will improve in time with updates.

    Ben

  • I’ve had many clients complain about Vista’s disk access addiction. The main problem I have seen from a tekkie point of view is that when a system has anything less than 2GB ram and dual core CPU, Vista uses the page file. Sometimes this is due to the indexing service taking up the physical RAM, sometimes it’s due to the impact of non Vista optimized software.

    What I have found though, is that disabling alot of the scheduled tasks provides a significant boost in short term performance.
    As always though, it’s there for a reason and you will no doubt come into performance/reliability issues in 6 months time. Most people are capable of doing defrags and disk scans manually though.

    Another note…If you’re going to use the Media Center side of Vista, don’t disable the indexing service until you know all of your media is indexed. Otherwise you will spend most of your time waiting for the thumbnails to refresh!

    Steve

  • Ray

    Hi Tim
    i stopped indexing services and got the same speed increase as you did.
    thanks
    Ray

  • ravi

    Not sure about effects with Outlook – I dont use that rubbish but it’s a huge speed difference when opening and nosing around files & folders and general Vista use. It now just ‘feels’ better and more responsive! Well done!

    Ravi

  • Jordan

    Normally, I don’t comment on these boards, but I have had such a headache with my brand new Vista / Office 2007 laptop, that I thought I would share… First, Tim is right on!

    But I got to the same solution somewhat differently. After a couple hours with a Microsoft engineer….

    First off. If you are going to shut off the indexing service in Windows, you also have to shut off the indexing service in Outlook as well (it’s in the Adins area). If you don’t turn off both, one will look for the other in an endless loop, slowing the system down.

    To that end, with Outlook not open, I turned Windows indexing ON!! and then had it reindex the entire drive. Wait for it to finish the full index.

    Then I reopened Outlook, made sure that the Adin was enabled. Shut Outlook down.

    Then turned the e-mail virus scanner off.

    Then rebooted the machine and lauched Outlook.

    As unreal as it may seem, in my situation this solved EVERY problem, and my Outlook 2007 is running on par with my Outlook 2003…. maybe a tad slower.

    The indexing is the key.

  • Adam Gaunt

    Try stopping Windows Defender’s service. Doing so (on 2 machines) solved the problem you are all describing.

    I tried all suggestions above (and many others) to no avail.

    Happy New Year.

    Adam

  • Adam Gaunt

    ……cont.
    Disable Offline Files from the Contol Panel.
    Sorry – I forgot that I had also done this prior to my stopping the Defender service.
    Upon reflection (and further testing), this has made the bigger difference.

    Apologies for the false start – It is old age doing this I fear!
    Adam

  • Jon

    excellent tip, my dual core 2GB RAM media center pc has been struggling with the most basic functions of opening and populating control panel and worse, juddery DVB-TV with the disk light constantly flashing…so far, with search stopped, it’s calmed down and I can actually pretend to be watching TV, not cringing while I wait for Vi$ta to tear up the picture and audio again.
    How M$ expect people to ever adopt this shaftware as a mainstream consumer app I’ll never know, if my TV glitched like Windows, it would be back in the shop in seconds!

  • Matthew

    Tim,

    I just stopped the search/indexing service on my system and the difference is very very perceptible – however, I do not use IE or outlook, so I am with a few above posters that it is not necessarily Outlook related.

    also, it seems that every time I installed a program (that was pre-XP) my computer would slow to a crawl for the next day or so, however this problem has vanished since I stopped search. Anecdotal, I know, but probably connected.

  • John

    Tim – you’re not alone with the indexing problem. I have a Dell 1520 which started slowing down badly, outlook 2007 would start cleanly and the data file didn’t close message appeared regularly. removed all the non-microsoft add-ins to outlook and it wasn’t until I disabled windows indexing that the computer sprung back to life. At this stage I haven’t reactivated the indexing and am reluctant to until someone comes up with a positive reason. The only thing that was left running as an Outlook add-in was MS’s Business contact Manager and I’m wondering if this is/was a contributing factor – do you have it running as well?

  • Erle

    Disabling search works for me!
    The main combination that slows my machine is outlook 2007 AND word 2007 (Vista x64).

  • Chris

    Guys, The name of the game is HARDWARE!! If you have the necessary hardware, Vista will run FLAWLESSLY!! I have an AMD AthlonX2 5000 CPU, 4GB PC6400 DDR2 RAM, 320GB SATA HD, 1GB NVIDIA GeForce 8500GT Video on an ASUS Motherboard and have NO ISSUES with indexing, or any other performance issues. I have Outlook 2007 with 3 profiles 1 3GB OST, and 2 2+ GB pst files. They open right away! EVERY TIME! I’m running Vista Ultimate 64 bit edition. If you’re running less than 2GB of RAM try using the Ready-Boost feature. That has helped a lot of my friends.
    If you dont’t have a good amount of RAM, UPGRADE ASAP!!

  • Dan

    I run Vista & Office 2007… I agree… My system is MUCH faster after I turn off the search service… Microsoft has some work todo…

  • Karl

    Success at last after more than 2 years of sluggishness !

    After rebuilding the index files and removing network shared folders from indexing, my computer is now *MUCH* faster when opening folders ( 2GB with a typical lag of 9 seconds. Task manager even reported memory hard faults during this time period.

    Once a folder had been opened, opening it again during the same session resulted in the folder opening instantly.

    Brief System Info:
    —————–
    MS VISTA SP3
    Memory: 4GB
    CPU: AMD X2 4800
    HD: 640GB

    MS Outlook not installed.
    Fancy Icon views disabled.
    Anti-Virus : AVG
    Firewall : Comodo

    THANKS
    ——-
    Thank you Tim and others for
    correcting this VERY irritating
    problem. Opening Folders still
    seems slower than my most ancient
    1GHz laptop running Win XP, but
    is now at an acceptable level.

  • Brian

    Thank you very much. I’ll try this immediately to see if there is any difference. I don’t use Windows Search since I have lookeen which is an Outlook as well as a Desktop search tool so if disabling Windows Search makes my computer faster, let’s give it a try.

  • ss

    Just want to let you guys know.
    MY vista was a lot smoother after some service patches in 2008/9.
    So in a hardsik restoration i didn’t bother to disable the indexing.

    Recently it became unbearably slow again. heavy sounds of hardisk/fan almost everyday. system slowed to a crawl.

    i disabled indexing again and it is back to normal. there must be something MS did very wrong and triggered some endless indexing loop, i suspect.