Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Failed to start service ‘VeeamDeploySvc’ - The system cannot find the file specified.

$
0
0

Failed to start service ‘VeeamDeploySvc’ - The system cannot find the file specified.

KB ID: 2263
Product: Veeam Backup & Replication | 9.0 | 9.5 | 10 | 11
Published: 2017-03-27
Last Modified: 2022-11-03

Challenge

When attempting to addedit, or rescan a Windows or Hyper-V server, or rescan a Protection Group that contains a Windows machine, the following error occurs:

The system cannot find the file specified.
Failed to start service 'VeeamDeploySvc'. Host: '<name>'.
--tr:Error code: 0x00000002
Failed to start deployment service on the target host
--tr:Failed to install service [VeeamDeploySvc] was not installed on the host [<name>].
Error During Windows Server Edit
Cannot connect to <name> Details: The system cannot find the file specified. Failed to start service 'VeeamDeploySvc'. Host: '<name>'. Failed to start deployment service on the target host.
Rescan PG

Cause

Note: VeeamDeploySvc, Veeam Deployment Service, and Veeam Installer Service are all names for the same service.

When Veeam Backup & Replication attempts to interact with a Windows machine, it will first attempt to contact the Veeam Deployment Service on its default port of 6160. If that fails, it will then connect to the Windows machine via RPC and check if the VeeamDeploySvc is present, and if present, attempt to start the service. If the service is not present, Veeam Backup & Replication will install the Veeam Deployment Service and initiate a connection to that service over port 6160.

The errors discussed in this article occur because the VeeamDeploySvc, also known as Veeam Installer Service, is detected as being present but cannot be started due to an OS-level issue.

Solution

Verify Issue

The following steps are to be performed on the remote machine that Veeam Backup & Replication is failing to connect to.

  1. Open Services.msc and verify that the Veeam Installer Service (VeeamDeploySvc) is present and in a stopped state.
Installer Service
  1. Attempt to Start the Veeam Installer Service.
  2. It should fail with the error:
    Windows could not start the Veeam Installer Service service on Local Computer.
    Error 2: The system cannot find the file specified.
    
Service Start Failure

Resolution

  1. Open an Administrative Command Prompt on the remote machine.
  2. Run the following command to delete the Veeam Installer Service (VeeamDeploySvc)
sc delete VeeamDeploySvc
sc delete
  1. Return to the Veeam Backup & Replication Console and repeat the action that caused the error to appear.

    For Windows/Hyper-V Managed servers, edit the machine's entry and next, next, finish throgh the steps of the Edit Server Wizard.
  2. Veeam Backup & Replication will attempt to reach the remote machine, and now that the VeeamDeploySvc is not present, the software will redeploy the service.

More Information

As noted in the Cause section, when Veeam Backup & Replication first attempts to contact a Windows server, it will do so by attempting to reach the Veeam Installer Service on port 6160. If that port cannot be reached, or the service is not started on the remote machine, some tasks may fail with a different error:

RPC function call failed. Function name: [GetSvcVersion]. Target machine: [
                        :6160].
                       
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Viewing all articles
Browse latest Browse all 4362

Trending Articles