Unable to delete Volume Shadow Copies from volume on HyperV host

Andy Duffield 1 Reputation point
2022-08-31T05:04:09+00:00

Hi,

I have a volume (H:) on a HyperV host which has 450Gb of Volume Shadow Copies on it, according to Treesize, inside 'System Volume Information'.

I have given my user permission to access the folder and have also disabled 'show system files' in explorer options.

However, when I try and delete the shadow copies (vssadmin delete shadows /for=h: /oldest), I get the following message:

"No Items found that satisfy the query"

Even though there are files in H:\System Volume Information

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Server | Storage high availability | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SChalakov 10,576 Reputation points MVP Volunteer Moderator
    2022-08-31T07:29:05.44+00:00

    Hi @Andy Duffield ,

    does this help:

    Huge VSS leftover
    https://community.spiceworks.com/topic/2257019-huge-vss-leftover

    This is also an intersting approach:

    From:
    How can I delete corrupted Shadow Copy Files?
    https://community.spiceworks.com/topic/432568-how-can-i-delete-corrupted-shadow-copy-files

    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

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
    Regards
    Stoyan Chalakov

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.