Your backup job failed overnight with a vague “VSS” or “writer” error, and the backup product’s log doesn’t say which component broke. Usually one Volume Shadow Copy Service (VSS) writer is stuck in a Failed or Timed-out state. You can often get it back to Stable by restarting only the service that owns that writer, without a reboot.
This runbook covers Windows Server 2016, 2019, 2022, and 2025. Microsoft’s command reference documents vssadmin as available on Windows Server generally, though it doesn’t itemize every listed release individually, so confirm the tool is present on your exact build before you rely on it.
You’ll find the broken writer with vssadmin, map it to its service, and restart that service. Then you’ll rule out shadow storage and provider problems and confirm the fix with a diskshadow test snapshot before you re-run the full backup.
Quick Reference: VSS Writer Symptoms and Fixes
| Symptom | Likely Cause | Recommended Fix |
|---|---|---|
| One writer shows Failed or Timed out | The writer’s host process is in a bad state | Restart only the owning service (Step 3) |
| System Writer missing or Failed | Bad permissions on winsxs folders | Microsoft’s takeown/icacls fix, then restart Cryptographic Services |
vssadmin list writers returns no writers | Wrong TypeLib registry value for EVENTCLS.DLL | Registry fix, with export first (Troubleshooting) |
| All writers Stable, snapshot still fails | Shadow storage full or too small | vssadmin list/resize shadowstorage (Step 4) |
| Failures began after installing a backup agent | Possible third-party provider conflict | vssadmin list providers (Step 5) |
| SQL Server writer keeps failing | Instance-specific problem | Isolate the instance; may need an app-level fix |
What Is vssadmin?
vssadmin is a command-line tool built into Windows Server. It inspects and manages VSS, the subsystem that backup software depends on. That includes Windows Server Backup, Veeam, Veritas, and others.
Each application that must be quiesced during a snapshot registers a VSS writer, provided the corresponding role, feature, or application is installed. Examples include SQL Server, Hyper-V, IIS, the registry, and the OS itself, though the exact writers present vary by server configuration. VSS calls each writer during the backup.
There’s nothing to install and no license to buy. See Microsoft’s vssadmin command reference for the full syntax.
Before You Begin
- A server running Windows Server 2016, 2019, 2022, or 2025
- Local administrator rights on that server
- An elevated Command Prompt or PowerShell session
- The time and error text from the failed backup job
- No backup job running right now (restarting VSS-related services mid-backup will fail that job)
| Requirement | Details |
|---|---|
| OS version | Windows Server 2016 or later |
| Tools | vssadmin, diskshadow, Event Viewer, Services console (all built in) |
| Permissions | Local Administrator, elevated session |
| Optional | Maintenance window, in case the fix turns out to need a reboot |
Note: This guide covers Windows Server only. Consumer Windows client troubleshooting is out of scope.
Step-by-Step Guide
Step 1: Open an Elevated Session and List VSS Writers
Click Start and type PowerShell or cmd. Right-click the result, choose Run as administrator, and approve the UAC prompt. If you skip elevation, vssadmin won’t report accurate writer data.
Run this command:
vssadmin list writers
Do this before you restart anything. Writer state resets when the owning process restarts, so grab the evidence first. To save it to a file:
# Saves the current writer state for later comparison
vssadmin list writers > C:\Temp\vss-writers-before.txt
The output lists one block per writer. Here’s an illustrative example; your GUIDs and error text will differ:
Writer name: 'System Writer'
Writer Id: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
Writer Instance Id: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
State: [1] Stable
Last error: No error
Writer name: 'SqlServerWriter'
Writer Id: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
Writer Instance Id: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
State: [8] Failed
Last error: Timed out
Step 2: Read the State and Last Error Fields
Two fields matter in each block:
- State:
[1] Stablemeans the writer is idle and ready. A state such as Failed means the writer reported a problem during its last backup. A Timed out value means it didn’t respond to VSS in time. - Last error:
No erroris healthy. Any other value tells you how the last operation failed.
Tip: Read the text label and ignore the number in brackets. Microsoft’s own KBs show different numeric codes for Failed (for example,
[9] Failedin one Hyper-V guest article). The word “Stable” or “Failed” is what counts.
Next, confirm the failure in Event Viewer. Open Event Viewer and go to Windows Logs > Application. Click Filter Current Log in the right pane, set Event sources to VSS, and click OK. Match event times to your backup’s failure time. Also check events from the application that owns the writer, such as SQL Server.
Don’t assume a specific event ID. The ones that matter depend on the writer and the failure. The only IDs from the sources here (22 and 8193) are documented for the “no writers listed” case in the Troubleshooting section.
Step 3: Map the Failed Writer to Its Owning Service and Restart Only That Service
Most writers run inside a service process, though some share a host process with other components or run inside an application’s own process. Restarting the owning service is a documented troubleshooting step that often clears a Failed or Timed-out state, though Microsoft doesn’t guarantee the result. You don’t need to restart everything, and you don’t need to reboot.
Microsoft documents the System Writer mapping in its System Writer KB. The other rows are the widely used mappings, but the sources for this guide don’t confirm them. Check that the service exists on your server before you act. Some writers share a host process with other components, and some applications add their own dependencies. A restart can affect more than the writer, so check what else the service runs and use a quiet period for anything business-critical.
| Writer Name (as shown by vssadmin) | Owning Service (Display Name) | Service Name | Source |
|---|---|---|---|
| System Writer | Cryptographic Services | CryptSvc | Microsoft KB |
| SqlServerWriter | SQL Server VSS Writer | SQLWriter | Verify on your server |
| Microsoft Hyper-V VSS Writer | Hyper-V Virtual Machine Management | vmms | Verify on your server |
| IIS Metabase Writer | IIS Admin Service | IISADMIN | Verify on your server |
| IIS Config Writer | Application Host Helper Service | AppHostSvc | Verify on your server |
| WMI Writer | Windows Management Instrumentation | Winmgmt | Verify on your server |
| Registry Writer, COM+ REGDB Writer, ASR Writer | Commonly hosted by Volume Shadow Copy (unconfirmed) | VSS | Verify on your server before restarting |
Confirm the service exists and check its state:
# Replace SQLWriter with the service name from the table
Get-Service -Name SQLWriter
Expected output:
Status Name DisplayName
------ ---- -----------
Running SQLWriter SQL Server VSS Writer
Restart it:
# Restarts only the service that hosts the failed writer
Restart-Service -Name SQLWriter
If you prefer the GUI, open services.msc, find the service, right-click it, and choose Restart.
Warning: Some of these services aren’t harmless to bounce.
Winmgmt(WMI) has dependent services, so PowerShell will ask you to add-Force. That stops dependents, and you may need to restart them yourself. Restartingvmmsinterrupts Hyper-V management tasks on the host. RestartingIISADMINorAppHostSvccan affect live websites. Plan for the side effects on production servers.
Now re-run the check:
vssadmin list writers
The writer that failed should now show:
State: [1] Stable
Last error: No error
Restarting the owning service is a documented troubleshooting step, and this is the typical result, but Microsoft doesn’t guarantee that it clears every failure. If the writer doesn’t return to Stable, see the next subsection for further steps.
When a service restart isn’t the fix
- The writer fails again on the next backup. The restart only cleared the symptom. For SQL Server, Microsoft’s VSS writer error KB says to find the instance named in the Application log and test a backup with that instance stopped. If the backup then succeeds, look at that instance’s error log and configuration. You’ll need an application change here. Another service restart won’t stick.
- The writer is missing from the list. A restart won’t make it register again. See the System Writer and “no writers” fixes in Troubleshooting.
- The service won’t stop, or the writer stays Failed after a clean restart. Now a planned reboot is justified. Save it for last.
Step 4: Check and Resize Shadow Storage
If every writer shows Stable and snapshots still fail, look at shadow storage. This is the disk space each volume sets aside for shadow copies.
vssadmin list shadowstorage
Illustrative output:
Shadow Copy Storage association
For volume: (C:)\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\
Shadow Copy Storage volume: (C:)\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\
Used Shadow Copy Storage space: 9.81 GB (9%)
Allocated Shadow Copy Storage space: 10.2 GB (10%)
Maximum Shadow Copy Storage space: 10 GB (10%)
Compare Used with Maximum. If Used is close to Maximum, VSS has little room for a new snapshot, and storage is likely your real problem.
If no association appears for the volume your backup targets, don’t assume that’s harmless. Some backup products create one automatically, some specify their own storage volume, and some fail if none exists. Check your backup product’s documentation, and make sure the volume has free space either way.
Before you raise the limit, check free space on the /on= volume (Get-Volume), list existing copies with vssadmin list shadows, and check your backup product’s storage requirements. The 20GB below is only an example; size it for your volume and retention. To raise the limit:
# /for= is the volume being snapshotted; /on= is where shadow data is stored
# /maxsize= sets the storage limit; see Microsoft's vssadmin reference for accepted syntax
vssadmin resize shadowstorage /for=C: /on=C: /maxsize=20GB
Expected output:
Successfully resized the shadow copy storage association
Warning: Microsoft’s vssadmin documentation warns that resizing a storage association can cause shadow copies to disappear, so treat any resize as a risk to existing copies. Shrinking it can make VSS delete older shadow copies to fit, and those are recovery points. Run
vssadmin list shadowsfirst and save the output. Make sure your retention policy can afford the loss before you shrink. The rollback is to runresizeagain with the old/maxsizevalue, but that won’t bring back copies that were already deleted.
If the volume is always tight on space, point /on= at a different local volume that Windows can use for shadow-copy storage. A dedicated SSD works well for this; /on= has to reference a supported local volume, not a network share or removable drive.
Pointing your backup software at a NAS share or an external USB drive is a separate setting in that software, and it’s a reasonable way to get backup data off the server. It doesn’t relocate VSS shadow storage, though — the /on= association still needs a local volume, independent of wherever your backups ultimately land.
Do not run
vssadmin delete shadowsas a quick fix. It permanently removes recovery points. This includes any “Previous Versions” users depend on through Shadow Copies for Shared Folders. Only use it after you’ve confirmed the loss is acceptable.
Step 5: Check for Third-Party VSS Provider Conflicts
A provider is the component that actually creates the shadow copy. Windows Server includes the Microsoft Software Shadow Copy provider by default; on many servers it’s the only one listed, but backup agents and storage arrays sometimes add their own.
vssadmin list providers
Illustrative output on a server with no extra providers:
Provider name: 'Microsoft Software Shadow Copy provider 1.0'
Provider type: System
Provider Id: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
Version: 1.0.0.7
If you see more providers, note when each was installed. Then compare that date with when your backups started failing. If they line up, check the vendor’s docs for how its provider is meant to work alongside the Microsoft one.
The Microsoft sources used for this guide don’t document a standard procedure for resolving provider conflicts. Use this step to gather a diagnostic signal. Don’t uninstall a vendor provider that another backup or storage product depends on until you’ve checked with that vendor.
Step 6: Verify the Fix with a diskshadow Test Shadow Copy
Before you re-run a multi-hour backup, prove that VSS can take a snapshot of the affected volume. diskshadow is built into Windows Server and runs as an interactive shell:
diskshadow
At the DISKSHADOW> prompt, run:
set context volatile
set verbose on
add volume C:
create
list writers status
exit
Here’s what each command does:
set context volatilemakes this a throwaway test copy. Microsoft’s set context reference says a volatile shadow copy is deleted on exit or reset. It doesn’t addnowriters, so writers stay included.set verbose onshows writer activity as the snapshot runs.add volume C:sets the target volume. Use the volume your backup failed on.createcreates the shadow copy, with VSS writers included in the operation by default. This command doesn’t expose the shadow copy as a drive letter; that requires a separateexposecommand, which this test script doesn’t use.list writers statusshows writer state right after the snapshot.
Because the context is set to volatile, the test copy is deleted when you exit. To confirm nothing was left behind, run vssadmin list shadows /for=C: afterward and check that no shadow copy carries the set ID that create printed.
Success here means create completes and reports a shadow copy set ID, with no VSS, provider, or writer errors in the output. This test script doesn’t issue an expose command, so don’t expect the The shadow copy was successfully exposed message; that line only appears if you add an expose step.
Use the list writers status output as supplemental evidence: confirm every writer shows Stable right after create completes.
Tip: Command names and context options can change between releases. Check Microsoft’s diskshadow reference on Microsoft Learn if a command is rejected on your build.
If the test passes, re-run the backup job. If it fails, the writer named in the verbose output is your next target. Go back to Step 3.
Configuration
| Setting | Default | Where to View or Change | Notes |
|---|---|---|---|
| Writer State | [1] Stable | vssadmin list writers | Anything else blocks app-consistent backups |
| Shadow storage maximum | Varies by volume | vssadmin list/resize shadowstorage | Shrinking can delete old shadow copies |
| Shadow storage location | Same volume | /on= parameter of resize/add | A separate volume reduces space contention |
| VSS provider | Microsoft Software Shadow Copy provider | vssadmin list providers | Extra providers come from vendor software |
A good habit: schedule backup and snapshot jobs away from heavy disk work like defrag, antivirus scans, and large database maintenance. Also put the server on a UPS. Losing power mid-snapshot can leave a writer stuck in a bad state.
Tips and Troubleshooting
vssadmin list writers returns no writers at all
Why it happens: Microsoft documents this as a registration problem. The TypeLib value under the VSSEvent EventClasses key points to the wrong path for Eventcls.dll. It’s logged in the Application log as Event IDs 22 and 8193 with Source: VSS. See the Microsoft KB.
Fix:
Warning: This is a registry edit. Confirm the Application log actually shows the matching VSS events (Event IDs 22 and 8193) before you touch anything, so you’re not editing the registry on a hunch. Export the key first so you can roll back; to restore it, double-click the
.regfile or runreg import.
# Back up the key before editing (rollback: reg import C:\Temp\vssevent-backup.reg)
reg export "HKLM\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\EventClasses\{FAF53CC4-BD73-4E36-83F1-2B23F46E513E}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}" C:\Temp\vssevent-backup.reg
- Open
regeditand go to the key above. - Select the
TypeLibvalue and check its Type column. Because the data uses the%systemroot%variable, it should be a REG_EXPAND_SZ (Expandable String Value), the type that expands variables. Editing the data in place doesn’t change a value that’s the wrong type. - If the type is wrong, delete the existing
TypeLibvalue, then create a new Expandable String Value namedTypeLib. If it’s already the correct type, just edit it. - Set the value’s data to
%systemroot%\system32\EVENTCLS.DLL. - Restart the services the way Microsoft’s KB does: open
services.msc, then right-click COM+ Event System and choose Restart, then do the same for Volume Shadow Copy. The console warns you if other services depend on the one you’re restarting. Afterward, check that any dependent services that were running before are running again.
- Re-run
vssadmin list writersand confirm the writers are listed again.
System Writer is missing or Failed
Why it happens: The System Writer runs under Cryptographic Services. Microsoft’s System Writer KB traces it to bad permissions on %windir%\winsxs\filemaps\ and %windir%\winsxs\temp\PendingRenames.
Fix: Save the current permissions first so you can roll back:
# Rollback for PendingRenames (restore runs against the PARENT folder): icacls C:\Windows\winsxs\temp\ /restore C:\Temp\pendingrenames-acl.txt
icacls C:\Windows\winsxs\temp\PendingRenames /save C:\Temp\pendingrenames-acl.txt
# Rollback for filemaps (restore runs against the PARENT folder): icacls C:\Windows\winsxs\ /restore C:\Temp\filemaps-acl.txt
icacls C:\Windows\winsxs\filemaps /save C:\Temp\filemaps-acl.txt /T
The rollback commands point at the parent folder on purpose. The icacls reference says /restore applies the stored ACLs to files in the directory you name, and /save records each folder by its own name. So ACLs saved from PendingRenames are restored from temp.
This guide won’t reproduce the takeown and icacls commands themselves, because the correct syntax varies by Windows Server version and Microsoft updates it. Open the System Writer KB linked above and follow its command block exactly for your build; it grants the specified access to SYSTEM, NT Service\TrustedInstaller, and BUILTIN\Users.
Then restart the service:
net stop cryptsvc
net start cryptsvc
Re-run vssadmin list writers. The System Writer should be listed and Stable.
SQL Server VSS writer fails on every backup
Why it happens: The failure is usually scoped to one SQL Server instance.
Fix: Find the instance named in the Application log events, then test a backup with that instance stopped. If the backup succeeds, the instance (or how it interacts with the backup request) is the likely culprit, though timing or provider factors can also change when it’s stopped. Check that instance’s error log and configuration first. Restarting SQLWriter again will only hide the problem until the next run.
Hyper-V guest backups fail on very old guest OSes
Why it happens: Microsoft documents that Windows Server 2003 and 2008 guests can’t complete the VSS autorecovery phase needed for a guest-consistent snapshot. This happens even when the host-level backup succeeds. See VSS writers report as failed on a virtual machine.
Fix: This is expected behavior, so don’t chase it with service restarts. Upgrade the guest or change the backup method for that VM. For checkpoint and storage failures on modern hosts, see Microsoft’s Hyper-V backup troubleshooting guide.
You found the 0x8000FFFF / Event 12302 registry fix online
Why it matters: The procedure that deletes the Event System Subscriptions key is documented only for Windows Server 2003. Microsoft explicitly says it doesn’t apply to Windows Vista, Windows Server 2008, or later (legacy KB). Manually re-registering components on current releases can leave you needing a full OS reinstall.
Fix: Don’t use it on Server 2016 or later. Work through Steps 1–6 instead, then escalate to Microsoft Support if writers still won’t stabilize.
Wrapping Up
Most VSS writer errors come down to one stuck service. List the writers, restart only the owning service, rule out storage and providers, and prove it with diskshadow. That sequence beats a blind reboot because it tells you why the backup failed.
Watch for a writer that keeps failing after a clean restart. That’s your cue to fix the application itself, since restarting the service again just buys you one more night.
| Step | Action | Applies To |
|---|---|---|
| 1–2 | vssadmin list writers, read State/Last error, check Event Viewer | Every VSS backup failure |
| 3 | Restart only the owning service | Failed or Timed-out writer |
| 4 | vssadmin list/resize shadowstorage | Writers Stable but snapshot fails |
| 5 | vssadmin list providers | Failures after a new backup agent |
| 6 | diskshadow test snapshot | Confirming before re-running backup |
Resources
- vssadmin command reference (Microsoft Learn)
- No VSS writers are listed when you run vssadmin list writers
- System writer is not found in the backup
- Backup fails because of a VSS writer error
- Troubleshoot Hyper-V virtual machine backup, checkpoint, and storage failures
- VSS writers report as failed on a virtual machine