A-Z List


Vssadmin

Updated: April 17, 2012

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

Displays current volume shadow copy backups and all installed shadow copy writers and providers. To view the command syntax for any of the commands in the following table, click the command name.

 

Command Description

Vssadmin add shadowstorage

Adds a volume shadow copy storage association.

Vssadmin create shadow

Creates a new volume shadow copy.

Vssadmin delete shadows

Deletes volume shadow copies.

Vssadmin delete shadowstorage

Deletes volume shadow copy storage associations.

Vssadmin list providers

Lists registered volume shadow copy providers.

Vssadmin list shadows

Lists existing volume shadow copies.

Vssadmin list shadowstorage

Lists all shadow copy storage associations on the system.

Vssadmin list volumes

Lists volumes that are eligible for shadow copies.

Vssadmin list writers

Lists all subscribed volume shadow copy writers on the system.

Vssadmin resize shadowstorage

Resizes the maximum size for a shadow copy storage association.

Tags : vss


Community Content

BigRedFan
Error 0x8004231d
I had the same issue as Rodeca on SBS 2011, which is built on Server 2008 R2. I had to change my limit to 320 MB for two partitions before I could adjust settings. This server uses Windows Server Backup so no third party interference.

The Angry Technician
Diskshadow can help with shadow copies that vssadmin cannot remove
After struggling with a similar problem to rodeca and JRV529088 below, I found that the <strong><mtps:InstrumentedLink NavigateUrl="cc772172%28WS.10%29.aspx" runat="server" xmlns:mtps="http://msdn2.microsoft.com/mtps">Diskshadow</mtps:InstrumentedLink></strong> tool was able to remove shadow copies that were marked as <b>Type: ApplicationRollback<b>.</b></b>
Tags :

David Newman
vssadmin on Server 2008 to Win7 or Vista
Can I copy vssadmin.exe from system32 on Win Server 2008 to system32 on Vista or Win7 client to gain the added functionality of the Server version of vssadmin; in other words to have available delete shadows, create shadow, add shadowstorage create and delete shadowstorage?,
Tags :

JRV529088
Rodeca is correct
But here's a little more detail:<br /><br />1. From an elevated command prompt, run--<br /><br />VSSADMIN LIST SHADOWS <br /><br />--and record the Shadows of <strong>Type: ApplicationRollback</strong> whose <strong>For volume</strong> matches the drive on which you want to create or modify the data shadows.<br /><br />2. Run--<br /><br />VSSADMIN LIST SHADOWSTORAGE<br /> <br /><strong>--</strong>and note the <strong>Maximum Shadow Copy Space</strong> for Shadows you found in Step 1.<br /><br />3. Run--<br /><br />VSSADMIN RESIZE SHADOWSTORAGE /FOR=<em>ShadowedDrive</em>: /ON=<em>ShadowDestinationDrive</em> /MAXSIZE=300MB<br /><br />--where <em>ShadowedDrive</em> is the drive on which you want to create or modify data shadows.<br /><br />4. Create or modify your data shadows through VSSADMIN or GUI.<br /><br />5. Run--<br /><br />VSSADMIN RESIZE SHADOWSTORAGE /FOR=ShadowedDrive: /ON=ShadowDestinationDrive /MAXSIZE=<em>PreviousSize</em><br /><br />--again to return /MAXSIZE for all ApplicationRollback shadows you changed to their initial values that you recorded in step 2.<br />____________________________<br /><br />Maybe Rodeca and I are the only 2 people in the world with this problem. But if there are more, this REALLY needs an MSKB article.<br /><br />And if there are a LOT more people with this problem, Windows needs a more capable GUI for managing shadow copies.<br /><br />And I suspect there are a lot if it affects users of Norton 360 users Backup Exec CPS. But I've never used either on this system, so there are other products out there doing it, too.

rodeca
When you get Error 0x8004231d
<p>Although I had disabled shadows:<br />- Volume shadow GUI didn't let me change associations (and displays error 0x8004231d)<br />- vssadmin CLI didn't let me delete "shadowstorage" nor "shadows" (and displays "Specified shadow copy storage association is in use and cannot be deleted")<br />- vssadmin CLI didn't let me add shadowstorage (i haven't the English text for the error, sorry)<br /><br />Solution (at least worked for me :). For each volume you want to re-associate,<br />1. Change limit to 300MB (i.e. minimum allowed, i.e. nothing)<br />2. Enable <br />3. Disable again<br />You get a "0 bytes used....". Now you can "add shadowstorage" (or go back and work with GUI).<br /><br />HIH somebody<br /><br />Rodeca<br /><br />P.S. There is a issue with Norton CPS as well (<mtps:InstrumentedLink NavigateUrl="http://seer.entsupport.symantec.com/docs/311964.htm" runat="server" xmlns:mtps="http://msdn2.microsoft.com/mtps">http://seer.entsupport.symantec.com/docs/311964.htm</mtps:InstrumentedLink>)<br /></p>
Tags :

Page view tracker