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

Linux: Enable PowerShell Remoting WinRM Client on Ubuntu 20.04

This note is a work-in-progress as the NTLM authentication support module by Microsoft for Ubuntu…

PowerShell: Check Speculation Controls for Spectre Mitigation Support on Windows

Run the below function to view an output similar to this: BTIHardwarePresent : True ->…

PowerShell: Moving Guest VMs in Hyper-V in Conjunction with Microsoft Failover Cluster

This code is outdated. Refactor before reuse.. ############################################################################################################### # HyperV-MoveVM.ps1 # Assumption: Hyper-V has been…