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
)
$acl
.AddAccessRule(
$rule
)
Set-Acl
HKLM:\System\CurrentControlSet\Control\ComputerName
$acl
$sh
=
Get-SPServiceInstance
| ? {
$_
.TypeName
-eq
"Search Host Controller Service"
}
$sh
.Unprovision()
$sh
.Provision(
$true
)
Thanks
Deleted any photos? Easily fix it using this Product