text
stringlengths
0
4.23k
/?
Displays help at the command prompt.
[on \| off]
Examples
To display the current verify setting, type:
verify
To turn the verify setting on, type:
verify on
vol
Displays the disk volume label and serial number, if they exist. If used without parameters, vol displays information for the current drive.
Syntax
vol [<drive>:]
Parameters
Parameter
Description
<drive>:
Specifies the drive that contains the disk for which you want to display the volume label and serial number.
/?
Displays help at the command prompt.
<drive>:
vssadmin delete shadows
Applies to: Windows Server 2022, Windows Server 2019, Windows 10, Windows 8.1, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008
Deletes a specified volume's shadow copies. You can only delete shadow copies with the client-accessible type.
Syntax
vssadmin delete shadows /for=<ForVolumeSpec> [/oldest | /all | /shadow=<ShadowID>] [/quiet]
Parameters
Parameter
Description
/for=<ForVolumeSpec>
Specifies which volume's shadow copy will be deleted.
/oldest
Deletes only the oldest shadow copy.
/all
Deletes all of the specified volume's shadow copies.
/shadow=<ShadowID>
Deletes the shadow copy specified by ShadowID. To get the shadow copy ID, use the vssadmin list shadows command. When you enter 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 won't display messages while running.
<ForVolumeSpec>
<ShadowID>
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Examples
To delete the oldest shadow copy of volume C, type:
vssadmin delete shadows /for=c: /oldest
vssadmin list shadows
Applies to: Windows Server 2022, Windows Server 2019, Windows 10, Windows 8.1, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008
Lists all existing shadow copies of a specified volume. If you use this command without parameters, it displays all volume shadow copies on the computer in the order dictated by Shadow Copy Set.
Syntax
vssadmin list shadows [/for=<ForVolumeSpec>] [/shadow=<ShadowID>]
Parameters
Parameter
Description
/for=<ForVolumeSpec>
Specifies which volume the shadow copies will be listed for.
/shadow=<ShadowID>
Lists 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
<ForVolumeSpec>
<ShadowID>
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
vssadmin list writers