Export (0) Print
Expand All

Vssadmin delete shadows

Updated: April 17, 2012

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

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]

 

Parameter Description

/for=<ForVolumeSpec>

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

/oldest

Deletes only the oldest shadow copy.

/all

Deletes all of the shadow copies for the specified volume.

/shadow=<ShadowID>

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:

XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

/quiet

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft