SharePoint 2013 – Could not connect to Search HostController error

When i try to move the Search crawler and other component to different server i got this error. The below powershell command solved the issue

$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"}









Deleted any photos? Easily fix it using this Product

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s