VSS Writer Is Not Registered (code 2413)

Applies to: Windows Server 2012 R2

Situation

A backup plan terminates with the following warning: VSS Writer Is Not Registered

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

Probably, the Hyper-V VSS Writer is not registered.

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

Before editing the registry, back it up to avoid possible issues. To do this, proceed as follows:

  1. From the Start menu, type regedit.exe in the search box, and then press Enter.
  2. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
  3. In Registry Editor, locate and click the registry key or subkey that you want to back up.
  4. Click File > Export.
  5. In the Export Registry File dialog box, select the location to which you want to save the backup copy and then type a name for the backup file in the File name field.
  6. Click Save.

Once the registry is backed up, proceed to the solution.

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.