VSS Error. Access Denied (code 2412)

Situation

A backup plan terminates with the following error: VSS error. Access denied

Cause

The error is most likely related to the lack of permissions of the Volume Shadow Copy service.

Solution

First, determine the account under which the Backup service is run. To do this, proceed as follows:

  1. In the search field of a Windows taskbar, type services.msc, then run it.

  1. Find the CloudBerry Backup Service, right-click on it, then select Properties.
  2. In the Properties window, switch to the Log On tab.

  1. Click OK.

Then, grant the account under which the Backup Service is run and NETWORK SERVICE access to the machine Component Services. To do this, proceed as follows:

  1. Open the Component Services management panel (in the Windows command prompt, run dcomcnfg).
  2. Navigate to Component Services -> Computers > My Computer nodes.
  3. Right-click on My Computer, then select Properties.
  4. In the Properties box, switch to the COM Security tab.
  5. In the Access Permissions options group, click Edit Default....
  6. In the Access Permissions property box, add the account under which the Backup Service is run and Network Service users (if they are not in the list), and grant them the Local Access permission by selecting the appropriate check box.

  1. Restart the computer.
  2. Run the backup plan again.
https://git.cloudberrylab.com/egor.m/doc-help-kb.git