About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
Error 0x8004230F is VSS_E_UNEXPECTED_PROVIDER_ERROR. It means the component that creates the shadow copy, the provider, returned something the Volume Shadow Copy Service did not expect. Veeam's knowledge base says the usual cause is a third-party VSS provider on the machine. Work out which provider failed before removing anything.
What the error means
A VSS provider is the component that actually makes the shadow copy. Windows ships a software provider, and storage arrays and backup products can register their own. Microsoft's provider documentation lists the return values a provider may use. It adds: "If the provider returns an error code that is not expected (for example S_FALSE, E_FAIL, E_UNEXPECTED, or E_ABORT), VSS writes an event into the event log mentioning the provider and failed method and translates the error to VSS_E_UNEXPECTED_PROVIDER_ERROR before returning to the requester."
So the number you see in the backup product is a translation. The useful detail is the event that VSS wrote to the Application log at the same moment, naming the provider and the method that failed.
Microsoft's page for IVssProviderCreateSnapshotSet::EndPrepareSnapshots says the same thing from the provider side: "If any other value is returned, VSS will write an event to the event log and convert the error to VSS_E_UNEXPECTED_PROVIDER_ERROR." Its IVssBackupComponents::DoSnapshotSet page describes the result for a caller as "The provider returned an unexpected error code. This can be a transient problem." and recommends waiting ten minutes and trying again, up to three times. A fault that clears on a retry points away from a permanently installed provider, and one that returns every time points at it. That is advice, not Microsoft's wording.
The provider page also says that if any provider fails a shadow copy on any volume in the set, "the creation of the entire shadow copy set fails". One bad provider therefore stops the whole backup, not just one volume.
The message text appears on a Microsoft Learn archive page for Windows Server 2003 as "Error 0x8004230F: The shadow copy provider had an unexpected error while trying to process the specified operation." On that page it sits beside events showing a VSS component that is not registered (CoCreateInstance errors), which is a second route to the same code.
In Veeam's KB1785 the failure appears as Failed to prepare guest for hot backup, Error: VSSControl: -2147212529, and VSS error: VSS_E_UNEXPECTED_PROVIDER_ERROR. Code:0x8004230f. Veeam says a shadow copy is requested during the Application-Aware Processing stage of the job, and a third-party provider "may fail to create the shadow copy".
Likely causes
| Cause | What you see | How to confirm |
|---|---|---|
| A third-party VSS provider is registered | Job fails at the shadow copy request with 0x8004230F | vssadmin list providers shows more than Microsoft's provider |
| A provider left behind after a conversion | Same error on a machine moved from Hyper-V to VMware | The provider list shows the Hyper-V IC Software Shadow Copy Provider |
| The VSS event class is not registered | VSS events about CoCreateInstance | Application log events from source VSS name CoCreateInstance |
| Services disabled | VSS operations fail | Volume Shadow Copy and Microsoft Software Shadow Copy Provider are not set to Manual |
Prove the cause before changing anything
Everything here only reads. Run it in an elevated command prompt on the machine that failed, not on the backup server.
- List the registered providers. Microsoft's page says
vssadmin list providerslists registered volume shadow copy providers.
vssadmin list providers
A good result shows only Microsoft's own provider. A bad result shows a second name from a storage array, a backup agent or a replication product. Veeam's KB1785 gives a non-exhaustive list of providers customers reported removing, including Acronis VSS SW Provider, Backup Exec VSS Provider, Data ONTAP VSS Hardware Provider, Dell EqualLogic VSS HW Provider, Nimble Storage VSS Provider and StorageCraft Volume Snapshot Software Provider.
- Read the registry record of providers. Veeam says the list lives under
HKLM\SYSTEM\CurrentControlSet\Services\VSS\Providers\. Microsoft'sreg querypage gives the syntax.
reg query HKLM\SYSTEM\CurrentControlSet\Services\VSS\Providers
Each subkey is one provider. Compare with step 1.
-
Read the Application log. Microsoft's provider page says a provider that hits a fault "must log an error to the Application event log", so the provider's own event is the first clue to which one failed. Open Event Viewer, expand Windows Logs, select Application, and filter on source VSS. Look at events with the same date and time as the failure. Microsoft's guidance for related VSS events is to find the events near the failure and follow their help text.
-
Check the writers.
vssadmin list writerslists the subscribed writers. If it lists none, go to the VSS event 8193 route below rather than the provider route.
vssadmin list writers
- Check startup types. Veeam says "Microsoft Software Shadow Copy Provider" and "Volume Shadow Copy" must have startup type Manual, and that Disabled impacts VSS operations. In services.msc, a changed value here is a finding in itself.
Fix
Veeam says it cannot directly recommend removing a VSS provider, because it cannot account for every reason a provider is present. Its guidance is to find out why the provider is installed and then choose between removing it and turning off Application-Aware Processing for the job. Veeam also notes that the Volume Shadow Copy Service must be stopped before a provider is removed.
Remove the extra provider
First save the current state:
vssadmin list providers > vss-providers-before.txt
reg export HKLM\SYSTEM\CurrentControlSet\Services\VSS\Providers vss-providers-before.reg
Disruptive step: the next action uninstalls the product that registered a shadow copy provider. Anything that relied on that provider, such as array-based snapshots or another backup agent, stops working until the product is reinstalled.
Before the uninstall, stop the Volume Shadow Copy Service, because Veeam says it must be stopped before a provider is removed (Veeam's page does not say whether a product's uninstaller does this for you). Uninstall the product that owns the provider, using that product's own uninstaller, then restart the server if the uninstaller asks.
For the Hyper-V IC Software Shadow Copy Provider, Veeam says customers reported the error stopped once it was removed, but gives no removal method. The uninstaller step above does not cover it. Ask the VM's platform vendor or Veeam Support how to remove it.
To undo it: start the Volume Shadow Copy Service again if it was left stopped, reinstall the product from its installer, then run vssadmin list providers and compare the result with vss-providers-before.txt. The .reg file records the registration entries that existed; it does not restore the product's files.
Bypass application-aware processing
In KB1377 Veeam says that disabling application-aware image processing gives crash-consistent backups as a temporary workaround. The VM is then protected without application consistency, so databases and mail stores recover as if after a power failure. KB1377 points to the Veeam user guide's overview of Transaction Consistency for the setting and gives no steps, so none are given here. The steps, with a saved copy first, a warning and a way back, are in Veeam "VSSControl: Failed to freeze guest, wait timeout": the freeze window and the 900-second prepare timeout. Treat this as a stop-gap and keep the provider investigation open.
The event class is not registered
When the Application log shows CoCreateInstance errors and no writers, the cause is a damaged VSS event registration, not a provider. The steps are in VSS event 8193 "Unexpected error calling routine": read the routine name and hr code.
Example (illustrative): fs01 is a Windows file server backed up from VMware. The job fails with VSS error: VSS_E_UNEXPECTED_PROVIDER_ERROR. Code:0x8004230f. On fs01, vssadmin list providers shows two entries: Microsoft's provider and one named "Example Array VSS Provider" from a storage agent retired two years ago. reg query shows two subkeys under Providers, matching the two names. The Application log has a VSS event at the failure time naming the second provider. The engineer saves the provider list, uninstalls the old agent, restarts fs01, and confirms with vssadmin list providers, which now shows one entry.
Confirm the fix
vssadmin list providersshows only the providers you intend to keep.vssadmin list writerslists writers and each reports a stable state.- Run the backup job again. A completed shadow copy step with no VSS error in the Application log is the proof. Veeam's KB1980 explains how to test a shadow copy by hand with Diskshadow on Windows Server if you need to separate the job from VSS.
What to watch afterwards
- Any new backup, replication or storage agent installed on the server may register a provider again. Check
vssadmin list providersafter installing one. - Machines converted from Hyper-V to VMware can carry the Hyper-V IC Software Shadow Copy Provider.
- Keep the saved provider list as the known-good record for the server, and compare the subkeys of the provider key with the saved
.regfile after software changes; a new subkey is a new provider.
Read next
Related articles you may want next.
- Backup & RecoveryVSS Writer Failed? Diagnose It Before the Next BackupWindows VM backup failed at the VSS stage? Read each writer's state, phase and last error, find the owning service, and decide the fix before the next run.Read article
- Backup & Recovery'The shadow copies of volume were deleted': volsnap events 25, 33 and 36 and shadow copy storage that cannot growVolsnap event 25, 33, 35 or 36 and shadow copies deleted: what each event means, vssadmin checks, and how to resize or move shadow copy storage safely.Read article
- Backup & RecoveryWindows Server Backup fails with 0x807800C5 or 0x80780119: preparing the backup image and shadow copy spaceWindows Server Backup 0x807800C5 or 0x80780119: what each code means, how to find the real cause in the event logs, and how to fix space and image faults.Read article
Risks and limits
- These commands have not been run or lab-tested.
- The exact message text comes from a Microsoft Learn archive page about Windows Server 2003. Microsoft's current provider documentation names the code
VSS_E_UNEXPECTED_PROVIDER_ERRORbut does not repeat the sentence. - Veeam's page lists providers customers reported as the cause, not a verified list. A provider on that list is not necessarily the one failing on your server.
- Removing a provider can break the product that installed it. Confirm what depends on it first.
- Microsoft and Veeam give no step for removing a provider by hand, so none is given here.
NetLeverage includes a daily full disaster-recovery backup of each hosted server at no extra charge. Talk to an engineer.
Sources
- 0x8004230F or Error: VSSControl: -2147212529 (VSS_E_UNEXPECTED_PROVIDER_ERROR) — Veeam Support Knowledge Base, KB1785, last modified 30 December 2024, accessed 2 December 2026
- Error Handling in Shadow Copy Providers — Microsoft Learn, last updated 7 January 2021, accessed 2 December 2026
- Various issues may occur on a Windows Server 2003-based computer that is running the Volume Shadow Copy Service — Microsoft Learn archive, last updated 21 March 2011, accessed 2 December 2026
- IVssProviderCreateSnapshotSet::EndPrepareSnapshots method (vsprov.h) — Microsoft Learn, last updated 22 February 2024, accessed 2 December 2026
- IVssBackupComponents::DoSnapshotSet method (vsbackup.h) — Microsoft Learn, last updated 13 October 2021, accessed 2 December 2026
- vssadmin — Microsoft Learn, last updated 8 September 2026, accessed 2 December 2026
- Event ID 8193 — Volume Shadow Copy Service Operations — Microsoft Learn, last updated 27 January 2011, accessed 2 December 2026
- reg query — Microsoft Learn, last updated 3 February 2023, accessed 2 December 2026
- reg export — Microsoft Learn, last updated 3 February 2023, accessed 2 December 2026
- VSS Freeze Wait Timeout — Veeam Support Knowledge Base, KB1377, last modified 9 December 2024, accessed 2 December 2026
- Using the Diskshadow Utility to Manually Test VSS Operations — Veeam Support Knowledge Base, KB1980, last modified 23 June 2025, accessed 2 December 2026
This article was originally published on .