Shadow Copies - Delete

How to Delete Shadow Copies in Vista and Windows 7

   Information
Shadow Copies (Previous versions) are copies of files and folders created by Windows Backup when you back up your files, and copies of files and folders that Windows automatically saves as part of a restore point. When system protection is turned on, Windows will only automatically create previous versions of files and folders that have been modified since the last restore point was made.

This will show you how to delete shadow copies in Vista Ultimate, Business, and Enterprise editions, and all editions of Windows 7.

   Warning
Deleting a shadow copy will also delete the restore point it was part of.





BEFORE YOU START

To View Volume Shadow Copies Details


NOTE: You will need to do this first to know what drives/volumes letters you have shadow copies on, and for how much disk space the shadow copies use before conitnuing on to the options below. The example shadow copies below contain two restore points on drive C: , and two backups on drive F: .
1. vssadmin list shadows
NOTE: This command lists existing volume shadow copies, the time the shadow copy was created and its location. You need this to see and know the Shadow Copy ID needed in OPTION TWO and OPTION THREE below, and to see how many shadow copies are on each hard drive letter.
A) Open a elevated command prompt.

B) In the elevated command prompt, type the command below and press enter.
vssadmin list shadows

Shadows.jpg
2. vssadmin list shadowstorage
NOTE: This command lists the volume shadow storage space usage, the allocated space while a shadow copy is active and the maximum space that can be used. This is useful to see how much total space is being used on each hard drive letter by the shadow copies on it.
A) Open another elevated command prompt.

B) In the elevated command prompt, type the command below and press enter.
vssadmin list shadowstorage

shadowstorage.jpg
3. Set these command windows aside for easy reference when you do either OPTION ONE, OPTION TWO, or OPTION THREE below for what you would like to do to delete the shadow copies.





OPTION ONE

Delete Shadow Copies Using "Disk Cleanup"


NOTE: Disk Cleanup will delete all shadow copies and restore points saved to the selected hard drive letter except the most recent copy.
1. Open the Start Menu, type cleanmgr into the search box, and press Enter.

2. Select the drive/volume letter that you want to delete shadow copies on, and click on OK. (see screenshot below)
NOTE: You will not see this window unless you have more than one drive or partition on your computer.
DC-1.jpg
3. You will now see this screenshot below for a moment. (see screenshot below)
DC-2.jpg
4. Click on the Clean up system files button. (see screenshot below)
DC-3.jpg
5. If prompted by UAC, then click on Yes (Windows 7) or Continue (Vista)

6. Repeat steps 2 and 3.

7. Click on the More Options tab, and click on the Clean up button in the bottom System Restore and Shadow Copies section. (see screenshot below)
DC-4.jpg
8. Click on the Delete button. (see screenshot below)
DC-5.jpg
9. Click on OK. (see screenshot below step 7)

10. Click on the Delete Files button for the final confirmation. (see screenshot below)
DC-6.jpg
11. When the shadow copies and restore points are finished being deleted, Disk Cleanup will close.





OPTION TWO

Delete Shadow Copies Using "wmic shadowcopy delete" Command


WARNING: This option is for advanced users, and should not be tried by beginners.
1. Be sure you do the "BEFORE YOU START" section at the top first.

2. Open a elevated command prompt.

3. In the elevated command prompt, type wmic and press Enter. After a few seconds wmic:root\cli> will appear.
Shadow-1.jpg
4. Copy and paste the command below and press enter.
shadowcopy delete
5. You will now be asked Y/N for if you wanted to delete the available shadow copies one by one. Type your answer and press Enter after each one. (see screenshot below)
Shadow-2.jpg

   Note
The listed shadow copies that you answer Y/N to delete or not are referenced by their Shadow Copy ID number. You can compare this Shadow Copy ID number with the ones listed from step 1 in the "BEFORE YOU START" section to know for sure which one you are deleting or not.

For example, the Shadow Copy ID below for the one I deleted in step 5 above is the bottom shadow copy listed in my examples in step 1 of the "BEFORE YOU START" section for the C: drive. You can also compare the Shadow Copy Volume number between step 1 and step 2 in the "BEFORE YOU START" section for additional information about the shadow copy.

Shadow Copy ID
{1FAE1C7E-729C-4BE5-92D9-1FD643336AE1}

Shadow Copy Volume
{62027452-787d-11e0-8219-806e6f6e6963}


6. When finished, close all command prompts.





OPTION THREE

Delete Shadow Copies with "vssadmin delete shadows" Command


WARNING: This option is for advanced users, and should not be tried by beginners.

   Note
Only shadow copies that have the ClientAccessible type can be deleted using this command.

For example, if you look at my examples in step 1 in the "BEFORE YOU START" section, you will notice that only the C: drive/volume shadow copies have Client-accessible listed in their Attributes, and not the F: drive/volume shadow copies. This means that I can only delete the C: drive/volume shadow copies using this command. I would have to use OPTION TWO to be able to delete the F: drive/volume shadow copies instead.

1. Be sure you do the "BEFORE YOU START" section at the top first.

2. Open a elevated command prompt.

3. Do step 4, 5, or 6 below for how you would like to delete the shadow copies.

4. To Delete the Oldest Shadow Copy on a Specific Volume
NOTE: This can be handy if you have more than one shadow copy on a drive/volume letter, and wanted to only delete the oldest one.
A) Type the command below and press Enter.
NOTE: Substitute C: in the command below for the drive letter that you want to delete the oldest shadow copy in instead.
vssadmin Delete Shadows /For=C: /Oldest
B) Type Y or N to delete the shadow copy or not. (see screenshot below)
vssadmin-4.jpg
C) Go to step 7.
5. To Delete All Shadow Copies on a Specific Volume
A) Type the command below and press Enter.
NOTE: Substitute C: in the command below for the drive letter that you want to delete the oldest shadow copy in instead.
vssadmin Delete Shadows /For=C: /All
B) Type Y or N to delete the shadow copies or not. (see screenshot below)
vssadmin-5.jpg
C) Go to step 7.
6. To Delete a Specific Shadow Copy from Any Volume
A) Type the command below and press Enter.
NOTE: Substitute {Shadow Copy ID} in the command below with the actual Shadow Copy ID number of the shadow copy that you want to delete from step 1 of the "BEFORE YOU START" section.
vssadmin Delete Shadows /shadow={Shadow Copy ID}
For example, if I wanted to delete the 3rd shadow copy with the Shadow Copy ID of {ef4d4bbc-b569-4c1c-b8d3-a46af09e0ddf} in my example in step 1 of the "BEFORE YOU START" section, I would type this below.
Code:
vssadmin Delete Shadows /shadow=[B][COLOR=red]{ef4d4bbc-b569-4c1c-b8d3-a46af09e0ddf}[/COLOR][/B]
B) Type Y or N to delete the shadow copy or not. (see screenshot below)
vssadmin-6.jpg
C) Continue on to step 7.
7. When finished, close all command prompts.
That's it,
Shawn





 
Last edited:
Very good tutorial as usual!
I had cause to check it out recently for an error I was getting on a PC I built (not for profit) for someone. I was getting Event ID: 55 source :NTFS with a reference to VSS and drive errors, run chkdsk. Doing HDD checks inc manufacturers plus others, the HDD appeared fine. I came across people suggesting - Clear VSS; Disable: Enable to overcome the problem. It seemed to work. Clearing the VSS is critical and this tute helps. I recommend the vssadmin command line method you describe.
Thanks.
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build
OS
Windows 7x64 Home Premium SP1
CPU
Intel i7 2600k
Motherboard
ASUS P8Z68 Deluxe
Memory
G.Skill Ripjaws (DDR3-1600) 2x4GB
Graphics Card(s)
Nvidia GeForce GTS 450; Intel HD Graphics 3000(GT2+)
Monitor(s) Displays
Dell Ultrasharp IPS panel U2311H, Samsung SyncMaster P2350
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro SSD 256GB, Samsung SSD 840 120GB, Seagates 1TB Barracuda ST31000528AS x2
PSU
Seasonic M12II 520W
Case
Lian Li Lancool PC-K60
Cooling
Case: 1x120mm, 3x140mm CPU: Hyper 212+
Keyboard
Logitech MK520 (wireless)
Mouse
Logitech MK520
Internet Speed
6-7 Mbps
Antivirus
Norton Security Premium, Malwarebytes on 2 (MSE on 3rd PC)
Browser
FireFox
Other Info
Audio: Logitech Z523 2.1
Thank you Michael. Image updated. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thanks for Option 2. I had been trying for a week to delete some shadow copy files to free up space on my drive, to no avail. I tried every trick in the book - until this. I am glad I came here.
 

My Computer

OS
Windows 7 Enterprise 32-bit
I'm glad it could help. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Great thread

This is a great thread. I hope this site and forum sticks around. I used the commands often.

I know someone mentioned CCleaner deletes your restore points, but in my experience it corrupts your system restore so it renders it useless when you need it the most.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Asus P6X58D-E, Lenovo
OS
Windows 7, Windows 10 Pro
CPU
Intel Core i7 930
Motherboard
Asus X58 P6X58D-E
Memory
G.SKILL F3-12800CL9T-6GBNQ 6GB DDR3 3X2GB DDR3-1600 CL 9-9-9
Graphics Card(s)
ATI Radeon HD 5700
Hard Drives
Seagate Barracuda 1TB x2 SATA3 6GB/S 7200RPM 64MB
WD 1TB SATA3
PSU
Coolermaster Silent Pro 700W Modular Power Supply
Back
Top