Veeam Backup & Replication, job fails with message “Cannot register management service … VeeamVssSupport”

Last week, I encountered a situation where one of the VMs in a Veeam Backup & Replication job failed time after time. The Job summary showed this message:

The essential part of this Error message:

Starting guest agent
Cannot register management service. Service name: [VeeamVssSupport].
Cannot create service. Machine: [<IP address>]. Service name: [VeeamVssSupport].
Service binary path: [C:\WINDOWS\VeeamVssSupport\VeeamGuestAgent.exe].
Service account: [].
Cannot create service.
Win32 error: The specified service has been marked for deletion.
Code: 1072

It always surprises me that this kind of messages, contain a lot of useful information and how bad I (and I assume a lot of other people) tend to read the content.

That said, it is time to have a look at the VM in question, open the Services applet and find this one:

Windows has already changed the Startup type in “Disabled” and the Service Status is “Stopped”. Investigating the folder  C:\WINDOWS, you will notice that the folder “VeeamVssSupport” and the executable “VeeamGuestAgent.exe” no longer exist. VeeamVssSupport seems some kind of helper service and  will be uninstalled after finishing its job. As the error message states “Win32 error: The specified service has been marked for deletion.”, Windows seems unable to finish the last part of the job. For the same reason, subsequent backup jobs fail to reinstall the service and the backup job will fail.

How to solve this?
My first idea was, open the Registry Editor and remove the service entry. Unfortunately that did not work. Some blog posts advice similar actions, all without result. The official Microsoft approach is to reboot the server. Because the affected service has been marked for deletion, it was gone after the reboot.

And yes, the first backup job after the reboot was successful.

If you have any comments or remarks, please feel free to respond. Happy reading.

About these ads

3 Responses to Veeam Backup & Replication, job fails with message “Cannot register management service … VeeamVssSupport”

  1. Iker says:

    Hello,
    In my case the error appears like you but the service and the agent exists and are started correctly. Dou you know what could be happening?
    Thanks.

  2. paulgrevink says:

    Hello Iker,

    Thank you for your feedback. Concerning your question, is the error message identical? The service should not be running, because it will only run during the backup. As soon as the backup finishes, the service is removed.

    Best regards,

    Paul

  3. Luiz says:

    Hi,
    My solution…

    Use the SC command in path c\:windows\system32. List services marked for deletion (stop_pending).

    sc query type = service

    List service looking for its PID

    queryex sc

    Killing the process with taskkill / F / PID xxxxx

    List service and check in services.msc. Service eliminated.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 355 other followers

%d bloggers like this: