Search Host Controller Service in “Starting” state (SharePoint 2013) RRS feed

  • Question

  • I cant start Search Host Controller Service in SharePoint 2013. I used following power shell commands. but still same 

    $inst = Get-SPServiceInstance | ? {$_.TypeName -eq "Search Host Controller Service" } | ? { $_.PrimaryHostController -eq $true }
    $sh = Get-SPServiceInstance | ? {$_.SearchServiceInstanceId -eq $inst.SearchServiceInstanceId.ToString()}

    also I used this .. but didnt work

    $SA = Get-SPServiceInstance | Where {$_.Status -like “Provisioning”}

    and showing this error in powershell 

    Exception calling "Provision" with "0" argument(s): "Time out has expired and the operation has not been completed."

    when I use this code 

    $acl = Get-Acl HKLM:\System\CurrentControlSet\Control\ComputerName       

    $person = [System.Security.Principal.NTAccount] "Users"

    $access = [System.Security.AccessControl.RegistryRights]::FullControl

    $inheritance = [System.Security.AccessControl.InheritanceFlags] "ContainerInherit, ObjectInherit"

    $propagation = [System.Security.AccessControl.PropagationFlags]::None        

    $type = [System.Security.AccessControl.AccessControlType]::Allow        

    $rule = New-Object System.Security.AccessControl.RegistryAccessRule($person, $access, $inheritance, $propagation, $type)        


    Set-Acl HKLM:\System\CurrentControlSet\Control\ComputerName $acl

    $sh = Get-SPServiceInstance | ? {$_.TypeName -eq "Search Host Controller Service"}



    I am getting
    Exception calling "Unprovision" with "0" argument(s): "The executing code must run on server Server02."

    • Edited by Lasanthajn Tuesday, March 3, 2015 10:30 AM
    Tuesday, March 3, 2015 10:27 AM

All replies

  • Hello Lasanthajn,

    what is inside application and ULS logs? What is the status of the SP Search Host Controller service in services.msc?

    You could try to stop the following services via services.msc in this order:

    1. Timer service

    2. SP Server Search 15

    3. SP Search Host Controller

    and start them in reverse order. Let us know about the result.

    You could also check if search service application is working fine, if the SP environment is new you could try to rebuild Search. Please make sure that you are executing the aforementioned cmdlets on server where search service is running.


    Wednesday, March 4, 2015 6:24 AM
  • Didnt work.. !! Is that issue with dotnet 3.5?
    Wednesday, March 4, 2015 3:00 PM
  • SharePoint 2013 is using .NET 4.5.

    What about application and ULS logs? Without any error messages we can't guess what the root cause is!

    What servers your environment consists of? App, WFE and SQL. 

    You could try to rebuild search service also.

    Wednesday, March 4, 2015 3:27 PM
  • Thank you. It worked on SP 2016.
    Tuesday, August 20, 2019 8:19 PM