Hyper-V VSS error: hr=0x80070005, Access is denied
Product Version
Operating System
Symptom
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:
Open dcomcnfg.exe, expand Component Service, Computers, then right click My Computer and choose Properties.
Select the Com Security tab then click Edit Default... under Access Permissions.
Click Add..., then enter Network Service in the Enter the object names to select text box, and click OK
Confirm that only Local Access is selected, then click OK.
- Restart the Hyper-V host machine(s) for the settings to take effect.