VSS Error: Snapshots were found, but they were outside of your allowed context

Error:


PS C:\Windows\system32> vssadmin delete shadows /for=c: /all
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.

Error: Snapshots were found, but they were outside of your allowed context. Try removing them with the
backup application which created them.

Resolution:

# Temporarily reduce the allowable snapshot storage and then reapply best practice
vssadmin resize shadowstorage /for=c: /on=c: /maxsize=400MB
vssadmin resize shadowstorage /for=c: /on=c: /maxsize=unbounded

Output:


PS C:\Windows\system32> vssadmin resize shadowstorage /for=c: /on=c: /maxsize=400MB
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.

Successfully resized the shadow copy storage association
PS C:\Windows\system32> vssadmin resize shadowstorage /for=c: /on=c: /maxsize=unbounded
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.

Successfully resized the shadow copy storage association
PS C:\Windows\system32> vssadmin delete shadows /for=c: /all /quiet
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.

Leave a Reply

Your email address will not be published. Required fields are marked *