Posted On February 14, 2020

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

kimconnect 0 comments
blog.KimConnect.com >> Codes , Windows >> 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 *

Related Post

Outlook Error: An Encrypted Connection Not Available

Symptom: The Fix: Run: control.exe > click on Mail Click on Show Profiles Click on…

How To Add or Remove a Path in Windows Environmental Paths

There are 2 functions to Add and Remove, at your convenience: # addEnvironmentalPath.ps1 $pathToAdd='C:\Scripts' $pathToRemove='C:\Scripts'…

PowerShell: Increase Default Windows 260-Character Paths Limit

Problem: Error when trying to rename files manually:'The source files name(s) are larger than is…