In our test labs (and occasionally, at a customer’s site), we will encounter an error running the Install or Update Lync Server System wizard at Step2 : Setup or Remove Lync Server Components. The error looks something like:
This step will configure services, apply permissions, create firewall rules, etc.Executing PowerShell command: Enable-CSComputer -Confirm:$false -Verbose -Report “C:UsersadministratorAppDataLocalTempEnable-CSComputer-[2013_04_07][11_40_53].html”
HostLocalActivateTask execution failed on an unrecoverable error.
Root Cause
We have seen two primary root causes for this error:
- A failed installation of Lync that is being recovered
- Installing a fresh copy of Lync on a server which previously had Lync installed
Either way, the error is a PIA as the server has services installed which are causing the wizard all sorts of grief.
Validation of the error
- Open Lync Server Management Shell
Important: Remember to run as administrator - Execute the command Enable-CSComputer
- When the command fails, note the location of the detailed results. This will read something like:
WARNING: Detailed results can be found at “C:UsersadministratorAppDataLocalTempEnable-CSComputer-d7c83064-2a82-4db9.html - Locate and open the html file. Review the error It will read something along the lines of
Error: The service name “RTCnnnn” is already in use
Solution
The solution is to delete the services which already exist on the server.
- Open a command prompt (CMD)
Important: Remember to run as administrator - Enter the following command
sc delete RTCnnnn
Where RTCnnnn is the name of the service from the log file - Rerun the steps listed in Validation of the error above
- Repeat as necessary as there may be more than one service causing problems on your install
- Restarting the server is strongly recommended
Lync 2013 Specific Solution
For Lync 2013, we have identified 6 services which consistently cause the HostLocalActivateTask error. For Lync 2013, we recommend you perform the following solution:
- Open a command prompt (CMD)
Important: Remember to run as administrator - Enter the following commands (execute each separately)
sc delete RTCCAS
sc delete RTCCAA
sc delete RTCCPS
sc delete RTCRGS
sc delete RTCPDPAUTH
sc delete RTCPDPCORE
sc delete RTCATS - Restarting the server is strongly recommended
I had the same issue and final solution included running also this command:
sc delete RTCATS
Hi,
It was a professional solution. I didn’t find this solution in any froums.
It worked for me but + sc delete RTCATS
and the important part is that you must “RESTATR” the server after delete the services and the run the step 2.
Thank you for the feedback! We have incoporated your suggestions into our original post.
So, I don’t realy understand … but I got the following error.
Enable-CsComputer : HostLocalActivateTask execution failed on an unrecoverable error.
I was running ‘enable-cscomputer’ via the lync management shell. I immediately went to the deployment wizard and ran step 2. It succeeded. I then went back to the same powershell window … and selected “enable-cscomputer’ again. this time, it was successful. I do not know why I did not have to run the PITA commands that you guys had to run. I’m relieved, but confused. (post Feb 2015 CU on 3 node Ent Pool)