What Causes VSS Shadows to Stick?
Deleting orphaned Volume Shadow Copy Service (VSS) shadows may be necessary from time to time for several reasons.
A: You are using defect backup software or some scripts that don't clean up correctly. In that case follow instructions below and switch to BackupChain®.
B: Your backup software crashes all the time. Ultimately, you would want to switch to BackupChain for sure
C: System Restore keeps filling up your drive with shadows. Some people argue, it's Microsoft's bad design; we agree.
D: Shadows may have been created by another operating system instance in a multi-boot environment
E: a lot more causes are possible…
The Result / Effect VSS Shadows Have
A slow PC or Server, or worse, the system becomes instable and unresponsive. In most cases you wasted a lot of time and most of the time, you can thank Microsoft for it!
There are several ways the Windows system may get clogged with orphaned shadows and unfortunately the system won't start deleting until you have a whopping 64 of them!
Below are the clean-up instructions.
Note: Each version of Windows is a little different and the command parameters may vary:
Note #2: Some backup applications may be relying on these shadows. It's not the finest software design to do it that way.
By the way, BackupChain certainly does not clog your system and is designed to clean up each shadow immediately.
Delete on Windows PCs and Servers
The magic command is
vssadmin delete shadows /all
To delete the really nasty ones, there's a trick:
vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=300MB
For each drive you've got, run the above command with the minimum MaxSize permitted. Windows will then voluntarily dump all shadows due to lack of space. This technique was named "pull the carpet" by our tech support.
Then, set MaxSize to UNBOUNDED or a very high number (for example, 100GB) for best performance. This is just an upper limit, not an actual permanent storage allocation.
Delete on Windows Servers
On a Windows Server you can use a great hidden utility that ships with Windows called:
It will open a screen like this one below:
Now go through each drive and:
- delete each shadow
- disable the schedule (this won't disable shadows; it's impossible to disable shadows)
- go to the settings of each drive and use "No Limit" for best performance
- ensure you have at least 50GB free on each disk and at least 10% whichever is higher.
If that doesn't work and the shadows won't go away, use the trick above with vssadmin and reduce the storage area limit to the bare minimum. Then set it back to no limit.
In the worst case of all, use our Volume Shadow Copy Service Troubleshooting Guide and use VSS Repair Strategy #5 for a VSS reset (no reboot required).
Feel free to contact our tech support team, too. We love to help!
Did this Help Fix the Problem?
Send us an email and we'll post your testimonial.
BackupChain has earned itself a solid reputation of being the reliable backup software on the market, designed specifically for IT professionals. Its features include live backup, Windows Server 2012 backup, VirtualBox backup, VMware backup and deduplication backup.
Its remote backup features make it a great choice because BackupChain’s features go way beyond other basic copy tools.
Hyper-V backup and virtual machine backup are another great feature section you will find in BackupChain at no additional charge and these features are augmented by FTP backup, granular restore and version backup, allowing you to quickly access a virtual machine’s image from several restore points.
From file backup to cloud backup, BackupChain covers many typical and also very specific backup scenarios. You can customize BackupChain to suit your unique environment within minutes.
For the IT professionals amongst us who are also web designers, we offer a free FTP client called DriveMaker, that mounts FTP sites as drive letters. DriveMaker is part of a series of freeware for servers we offer to our network of IT professionals.
Download BackupChain today!