How to delete and remove shadow copies on Server 2008
July 26, 2011 1 Comment
VSSAdmin has been replaced by Diskshadow under Server 2008. Diskshadow comes built in to the OS. If you try to remove a corrupted shadow copy using VSSAdmin you may receive the following error:
Error: Snapshots were found, but they were outside of your allowed context. Try removing them with the backup application which created them.
Diskshadow runs like diskpart does so perform the following:
- list shadows all
- delete shadows id 36350cd8-5ae2-4ccc-a9e3-e0db64116883 => The ID of the shadow you want to delete if you have multiple and want to remove one.
- delete shadows all => To delete them all if the only ones listed are the ones you want to delete.
- Go to the drives where the shadow copies resided and you will see a folder named after the shadow copy which is now empty. This can be deleted using explorer.