VSS Writer Is Not Registered (code 2413)

Applies to: Windows Server 2012 R2

Situation

A backup plan terminates with the following warning: An error occurred while loading a certificate for STARTTLS

The Event log contains the following IDs: 10101, 10102, 12322, and the following records: Failed to create the backup of virtual machine 'n'. (Virtual machine ID {GUID}) Event ID 10102, Failed to change state of virtual machine 'n'. (Virtual machine ID {GUID}) Event ID 10101.

Cause

To back up Hyper-V virtual machines from the parent partition on Windows Server by using Windows Server Backup, you must register the Microsoft Hyper-V VSS writer with Windows Server Backup.

Solution

Note that in some cases several VSS errors can occur at the same time, and the recommendations described below may not be helpful

Follow Microsoft best practices to work around the case. Refer to the How to back up Hyper-V virtual machines from the parent partition on a Windows Server computer by using Windows Server Backup chapter at docs.microsoft.com

Note that the procedures above can be changed by Microsoft

To register the Hyper-V VSS writer with Windows Server Backup, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion.
  3. Right-click CurrentVersion, point to New, and then click Key.
  4. Type WindowsServerBackup, and then press ENTER.
  5. Right-click WindowsServerBackup, point to New, and then click Key.
  6. Type Application Support, and then press ENTER.
  7. Right-click Application Support, point to New and then click Key.
  8. Type {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}, and then press ENTER.
  9. Right-click {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}, point to New, and then click String Value.
  10. Type Application Identifier, and then press ENTER.
  11. Right-click Application Identifier, and then click Modify.
  12. In the Value data box, type Hyper-V, and then click OK.
  13. On the File menu, click Exit.

Once you are done with these steps, run the backup plan again.