Symptoms
Agent Installation fails with a copy failed error when attempting to install an agent on a remote machine using the machine view in the Protect Console.
ST.ServiceHost.managed.log file shows the following messages and errors:
MachineDeployment.cs:494|Copying critical file 'C:\ProgramData\LANDESK\Shavlik Protect\Console\DataFiles\STRemoteCommand.exe' to '\\A1958\C$\Windows\TEMP\a56029841e1f424595baf81c08fe54c5\STRemoteCommand.exe'.
MachineDeployment.cs:996|Run Remote Task failed to create the remote command service. Error code - 0x[431]
DeploymentService.cs:348|Marked deployment 'c505512c-9d85-45de-b60b-b8da7efbf884' complete
AgentDeployment.cs:177|A1958: System.ComponentModel.Win32Exception (0x80004005): Failed to create service 'STRemoteCommand'
Shavlik Protect Operations Monitor shows the following under the Agent Installation tab
Cause
Run Remote Task on the Protect Console is unable to overwrite a previously installed "remote command service" STRemoteCommand.exe on the target machine
Resolution
Manually deleted the old remote command service on the target machine running the following command from the command line on the Protect Console
sc \\machinename delete stremotecommand
Affected Product(s)
Protect 9.X