Shadow Copy (known as VSS or Volume Snapshot Service) can create backup copies or snapshots of computer files & volumes even when they are in use.
It's included in Windows 10/8.1/8/7/XP/Vista, Windows Server 2019/2016/2012(R2)/2008 (R2)/2003, and there are 2 tools for shadow copy - DiskShadow, VssAdmin.
Your shadow copies are generally located in C:/ partition and stored in System Volume Information folder (hidden by default). You could run vssadmin list shadowstorage in CMD to find the exact location of them.
You might need to delete shadow copies (named restore point) to free up space in your Windows-based Computer, because these copies will take a lot of storage space, and cause the low disk space error.
Besides, Volume Shadow Copies may also pose some security risks. For example, the update of Windows 10 build 1809 permits unprivileged users to read the SAM file. If a shadow copy exists, then the attacker could locate the SAM file in the shadow copy, and read the user password hashes or even use them to log onto remote servers.
In such cases, deleting shadow copies can be a more reliable solution than using Windows 10 antivirus software. But is it really safe to delete these shadow copies?
Well, If you're sure your computer is running well and you don't necessarily have to keep these backups, then feel free to delete them, and create system image backups, file backups or disk backups when you need them. Here are several methods to delete shadow copies in Windows 10 securely:
1. Input Disk Cleanup in the Search box on taskbar, and hit enter to select Disk Cleanup.
2. Choose the drive or partition that you want to delete shadow copies, and hit OK.
3. Click Clean up system files button, choose the partition again and press OK.
4. Select More Options tab, hit Clean up… in the System Restore and Shadow Copies section.
5. Press Delete to delete all shadow copies but the most recent ones.
1. Click Win + R key combination to open Run dialog.
2. Input SystemPropertiesProtection and hit enter.
3. Select a drive or partition you would like to delete all these shadow copies from, and then choose Configure.
4. Press Delete to delete all restore points from this drive or partition, and click Apply.
Or just Disable system protection in Restore Settings section (Not recommend), it will delete all existing restore points for you. Please note you could not perform system restore after disabling Shadow Copy. (If you want to enable shadow copy, select Turn on system protection.)
As a part of Powershell, you could use VssAdmin to delete Shadow copies to free up space, here is the syntax:
vssadmin delete shadows /for= [/oldest | /all | /shadow=] [/quiet]
For example: vssadmin delete shadows /for=c: /oldest
Warning: This operation will delete all your restore points (shadow copies) on the specified volume.
VssAdmin will help you to modify the size of the shadow copy storage space, here is the Syntax:
vssadmin resize shadowstorage /for= /on= [/maxsize=]
There is how to run this command:
1. Input cmd in Search box.
2. Right click the Command Prompt and choose Run as Administrator.
3. Then input the command for example:
vssadmin Resize ShadowStorage /For=C: /On=C: /Maxsize=900MB
The professional Windows backup software – Qiling Disk Master Professional (paid version) will help you out. If you backup data with Qiling Disk Master, you could configure how many backups to retain. First of all, please download Qiling Disk Master Professional.
Then follow the steps, here is how to configure (take disk backup for example):
1. Open Qiling Disk Master Professional, select Backup -> Disk Backup.
2. Rename the Task Name if needed, and then click Disks button to choose the hard drive you want to backup.
Choose a destination to save the disk backup image file.
Click Options > Backup Mode, and then choose Use Microsoft VSS in Backup Service, and click OK.
1. Tick Backup Scheme at the bottom of the interface, turn on Enable Backup Scheme, and choose one cleanup method among By quantity, By time, By daily/weekly/monthly.
★ Tips:
✿ Apart from Differential Backup Scheme, there are four options provided: Full Backup Scheme, Incremental Backup Scheme, Space Management Scheme, and Other Backup Scheme.
✿ Options: It allows you comment, split, compress the backup task, enable encryption for backups, and even enable the email notification after completed, choose backup mode, etc.
✿ Schedule: you could set up a backup task via daily, weekly, monthly, event trigger, USB plug in.
2. Press Proceed to create Windows 10 disk backup using Shadow Copy (VSS).
Wait for a moment, the cost time of creating disk image depends on the data size on your hard drive. If you create a scheduled backup for a while, you will get several backups for this task, when the number of backups exceed the retain number, the oldest backup will be automatically deleted to free up space for your current computer.
How to delete shadow copies in Windows 10/8/7? It's quite easy with the 4 solutions. And if you would like to create backup tasks and delete backups automatically, Qiling Disk Master is the best solution. After creating backup tasks, you could restore backup to dissimilar hardware computer if required, or restore selective files, and Qiling Disk Master provides other advanced tools for you, like create bootable media, Qiling PXE boot tool, etc. For IT technicians, you could try Qiling Disk Master Technician (For PCs) or Technician Plus (for PCs & Servers).