Please come back for more

When trying to create system state you get Windows Backup failed to create the shared protection point and VSSADMIN list shadows return unexpected provider error

 

 

When trying to create system state backup you might get errors regarding the Volume Shadow Copy state :

Event 22, VSS

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

Event 12292, VSS

Volume Shadow Copy Service error: Error creating the Shadow Copy Provider COM class with CLSID {some id, Class not registered
].

Event 12293, VSS

Volume Shadow Copy Service error: Error calling a routine on a Shadow Copy Provider {some id}. Routine details Error calling Query(). [0x80070006] [hr = 0x80070006, The handle is invalid.
].

Event 517, Backup

The backup operation that started at ‘‎2019‎-‎09‎-‎10T10:54:55.370000000Z’ has failed with following error code ‘0x8078006B’ (Windows Backup failed to create the shared protection point on the source volumes.). Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.

 

Also when running :

vssadmin list shadows

You get error like:

In my case the problem was on registry key :

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers

Under this key all the VSS providers listed, in a normal default state there should be only one but if you have installed 3th party backup software you might get more, before playing around with the registry please export this key for backup and restore options. you should eliminate the rough provider, start delete the providers key & restart VSS service each time and then test the result of the :

vssadmin list shadows

Until you get the right list of shadows without any errors.If you will want to re-register the Volume Shadow Copy service use this command :

cd c:\windows\system32

Net Stop VSS
 Net Stop SWPRV



regsvr32 /s ole32.dll
 regsvr32 /s oleaut32.dll
 regsvr32 /s vss_ps.dll
 vssvc /register
 regsvr32 /s /i swprv.dll
 regsvr32 /s /i eventcls.dll
 regsvr32 /s es.dll
 regsvr32 /s stdprov.dll
 regsvr32 /s vssui.dll
 regsvr32 /s msxml.dll
 regsvr32 /s msxml3.dll
 regsvr32 /s msxml4.dll
 vssvc /register

Net Start SWPRV
 Net Start VSS

re-registering  VSS components like this is supported on Windows Server 2008 / 2012/ R2 and on Windows Server 2016.

 


Good Luck

Leave a Reply

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