Unexpected error querying for the IVssWriterCallback interface. Access is denied (Hyper-V VM backup / restore)

Description

When performing a backup or restore of a Hyper-V guest virtual machine, the following error message is logged in the Window Event Viewer:

Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied

Although, there are VSS related errors the Hyper-V guest backup / restore jobs was completed successfully without any warnings or errors.

Cause

This VSS related error is caused by a Window VSS configuration issue.

Note: This error does not affect the integrity of the guest virtual machine backup or restore job.

Resolution

To resolve this problem:

  1. Open dcomcnfg.exe, expand Component Service, Computers, then right click My Computer and choose Properties.



  2. Select the Com Security tab then click Edit Default… under Access Permissions.



  3. Click Add…, then enter Network Service in the Enter the object names to select text box, and click OK.



  4. Confirm that only Local Access is selected, then click OK.



  5. Restart the Hyper-V host machine(s) for the settings to take effect.

Keywords

Hyper-V, guest VM, VSS, access denied, network service

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top