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-04
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

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)
    In rare situations, the sc delete command will only mark the service for deletion if an application such as Task Manager, Services.msc, Event Viewer, or any Microsoft Management Console is running. If the service fails to be removed and rerunning the sc delete command displays the message "marked for deletion," try closing all unneeded applications. If the "marked for deletion" situation persists, the machine may need to be rebooted so that the Windows OS can remove the service.
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.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.