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

How to Create a New Jenkins Job to Call a PowerShell Script with Credentials

1. PowerShell & Secured Credentials Support Check for PowerShell support: Manage Jenkins > Plugin Manager…

Members of ‘Remote Desktop Users’ Not Included in the ‘Allow log on through Remote Desktop Services’ List

Error Message: To sign in remotely, you need the right to sign in through Remote…

PowerShell: Administering Network Time Protocol Settings on Windows

Quick Script of Domain Joined Laptops and Desktops for Remote Users: # Set Domain Joined…