The shadow copy provider had an unexpected error

Reading Time: 2 minutes

If you receive one of the errors below within backup exec or the event log, the fix can be found below. Please be careful when making changes to a live system, if unsure please seek help.

1) Click Start
2) Click Run
3) Type cmd, and click OK.
4) Type the following commands at a command prompt. Press enter after each command.

  • cd /d %windir%\system32
  • Net stop vss
  • Net stop swprv
  • regsvr32 ole32.dll
  • regsvr32 oleaut32.dll
  • regsvr32 vss_ps.dll
  • vssvc /register
  • regsvr32 /i swprv.dll
  • regsvr32 /i eventcls.dll
  • regsvr32 es.dll
  • regsvr32 stdprov.dll
  • regsvr32 vssui.dll
  • regsvr32 msxml.dll
  • regsvr32 msxml3.dll
  • regsvr32 msxml4.dll

Note The last command may not run successfully.

5) Perform a backup operation to verify that the issue is resolved.

Errors:
Error returned while creating the volume shadow copy:0xffffffff
Error 0x8004230F: The shadow copy provider had an unexpected error while trying to process the specified operation.
.
Error 0x80004002: No such interface supported
.
Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy Service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow Copy provider. The error returned from CoCreateInstance on class with CLSID {faf53cc4-bd73-4e36-83f1-2b23f46e513e} and Name VSSEvent is [0x80040154].
.
Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy Service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow Copy provider. The error returned from CoCreateInstance on class with CLSID {faf53cc4-bd73-4e36-83f1-2b23f46e513e} and Name VSSEvent is [0x80004002].
.
Volume Shadow Copy Service error: Unexpected error calling routine CoCreateInstance. hr = 0x80040154.
.
Volume Shadow Copy Service error: Unexpected error calling routine CoCreateInstance. hr = 0x80004002
.
Volume Shadow Copy Service error: An internal inconsistency was detected in trying to contact shadow copy service writers. Please check to see that the Event Service and Volume Shadow Copy Service are operating properly.