How to Use the vssadmin Command to Manage Volume Shadow Copies in Windows 11

What are Volume Shadow Copies?

In Windows 11, the Volume Shadow Copy Service (VSS) is a critical background framework that allows the operating system to take backup snapshots of computer files or volumes, even while they are actively in use. When you use the “Previous Versions” tab to restore an accidentally deleted Word document, or when you use System Restore to roll back a bad driver update, you are relying entirely on VSS snapshots.

However, these snapshots can consume a massive amount of hidden disk space. If your C: drive is mysteriously full, a bloated shadow copy storage area is often the culprit. The vssadmin (Volume Shadow Copy Service Administrative Command-Line Tool) allows system administrators to list, resize, and delete these hidden snapshots.

Step 1: Open the Command Prompt

Because you are interacting with core system backup architecture, you must run this tool with elevated privileges.

  1. Press the Windows Key, type cmd, right-click on Command Prompt, and select Run as administrator.

Step 2: List Existing Shadow Copies

Before you delete anything, you should check how many snapshots currently exist on your system.

Type the following command and press Enter:

vssadmin list shadows

This will output a block of text for every individual snapshot on your hard drive. It includes the snapshot ID, the original volume (e.g., C:), the creation time, and the machine name. If your computer has not created any System Restore points recently, this list might be completely empty.

Step 3: Check Storage Usage

To see exactly how much physical hard drive space these hidden snapshots are consuming, run:

vssadmin list shadowstorage

This is the most useful command for troubleshooting disk space issues. The output will show you three critical metrics for your C: drive:

  • Used Shadow Copy Storage space: The exact amount of space currently occupied by backups (e.g., 15 GB).
  • Allocated Shadow Copy Storage space: The space currently reserved by the system.
  • Maximum Shadow Copy Storage space: The hard limit of how large the backup folder is allowed to grow (e.g., 50 GB or 10%).

Step 4: Resize the Maximum Storage Limit

If you discover that VSS is allowed to consume 50% of your 1TB hard drive, you might want to restrict it to prevent future disk space warnings. You can use vssadmin to instantly resize the maximum allowance.

To limit the shadow storage on the C: drive to exactly 10 Gigabytes, run:

vssadmin resize shadowstorage /for=C: /on=C: /maxsize=10GB

If the existing snapshots currently take up 15GB, and you resize the maximum limit down to 10GB, Windows will automatically delete the oldest snapshots until the folder shrinks below your new 10GB limit.

Step 5: Manually Delete All Snapshots

If your hard drive is completely full and you need to reclaim space immediately, you can force Windows to delete every single shadow copy on the drive. Warning: Doing this means you will lose the ability to use System Restore until a new snapshot is created.

To delete all shadow copies on the C: drive, run:

vssadmin delete shadows /for=C: /all /quiet

The /quiet flag prevents the command prompt from asking you for Y/N confirmation for every single snapshot, allowing the command to execute instantly.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.