Since updating one PC to Windows 10 Creators Edition, I've been unable to backup to Server 2012 Essentials R2.
Event Viewer has multiple pairs of VSS errors 22 and 12292:
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 {3e02620c-e180-44f3-b154-2473646e4cb8} and Name SW_PROV is [0x80040154, Class not registered
].
Operation:
Obtain a callable interface for this provider
Add a Volume to a Shadow Copy Set
Context:
Provider ID: {74600e39-7dc5-4567-a03b-f091d6c7b092}
Class ID: {3e02620c-e180-44f3-b154-2473646e4cb8}
Snapshot Context: 4194304
Execution Context: Coordinator
Volume Shadow Copy Service error: Error creating the Shadow Copy Provider COM class with CLSID {3e02620c-e180-44f3-b154-2473646e4cb8} [0x80040154, Class not registered
].
Operation:
Obtain a callable interface for this provider
Add a Volume to a Shadow Copy Set
Context:
Provider ID: {74600e39-7dc5-4567-a03b-f091d6c7b092}
Class ID: {3e02620c-e180-44f3-b154-2473646e4cb8}
Snapshot Context: 4194304
Execution Context: Coordinator
After searching for possible answers to the problem I tried running the following from an elevated command prompt:
CD \Windows\System32
net stop vss
net stop swprv
regsvr32 ole32.dll
regsvr32 vss_ps.dll
vssvc /register
regsvr32 /i swprv.dll
regsvr32 /i eventcls.dll
regsvr32 es.dll
regsvr32 vssui.dll
regsvr32 msxml.dll
regsvr32 msxml3.dll
regsvr32 msxml4.dll
But this returns an error as follows:
"The module "swprv.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070715."
Searching for this produced only the following advice:
1. Run following command to get the software provider service back. “sc create swprv binpath= “%systemroot%\system32\svchost.exe –k swprv” “sc config swprv Displayname= “Microsoft Software Shadow Copy Provider”
2. Export the Swprv service related registry from a working machine (windows 2008 R2). Then Import the swprv registry to the problematic server. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\swprv
But this assumes knowledge I don't have (is the command in (1) supposed to be run from a command prompt? Powershell?. Also the version of Windows Server in (2) is wrong. How to Export and Import?)
This seems to be a fairly common problem coinciding with Windows updates, but with no solution that doesn't require postgraduate level Windows sorcery.
I'd be grateful for some step-by-step instructions on how to fix this.