techpress.net Open in urlscan Pro
52.12.198.95  Public Scan

URL: https://techpress.net/how-to-troubleshoot-volume-shadow-copies-on-windows/
Submission: On January 12 via api from ZA — Scanned from DE

Form analysis 3 forms found in the DOM

POST https://techpress.net/wp-comments-post.php

<form action="https://techpress.net/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate="">
  <p class="comment-form-comment"><label for="comment" class="screen-reader-text">Comment</label><textarea id="comment" name="comment" cols="45" rows="8" required=""></textarea></p><label for="author" class="screen-reader-text">Name</label><input
    placeholder="Name *" id="author" name="author" size="30" required="">
  <label for="email" class="screen-reader-text">Email</label><input placeholder="Email *" id="email" name="email" type="email" size="30" required="">
  <label for="url" class="screen-reader-text">Website</label><input placeholder="Website" id="url" name="url" type="url" size="30">
  <p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"> <label for="wp-comment-cookies-consent">Save my name, email, and website in this browser for the next time
      I comment.</label></p>
  <p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Post Comment"> <input type="hidden" name="comment_post_ID" value="1764" id="comment_post_ID">
    <input type="hidden" name="comment_parent" id="comment_parent" value="0">
  </p>
</form>

POST #

<form action="#" method="post" accept-charset="utf-8" id="subscribe-blog-blog_subscription-4">
  <div id="subscribe-text">
    <p>Tips / Troubleshooting / How To Articles on IT, Microsoft 365 / Office 365, Windows 10 / 11, Microsoft Intune, Powershell, Azure and lot more...</p>
    <p>Get Notified when a new blog post is published.</p>
  </div>
  <p id="subscribe-email"><label id="jetpack-subscribe-label" class="screen-reader-text" for="subscribe-field-blog_subscription-4">Email Address</label>
    <input type="email" name="email" required="" id="subscribe-field-blog_subscription-4" placeholder="Email Address">
  </p>
  <p id="subscribe-submit"><input type="hidden" name="action" value="subscribe">
    <input type="hidden" name="source" value="https://techpress.net/how-to-troubleshoot-volume-shadow-copies-on-windows/">
    <input type="hidden" name="sub-type" value="widget">
    <input type="hidden" name="redirect_fragment" value="subscribe-blog-blog_subscription-4">
    <button class="wp-block-button__link" name="jetpack_subscriptions_widget"> Subscribe</button>
  </p>
</form>

https://techpress.net/

<form role="search" action="https://techpress.net/" class="wp-block-search__button-outside wp-block-search__text-button wp-block-search"><label for="wp-block-search__input-1" class="wp-block-search__label"><strong>Search for content on this
      website</strong><br><br></label>
  <div class="wp-block-search__inside-wrapper" style="width:100%"><input type="search" id="wp-block-search__input-1" class="wp-block-search__input wp-block-search__input" name="s" placeholder="Search..." required=""><button
      class="wp-block-search__button has-text-color has-contrast-color wp-element-button">Search</button></div>
</form>

Text Content

🌎 DE EN FR ES IT HR SV SR SL NL
✕


🍪 DATENSCHUTZ & TRANSPARENZ

Wir und unsere Partner verwenden Cookies, um Informationen auf einem Gerät
speichern und/oder abrufen zu können. Wir und unsere Partner verwenden Daten für
Personalisierte Anzeigen und Inhalte, Anzeigen- und Inhaltsmessungen,
Erkenntnisse über Zielgruppen und Produktentwicklungen. Ein Beispiel für Daten,
welche verarbeitet werden, kann eine in einem Cookie gespeicherte eindeutige
Kennung sein. Einige unserer Partner können Ihre Daten im Rahmen ihrer legitimen
Geschäftsinteressen verarbeiten, ohne Ihre Zustimmung einzuholen. Um die
Verwendungszwecke einzusehen, für die diese ihrer Meinung nach ein berechtigtes
Interesse haben, oder um dieser Datenverarbeitung zu widersprechen, verwenden
Sie den unten stehenden Link zur Anbieterliste. Die übermittelte Einwilligung
wird nur für die von dieser Webseite ausgehende Datenverarbeitung verwendet.
Wenn Sie Ihre Einstellungen ändern oder Ihre Einwilligung jederzeit widerrufen
möchten, finden Sie den Link dazu in unserer Datenschutzerklärung, die von
unserer Homepage aus zugänglich ist.



Einstellungen verwalten Weiter mit den empfohlenen Cookies

Anbieter-Liste | Datenschutzerklärung
Skip to content

Menu
 * Intune
 * Office 365
 * Cloud
   * Microsoft 365
     * Exchange Online
     * Sharepoint Online (SPO)
     * Microsoft Teams
     * Onedrive
 * Azure
   * Azure Active Directory
 * Microsoft
   * Windows 10
   * Windows 11
   * Exchange
     * Exchange 2010
   * Active Directory / GPO / DNS / DHCP
   * Tools and Troubleshooting
     * Microsoft Outlook
 * DevOps
   * Terraform
 * Powershell
 * Explore
   * Networks
     * Cisco
       * Cisco Switch
       * Cisco Router
   * Citrix
     * Citrix Virtual Apps and Desktops
     * Citrix XenApp 6.5
     * NetScaler
   * VMWARE


Menu
 * Intune
 * Office 365
 * Cloud
   * Microsoft 365
     * Exchange Online
     * Sharepoint Online (SPO)
     * Microsoft Teams
     * Onedrive
 * Azure
   * Azure Active Directory
 * Microsoft
   * Windows 10
   * Windows 11
   * Exchange
     * Exchange 2010
   * Active Directory / GPO / DNS / DHCP
   * Tools and Troubleshooting
     * Microsoft Outlook
 * DevOps
   * Terraform
 * Powershell
 * Explore
   * Networks
     * Cisco
       * Cisco Switch
       * Cisco Router
   * Citrix
     * Citrix Virtual Apps and Desktops
     * Citrix XenApp 6.5
     * NetScaler
   * VMWARE


HOW TO TROUBLESHOOT VOLUME SHADOW COPIES ON WINDOWS

Last Updated on: January 11, 2023 by @techpress

Home » Tools and Troubleshooting » How to troubleshoot Volume shadow Copies on
Windows


TABLE OF CONTENTS

 * What is Volume Shadow Copy Service (VSS)
 * A Volume Shadow Copy Service component encountered an unexpected error. Check
   the Application event log for more information. Error code 0x80042302
 * Vssadmin command
 * Ensure that the VSS writers are in Stable State
 * Ensure that you can see Registered Shadow Copy Providers
 * List existing Volume Shadow Copies
 * Lists all shadow copy storage associations on the system.
 * Delete Shadow Copies using command line
   * wmic command
   * Vssadmin delete shadows
   * diskshadow Command
 * Best Practices
 * More Information
 * Conclusion


WHAT IS VOLUME SHADOW COPY SERVICE (VSS)

Volume shadow copy service in Windows operating system allows you to create
consistent backups of open files and applications. You can create shadow copies
of shared folders on your file server or Windows client OS on regular intervals.
If any file has been deleted by user from a file server, you can quickly go to
the shadow copy backup and restore the file for the user.


A VOLUME SHADOW COPY SERVICE COMPONENT ENCOUNTERED AN UNEXPECTED ERROR. CHECK
THE APPLICATION EVENT LOG FOR MORE INFORMATION. ERROR CODE 0X80042302

You may experience this error message while taking backup on a window device or
while performing a system restore. Please follow below troubeshooting steps to
fix this issue:



Make sure Volume shadow copy service is not in disabled state. If Its in
disabled state, please follow below steps to enable it:

 1. Go to Start and search for services App. Alternatively press Windows key + R
    to open a Run dialog box.
 2. Type services.msc and press enter.
 3. Search for Volume Shadow Copy service from the list and check its Startup
    Type. If its disabled then double-click on the service and then change the
    Startup type to Automatic.

 3. Make sure Microsoft Software Shadow Copy Provider service is also not in
    disabled state. If its in disabled state, you need to double-click on the
    service and then change the Startup type to Automatic.

 4. If the error message persists, then you can try to disable Windows defender
    and any third party security system installed on that device temporarily.
    Try to take the backup / perform system restore again to see if its working
    fine. Once the back up process completes, switch on your security solution
    and windows defender.

 5. Perform Clean boot of your windows device. To enable clean boot on the
    device:

 * Press Windows Key + R to open Run box.
 * Type msconfig.exe in the run box.
 * Go to General tab and uncheck Load startup items from Selective startup.

 * Go to Services tab and select Hide all Microsoft services, click on Disable
   All button on the bottom right hand side corner of the window.

 * Click on Apply or OK to save the changes.
 * Restart your device.

Test Volume shadow copy once to check if its working now. Make sure to change
the startup time to Normal startup once you are done with the troubleshooting
this error.

There are a lot of other errors related to Volume shadow copy service. You can
troubleshoot it using the commands shown in the next section of this post.




VSSADMIN COMMAND

A quite useful built-in command which you can use as a starting point while
troubleshooting the Shadow Copies is Vssadmin. Lets run this command with
different parameters and check the results.

There are different switches / commands which can be used with vssadmin. To show
/ list the different commands, Open Powershell as Administrator or Command
prompt as an Administrator and type vssadmin


Vssadmin /? command

CommandDescriptionAvailabilityVssadmin add shadowstorageAdds a volume shadow
copy storage association.Server onlyVssadmin create shadowCreates a new volume
shadow copy.Server onlyVssadmin delete shadowsDeletes volume shadow
copies.Client and ServerVssadmin delete shadowstorageDeletes volume shadow copy
storage associations.Server onlyVssadmin list providersLists registered volume
shadow copy providers.Client and ServerVssadmin list shadowsLists existing
volume shadow copies.Client and ServerVssadmin list shadowstorageLists all
shadow copy storage associations on the system.Client and ServerVssadmin list
volumesLists volumes that are eligible for shadow copies.Client and
ServerVssadmin list writersLists all subscribed volume shadow copy writers on
the system.Client and ServerVssadmin resize shadowstorageResizes the maximum
size for a shadow copy storage association.Client and ServerSource:Microsoft

Vssadmin commands


ENSURE THAT THE VSS WRITERS ARE IN STABLE STATE

Run the Command vssadmin list writers and make sure that all the VSS writers are
in [1] stable state. you may see different vss writers depending upon
application server you are running this command e.g. If you are running this
command on Microsoft Exchange Server, you will see [Writer name: ‘Microsoft
Exchange Writer‘] in addition to the other vss writers. If Microsoft Exchange
Writer status is not stable, Restart the Microsoft Exchange Information Store
Service or restart Exchange Server and check the writer state again before
re-starting the backup job.




Vssadmin list writers




ENSURE THAT YOU CAN SEE REGISTERED SHADOW COPY PROVIDERS

To list the currently registered shadow copy providers, Run the command vssadmin
list providers


vssadmin list providers

If you do not see providers listed after running the above command it could be
OS related issue or the Volume Shadow Copy Service is not running.


LIST EXISTING VOLUME SHADOW COPIES

To list existing shadow Copies use the command vssadmin list shadows


vssadmin list shadows


LISTS ALL SHADOW COPY STORAGE ASSOCIATIONS ON THE SYSTEM.

Run below command to see all storage associations for the existing shadow
copies. The default storage allocates 10% of the volume to the shadow copies.

vssadmin list shadowstorage

You can also check the Shadow Copy Storage Association on the volume using GUI
Method by Right Clicking the Volume -> Properties -> click Shadow Copies Tab.


Shadow Copies

Run the command vssadmin list shadowstorage /? to get more parameters which you
can use with this command. For example you can use /for parameter to list all
associations for a specified volume.

vssadmin list shadowstorage /?


DELETE SHADOW COPIES USING COMMAND LINE

There are few options or commands you can use to delete the shadow copies.
Shadow Copies data is stored in a folder called System Volume information which
is a hidden system folder. If you see that the System volume information folder
is quite big in size and consuming a lot of space then you can check if you got
any stale shadow copies which might be stored in this system folder and which
you may want to delete to free up the space. If you decided to get rid of shadow
copies from the volume then follow below command line options to complete your
task.




WMIC COMMAND

Use wmic command to delete the shadow copies. When you run this command, you
will be on the wmic:\root\cli> prompt. Type shadowcopy delete to delete the the
shadow copies one by one. type Y to delete the shadow copy or N to skip to next
shadow copy.

Note: To find the shadow copy ID use the command vssadmin list shadows. After
using wmic command if you find that the shadow copies are not deleted or you get
an error message as shown in the below screenshot, you can either use Vssadmin
delete shadows command or Diskshadow command as shown in the next sections.


wmic command example


VSSADMIN DELETE SHADOWS

vssadmin delete shadows command can be used to delete all shadow copies or
specific shadow copies from the volume. Use the /? in the end of the command to
list parameters which you can use with this command. To delete all shadow copies
using vssadmin delete shadows command, you can use below command.

Vssadmin delete shadows /all




DISKSHADOW COMMAND

You can also use diskshadow command to delete all the shadow copies from the
system. Open command prompt as administrator -> Type diskshadow -> then on
the DISKSHADOW> prompt type delete shadows all to delete / remove all shadow
copies from the server.

Diskshadow command reference


diskshadow command


BEST PRACTICES

Best Practice when configuring the Shadow Copy is to use a disk which will not
be shadow copied and have enough free space to store the shadow copies as per
the configuration. You get below message when setting it up which suggest the
same.

Enable Shadow Copies


MORE INFORMATION

Volume Shadow Copy Service | Microsoft Docs




CONCLUSION

In this blog post, we have seen how you can troubleshoot issues related to
shadow copies. Vssadmin command is very handy to use on windows devices when you
are working on windows devices. You can also find examples of the commands with
screenshots.


RELATED

EXCEL CANNOT ACCESS BLOOMBERGUI.XLA. THE DOCUMENT MAY BE READ-ONLY OR ENCRYPTED.

Issue description: When you launch Microsoft Excel 2016 you get below error
message: 'BloombergUI.xla' cannot be accessed. The file may be corrupted,
located on a server that is not responding, or read-only Excel cannot access
'BloombergUI.xla'. The document may be read-only or encrypted. When Excel is
Opened -> Bloomberg Tab…

February 15, 2021

In "Tools and Troubleshooting"

A FOREIGN OBJECT CACHE DROP-IN WAS FOUND. TO USE REDIS FOR OBJECT CACHING,
PLEASE ENABLE THE DROP-IN.

Overview Recently I got this error message when I updated Redis Object Cache
wordpress plugin on my site. As soon as I enabled Redis Object Cache, I got the
error message: "There has been a critical error on your website. Please check
your site admin email inbox for instructions." "A foreign…

July 21, 2022

In "Tools and Troubleshooting"

DEPLOY DESKTOP WALLPAPER AND LOCK SCREEN IMAGE ON WINDOWS 10 USING GPO

RequirementI got a request from client to deploy their organization wallpaper
and lock screen image across all the domain joined workstations. Domain joined
workstations also include the laptops which are not in office but connect via
VPN. I have created one GPO which covers both the scenarios. Its a tested…

May 19, 2021

In "Windows 10"

report this ad
Sponsored Content
 * 
   Das sollten Sie noch vor Ihrem Tod für Ihre Kinder tun! Pro Verbraucher
 * 
   Was kostet eine Solaranlage mit Speicher 2023? Photovoltaik für Hausbesitzer
 * 
   Doktor nennt Hauptgrund für Bauchfett (nicht Kalorien) Gesundheitswissen
   Aktuell

 * 
   99 Tipps für Ihren Ruhestands-Beginn Grüner Fisher
 * 
   Was, wenn das Kaiserreich 1914 so expandiert wäre? Spiel simuliert
   alternativ-historische Szenarien Historisches Strategiespiel
 * 
   Diese neuen Treppenlifte sind beeindruckend Treppenlifte



Categories Tools and Troubleshooting


3 THOUGHTS ON “HOW TO TROUBLESHOOT VOLUME SHADOW COPIES ON WINDOWS”

 1. Livio Mozarth
    April 7, 2021 at 9:40 pm
    
    Thanks so much!!!! WMIC !!!!
    
    Reply
    * Jatin Makhija
      April 8, 2021 at 8:07 am
      
      No Problem, Livio Mozarth.
      
      Reply
 2. Vlad
    December 26, 2021 at 3:35 am
    
    Excellent article, thanks!
    
    Reply


LEAVE A COMMENT CANCEL REPLY

Comment

Name Email Website

Save my name, email, and website in this browser for the next time I comment.




SUBSCRIBE TO BLOG VIA EMAIL

Tips / Troubleshooting / How To Articles on IT, Microsoft 365 / Office 365,
Windows 10 / 11, Microsoft Intune, Powershell, Azure and lot more...

Get Notified when a new blog post is published.

Email Address

Subscribe

Search for content on this website


Search


LATEST POSTS


 * 
   How to Enable Always on top in Zoom Meetings App
 * 
   How to add fonts to Microsoft Paint App
 * 
   How to join zoom meetings automatically muted
 * 
   How to check your onedrive storage usage
 * 
   How to connect to sharepoint online using powershell
 * 
   How to Disable External Sharing in SharePoint Online
 * 
   How to restrict access to a folder in a sharepoint online document library

Install and Configure DarkTrace vSe...


Please enable JavaScript



Video Player is loading.
Play Video
Play
Unmute

Current Time 0:00
/
Duration 14:40
Loaded: 0.23%


00:00

Stream Type LIVE
Seek to live, currently behind liveLIVE
Remaining Time -14:40
 
1x
Playback Rate

Chapters
 * Chapters

Descriptions
 * descriptions off, selected

Captions
 * captions settings, opens captions settings dialog
 * captions off, selected

Audio Track
 * und, selected

Auto(360pLQ)
 * 1080pFHD
 * 720pHD
 * Auto(360pLQ)

ShareFullscreen

This is a modal window.



Beginning of dialog window. Escape will cancel and close the window.

TextColorWhiteBlackRedGreenBlueYellowMagentaCyanTransparencyOpaqueSemi-TransparentBackgroundColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyOpaqueSemi-TransparentTransparentWindowColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyTransparentSemi-TransparentOpaque
Font Size50%75%100%125%150%175%200%300%400%Text Edge
StyleNoneRaisedDepressedUniformDropshadowFont FamilyProportional
Sans-SerifMonospace Sans-SerifProportional SerifMonospace SerifCasualScriptSmall
Caps
Reset restore all settings to the default valuesDone
Close Modal Dialog

End of dialog window.




Install and Configure DarkTrace vSensor and OSSensor

report this ad
report this ad
report this ad
© TechPress | Privacy Policy
Close
 * Intune
 * Office 365
 * Cloud
   * Microsoft 365
     * Exchange Online
     * Sharepoint Online (SPO)
     * Microsoft Teams
     * Onedrive
 * Azure
   * Azure Active Directory
 * Microsoft
   * Windows 10
   * Windows 11
   * Exchange
     * Exchange 2010
   * Active Directory / GPO / DNS / DHCP
   * Tools and Troubleshooting
     * Microsoft Outlook
 * DevOps
   * Terraform
 * Powershell
 * Explore
   * Networks
     * Cisco
       * Cisco Switch
       * Cisco Router
   * Citrix
     * Citrix Virtual Apps and Desktops
     * Citrix XenApp 6.5
     * NetScaler
   * VMWARE


x
x
x