Use this when backups need consistent snapshots or VSS writers fail.
Volume Shadow Copy · Backup & Recovery
Volume Shadow Copy Service (VSS) creates consistent point-in-time snapshots of volumes, coordinating with application writers such as SQL Server and AD, so backups and previous versions see consistent data.
1. vssadmin list writers — all Stable/No error?
2. Shadow storage space.
3. Failed writer → restart its service.
4. Events VSS 8193/12289.
5. Retry backup.
requestor → writers freeze → snapshot → thaw
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Useful commands Narrow the fault
vssadmin create shadow /for=C: # Server editions only
vssadmin resize shadowstorage /for=C: /on=C: /maxsize=10%
wmic shadowcopy call create Volume=C:\ # clients (wmic is deprecated)
Documented example, not captured output.
Step 2 Common mistakes Narrow the fault
- Writers in failed state blocking backups — restart the related service.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Shadow storage can fill and delete older shadow copies.
- Application writers (SQL, AD, Hyper-V) must be stable for consistent backups.
wbadmin get versions— Windows Server Backup versionsGet-WBSummary— last backup result (Windows Server Backup module)vssadmin list writers— VSS writer statereagentc /info— WinRE statusGet-ComputerRestorePoint— restore points (client)
ReferenceWhy it matters1 section · depth on demand
How it works
Volume Shadow Copy Service (VSS) creates point-in-time snapshots of volumes. A requestor (backup software) asks for a snapshot, writers (SQL Server, Exchange, registry, Hyper-V) briefly freeze and flush their data so it is consistent, and a provider (Windows software provider or a storage array) creates the shadow copy. Previous Versions and System Restore also use VSS.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
The three roles in a backup (Microsoft's VSS model)
| Role | Examples | Responsibility |
|---|---|---|
| Requester | Windows Server Backup, Veeam, Azure Backup agent | Asks for a snapshot and reads it |
| Writer | SQL Server, Hyper-V, Registry, System Writer, IIS | Freezes and flushes its data for consistency |
| Provider | System provider (copy-on-write), SAN hardware provider | Creates the shadow copy |
Read writer state before blaming the backup software
C:\> vssadmin list writers
Writer name: 'SqlServerWriter'
Writer Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
State: [8] Failed
Last error: Timed out
Writer name: 'Microsoft Hyper-V VSS Writer'
State: [1] Stable
Last error: No error
| State / error | Meaning | Action |
|---|---|---|
[1] Stable, No error | Ready | — |
[8] Failed, Timed out | Freeze took longer than allowed (I/O load) | Retry outside peak; check disk latency |
[7] Failed, Retryable error | Transient | Restart the writer's service (for SQL: SQL Writer service) |
| Non-retryable error | Writer configuration problem | Application log for the writer's source |
| Writer missing | Service stopped or component not registered | Start the service |
Shadow storage
vssadmin list shadowstorage
vssadmin resize shadowstorage /for=D: /on=D: /maxsize=15%
When shadow storage is full, the oldest copies are deleted, and very active volumes can lose copies during the backup itself (VSS event 25 or "shadow copies were aborted"). Put shadow storage on another volume for heavy-write data: /on=E:.
Events to look for (Application log, source VSS)
| Event | Typical cause |
|---|---|
| 8193 | Unexpected error calling a routine — often permissions or COM registration |
| 12289 | Unexpected error in DeviceIoControl — storage/driver issue |
| 8229 | Writer reported an error — the text names the writer |
Previous Versions for users
Scheduled shadow copies on file servers (Configure Shadow Copies) let users restore files themselves; they are not a backup because they live on the same volume.
*The VSS writer states and errors above are illustrative examples, not captured from a lab or production system.*
Commands
vssadmin list shadows
vssadmin list writers
vssadmin list shadowstorage
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Backup & Recovery → Volume Shadow Copy. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/windows-server-backup/ · confidence 94%