text
stringlengths
0
4.23k
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 subscribed volume shadow copy writers.
Syntax
vssadmin list writers
vssadmin resize shadowstorage
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
Resizes the maximum amount of storage space that can be used for shadow copy storage.
The minimum amount of storage space that can be used for shadow copy storage can be specified by using the MinDiffAreaFileSize registry value. For more information, see MinDiffAreaFileSize.
Warning
Resizing the storage association may cause shadow copies to disappear.
Syntax
vssadmin resize shadowstorage /for=<ForVolumeSpec> /on=<OnVolumeSpec> [/maxsize=<MaxSizeSpec>]
Parameters
Parameter
Description
/for=<ForVolumeSpec>
Specifies the volume for which the maximum amount of storage space is to be resized.
/on=<OnVolumeSpec>
Specifies the storage volume.
[/maxsize=<MaxSizeSpec>]
Specifies the maximum amount of space that can be used for storing shadow copies. If no value is specified for /maxsize, there's no limit placed on the amount of storage space that can be used.The MaxSizeSpec value must be 1 MB or greater and must be expressed in one of the following units: KB, MB, GB, TB, PB, or EB. If no unit is specified, MaxSizeSpec uses bytes by default.
<ForVolumeSpec>
<OnVolumeSpec>
<MaxSizeSpec>
The MaxSizeSpec value must be 1 MB or greater and must be expressed in one of the following units: KB, MB, GB, TB, PB, or EB. If no unit is specified, MaxSizeSpec uses bytes by default.
Examples
To resize shadow copy of volume C on volume D, with a maximum size of 900MB, type:
vssadmin resize shadowstorage /For=C: /On=D: /MaxSize=900MB
To resize shadow copy of volume C on volume D, with no maximum size, type:
vssadmin resize shadowstorage /For=C: /On=D: /MaxSize=UNBOUNDED
To resize shadow copy of volume C by 20%, type:
vssadmin resize shadowstorage /For=C: /On=C: /MaxSize=20%
vssadmin
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
Displays current volume shadow copy backups and all installed shadow copy writers and providers. Select a command name in the following table view its command syntax.
Command
Description
Availability
vssadmin delete shadows
Deletes volume shadow copies.
Client and Server
vssadmin list shadows
Lists existing volume shadow copies.
Client and Server
vssadmin list writers
Lists all subscribed volume shadow copy writers on the system.
Client and Server
vssadmin resize shadowstorage
Resizes the maximum size for a shadow copy storage association.
Client and Server
waitfor
Sends or waits for a signal on a system. This command is used to synchronize computers across a network.
Syntax
waitfor [/s <computer> [/u [<domain>\]<user> [/p [<password>]]]] /si <signalname>
waitfor [/t <timeout>] <signalname>
Parameters
Parameter
Description
/s <computer>
Specifies the name or IP address of a remote computer (don't use backslashes). The default is the local computer. This parameter applies to all files and folders specified in the command. If you don't use this parameter, the signal is broadcast to all the systems in a domain. If you do use this parameter, the signal is sent only to the specified system.
/u [<domain>]<user>
Runs the script using the credentials of the specified user account. By default, waitfor uses the current user's credentials.