[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


How to kill a bad discovery search?

Posted on 2011-10-12
Medium Priority
Last Modified: 2015-07-07
I made the mistake of including too many search criteria into an "All Mailboxes" discovery search.  Since I started the search yesterday msftesql.exe has been running at 80% utilization even though the search officially "timed out."  Reboot did not solve the problem.  

How do I kill this rogue search?  I'm unable to stop it via the /ecp reporting tab because as far as its concerned the search has timed out and died.
Question by:zenthemighty
  • 2
LVL 17

Accepted Solution

lucid8 earned 2000 total points
ID: 36962896
Assume you are talking about Exchange 2010?  if so...

Stop-MailboxSearch -Name "DiscoveryName"


Assisted Solution

zenthemighty earned 0 total points
ID: 36963410

Thanks for the reply.  I had tried that already and as far as Exchange was concerned, the search was stopped.  Problem was that it didn't tell the indexer to stop.   I tried stopping the indexing service but it wouldn't stop, so I finally set it to manual and just killed the process.   I then bounced the server gave it a couple minutes to do its thing, and then restarted the indexing service.  All appears to be well now.
LVL 17

Expert Comment

ID: 36963450
Very odd...How long did you wait post STOP command?  sometimes there is a buffer and it takes time to stop, other times you have to do the brute force method you employed!  Tech is frustrating at times eh?
LVL 19

Expert Comment

by:Delphineous Silverwing
ID: 40870001
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

873 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