Sometimes if you try to delete shadow copy with vssadmin you will fail, in this case you can use the following procedure.
- 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