Troubleshooting

How to Fix VSS Writer Errors on Windows Server: Diagnose Failed and Timed-Out Writers with vssadmin

The Back Room Tech Staff · Edited by Aseem Kishore
17 min read

The Back Room Tech is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

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

SymptomLikely CauseRecommended Fix
One writer shows Failed or Timed outThe writer’s host process is in a bad stateRestart only the owning service (Step 3)
System Writer missing or FailedBad permissions on winsxs foldersMicrosoft’s takeown/icacls fix, then restart Cryptographic Services
vssadmin list writers returns no writersWrong TypeLib registry value for EVENTCLS.DLLRegistry fix, with export first (Troubleshooting)
All writers Stable, snapshot still failsShadow storage full or too smallvssadmin list/resize shadowstorage (Step 4)
Failures began after installing a backup agentPossible third-party provider conflictvssadmin list providers (Step 5)
SQL Server writer keeps failingInstance-specific problemIsolate 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)
RequirementDetails
OS versionWindows Server 2016 or later
Toolsvssadmin, diskshadow, Event Viewer, Services console (all built in)
PermissionsLocal Administrator, elevated session
OptionalMaintenance 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
Elevated PowerShell window on Windows Server showing vssadmin list writers output with one writer block reporting State Failed and a non-"No error" Last error value, the writer name, State line, and Last error line visible

Step 2: Read the State and Last Error Fields

Two fields matter in each block:

  • State: [1] Stable means 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 error is 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] Failed in 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.

Event Viewer on Windows Server with Windows Logs > Application selected, filtered to Event source VSS, one VSS error event selected and its details pane visible at the bottom

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 NameSource
System WriterCryptographic ServicesCryptSvcMicrosoft KB
SqlServerWriterSQL Server VSS WriterSQLWriterVerify on your server
Microsoft Hyper-V VSS WriterHyper-V Virtual Machine ManagementvmmsVerify on your server
IIS Metabase WriterIIS Admin ServiceIISADMINVerify on your server
IIS Config WriterApplication Host Helper ServiceAppHostSvcVerify on your server
WMI WriterWindows Management InstrumentationWinmgmtVerify on your server
Registry Writer, COM+ REGDB Writer, ASR WriterCommonly hosted by Volume Shadow Copy (unconfirmed)VSSVerify 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.

Services console (services.msc) on Windows Server with SQL Server VSS Writer selected and the right-click context menu open showing Restart highlighted

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. Restarting vmms interrupts Hyper-V management tasks on the host. Restarting IISADMIN or AppHostSvc can 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.

Same elevated PowerShell session after the service restart, vssadmin list writers output showing the previously failed writer now reporting State [1] Stable and Last error No error

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%)
Elevated terminal on Windows Server showing vssadmin list shadowstorage output with Used, Allocated, and Maximum Shadow Copy Storage space lines for a volume

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 shadows first and save the output. Make sure your retention policy can afford the loss before you shrink. The rollback is to run resize again with the old /maxsize value, 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 shadows as 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 volatile makes this a throwaway test copy. Microsoft’s set context reference says a volatile shadow copy is deleted on exit or reset. It doesn’t add nowriters, so writers stay included.
  • set verbose on shows writer activity as the snapshot runs.
  • add volume C: sets the target volume. Use the volume your backup failed on.
  • create creates 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 separate expose command, which this test script doesn’t use.
  • list writers status shows 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.

Elevated diskshadow session on Windows Server showing add volume C: and create commands completing successfully with the shadow copy set ID displayed and no writer errors

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

SettingDefaultWhere to View or ChangeNotes
Writer State[1] Stablevssadmin list writersAnything else blocks app-consistent backups
Shadow storage maximumVaries by volumevssadmin list/resize shadowstorageShrinking can delete old shadow copies
Shadow storage locationSame volume/on= parameter of resize/addA separate volume reduces space contention
VSS providerMicrosoft Software Shadow Copy providervssadmin list providersExtra 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 .reg file or run reg 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 regedit and go to the key above.
  • Select the TypeLib value 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 TypeLib value, then create a new Expandable String Value named TypeLib. 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 writers and 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.

StepActionApplies To
1–2vssadmin list writers, read State/Last error, check Event ViewerEvery VSS backup failure
3Restart only the owning serviceFailed or Timed-out writer
4vssadmin list/resize shadowstorageWriters Stable but snapshot fails
5vssadmin list providersFailures after a new backup agent
6diskshadow test snapshotConfirming before re-running backup

Resources