Vssadmin delete shadows


Updated: April 17, 2012

Applies To: Windows Server 2003, Windows Server 2008, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2012, Windows 8

Deletes shadow copies of a specified volume.

For examples of how to use this command, see Examples:.

vssadmin delete shadows /for=<ForVolumeSpec> [/oldest | /all | /shadow=<ShadowID>] [/quiet]




Specifies the volume for which the shadow copy is to be deleted.


Deletes only the oldest shadow copy.


Deletes all of the shadow copies for the specified volume.


Deletes the shadow copy specified by ShadowID. To get the shadow copy ID, use the vssadmin list shadows command. When you type a shadow copy ID, use the following format, where each X represents a hexadecimal character:



Specifies that the command will not display messages while it is running.

  • You can delete only shadow copies that have the client-accessible type.

To delete the oldest shadow copy of volume C, type:

vssadmin delete shadows /for=c: /oldest