Page Not Found

Sorry, that page does not exist. Go Home, Search or give up and read the random post below:

 

 

Backup locked files on Windows 10: Volume Shadow Copy Update

Updated on Friday, January 13, 2023

Demo of ShadowTask

The Volume Shadow Copy Service (VSS) can be used to mount a copy of a drive in a crash consistent state (like you just unplugged your computer) as a different drive letter. My shadow task command line tool makes it easy to do this. Here's an example:

ShadowTask64 C V test.bat

This creates a shadow copy of the C: drive, mounts it as V: and then runs test.bat. When test.bat completes the shadow V: drive is removed.

What can you do with this?

The simple case is grabbing a copy of a locked file. In this case test.bat could just run pause and then grab the file you need from V:.

It's also a great way to run a backup. In this case the batch file can run XCOPY (to a network share or portable drive) and you'll get all your files including anything locked like running executables or Outlook PST files.

Grab the latest from GitHub: abfo/shadow/releases. You'll find a ZIP file and source code if you want to use/extend this. There are 32 and 64-bit binaries - you need to use the right one for your computer and you also need to run the tool with administrative privileges. This only works with NTFS drives.

(Previously)

Add your comment...

Related Posts

You Might Also Like

(All Code Posts)

(Published to the Fediverse as: Backup locked files on Windows 10: Volume Shadow Copy Update #code #vss #backup Command line tool that mounts a shadow copy of any NTFS drive in Windows 10 so you can grab a locked file or run a complete crash-consistent XCOPY backup. )