Article ID: kb00335Last Modified: 24-Aug-2025

How to Fix VSS

Situation

A backup plan failed with the one of the following error codes: 2405, 2422, 2415, 2416, 2417, 2418, 2419, 2401, 2402, 2404, 2407, 2409, 2410, 2425, 2412, 2411.

Cause

These errors occur when there are issues with the Volume Shadow Copy Service (VSS) in Windows.

Solution

Run the fixVSS tool to automatically resolve VSS-related problems.

fixVSS tool. How it wotks

  1. Stopping Services
    • Stops the Volume Shadow Copy (VSS) service
    • Stops the Microsoft Software Shadow Copy Provider (swprv) service
  2. Re-registering Critical DLLs that VSS relies on:
    • Registers the core OLE (Object Linking and Embedding) components.
    • Registers OLE Automation support.
    • Registers the VSS Proxy Stub DLL.
    • Attempts to re-register the VSS service (though this is not a standard Windows command; it may be a script).
    • Reinstalls the Software Shadow Copy Provider DLL.
    • Registers the Event Class DLL.
    • Registers the Event System DLL.
    • Registers the Standard WMI Provider.
    • Registers the VSS UI component.
    • Registers different versions of MSXML (used for XML processing).
  3. Fixing OLE permissions to prevent error "Unexpected error querying for the IVssWriterCallback interface.
  4. Re-registering VSS Service and Restarting Services
    • Preforms another attempt to register VSS (if the first one failed).
    • Starts the swprv service.
    • Starts the VSS service.
https://git.cloudberrylab.com/egor.m/doc-help-kb.git
Production