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

Cannot Register Management Service. The Specified Service Has Been Marked for Deletion.

$
0
0

Cannot Register Management Service.
The Specified Service Has Been Marked for Deletion.

KB ID: 1929
Product: Veeam Backup & Replication | 11
Published: 2014-09-24
Last Modified: 2022-06-04

Challenge

A Backup or Replication job using Application-Aware Processing fails with an error similar to:
Failed to prepare VM for processing: Unable to perform installation
Unable to register and start service. Attempt 10 of 10
Cannot register management service. Service name: [VeeamVssSupport].
Cannot create service. Machine: [hostname.domain.tld]. Service name: [VeeamVssSupport]. Service binary path: [C:\Windows\VeeamVssSupport\VeeamGuestHelper.exe]. Service account: [].
Cannot create service.
Win32 error:The specified service has been marked for deletion.
Code: 1072 (System.Exception)

Cause

The VeeamVssSupport service cannot be installed because the VeeamVSSSupport service is still present from a previous job run and is marked for deletion by the OS. The service becomes marked for deletion by the OS when the OS fails to process the service delete request that the previous job run sent.

By default, Non-Persistent Runtime Components are used by Veeam Backup & Replication when performing Application-Aware Processing. A connection is made to the Guest OS during each backup job run, and the VeeamVSSSupport service is installed. When the VM is done being processed, Veeam Backup & Replication sends a request for the VeeamVSSSupport service to be deleted.

Solution

Reboot the VM's guest OS to allow Windows to remove the VeeamVSSSupport service that is marked for deletion.

More information

If this issue frequently recurs for a specific VM, consider switching from Non-Persistent Runtime Components to Persistent Runtime Components. When using Persistent Runtime Components, the VeeamVSSSupport service is not removed after each job run and is left present within the Guest OS, ready for the next job run.

To enable the use of Persistent Runtime Components:

  1. Ensure the VeeamVSSSupport service is not stuck marked for deletion. If it is, reboot the VM.
  2. Enable Use persistent guest agent within the job for that specific VM.
  3. Manually install the Veeam Installer Service on the VM
    The VeeamInstallerSvc.msi is located on the Veeam Backup Server in:
    C:\Program Files\Veeam\Backup and Replication\Backup\Packages
     

With "Use persistent guest agent" enabled in the job and the Veeam Installer Service installed, during the next run of the job, the VeeamVSSSupport service will be created and will not be removed after the job completes.

Click here to send feedback regarding this KB, or suggest content for a new KB.
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