Article ID: kb00178Last Modified: 22-Aug-2024

An Error Occurred While Trying To Communicate with VSS Writer (code 2411)

Situation

A backup plan terminates with the following error: VSS error. An error occurred while trying to communicate with VSS writer

Solution

  1. Open registry editor (in the command prompt, type Regedit).
  2. Navigate to Computer -> HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet ->Services ->VSS.
  3. Right-click on Computer -> HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services ->VSS, then select Permisssions...
  4. In the Permissions dialog box, click Advanced.
  5. Take ownership on the selected key as well as subkey: click change link near Owner caption, select current interactively logged in user e.g. Administrator, select Replace owner on sub-containers and objects checkbox, then click Apply/OK.
  6. Navigate to Computer -> HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> VSS -> Settings key.
  7. Delete MaxXmlDocumentSizeMB value.
  8. Export key Computer -> HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services ->VSS to .reg file.
  9. Delete Computer -> HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> VSS key entirely.
  10. Import previously created .reg file.
  11. Restart Volume shadow copy service.
  12. Run the backup plan again.
https://git.cloudberrylab.com/egor.m/doc-help-kb.git