Not able to delete Volume Shadow Copies

Posted: April 25, 2012 in Exchange 2010, Info, Windows Server
Tags: , , , , , , , , , , ,

A couple of days ago I had a problem with an Exchange Server running out of space. I controlled database and logfile partitions and could not detect anything suspicious.

After some researches I figured out Volume Shadow Copies require much space because a backup job didn’t finish succesful and leave the VSS data on disk.

In my case vssadmin deleteshadows didn’t work, too. After some investigation I found a way to delete the Shadow Copies with the command line for WMI – WMIC

http://technet.microsoft.com/en-us/library/cc787035%28v=ws.10%29.aspx

In summary you have to do the following

  • Start an elevated commandline window
  • Type in wmic and press enter
  • wmic:root\cli is shown
  • Type in shadowcopy which will list the current shadow copies
  • Type in shadowcopy delete and confirm to delete the copies one after the other
  • To leave the WMI commandline type exit

Cheers,

Chris

Advertisements
Comments
  1. Oved says:

    I had the same issue with vssadmin. Another method to delete shadows that can’t be delete from vssadmin is to use DISKSHADOW command. Enter the DISKSHADOW prompt by using the command DISKSHADOW, and then for example DELETE SHADOWS FOR VOLUME C:

  2. Damian G says:

    This was a lifesaver… after scouring the net, trying various ‘solutions’ including setting a 300MB limit, trying vssadmin command line tool, nothing else working at all. This solution finally did the trick, and almost no one else out there mentions this solution… Thanks a million 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s