Volume Shadow Service (VSS), also called Volume Shadow Copy refers to a volume shapshot service built in to Microsoft Windows Operating Systems from XP or greater. Questions concerning the API should use this tag; you may also consider tagging your question Windows and the language of your choice.
Questions tagged [volume-shadow-service]
97 questions
1
vote
2 answers
How to use Volume Shadows Copy and Robocopy on Win7?
I’d like to backup my system with Robocopy and Powersell but Robocopy is not able to copy opened files.
Volume Shadows Copy seems a solution but I don’t find any clear and simple explanation how to use it.
Do you have any idea?
I’m running on…

Franck
- 11
- 1
- 1
- 2
1
vote
2 answers
Why does my Volume Shadow Copy Service requester fail: cannot find CreateVssBackupComponentsInternal
I have implemented a VSS requester, and it links compiles and executes on Windows Server 2008, but does not execute on Windows Server 2003. Since my requester is inside a DLL, my DLL will not load. Using the Dependency Walker, I discovered that my…

Jared Oberhaus
- 14,547
- 4
- 56
- 55
1
vote
1 answer
Microsoft VSHADOW.EXE shadow copies contain locked files?
I've been writing a backup program using VSS and started out with VSHADOW.EXE from the Windows SDK 6.1 Samples. It generally works, but I was astonished to see that certain files are still locked inside the shadow copies it creates, such as…

Felix Dombek
- 13,664
- 17
- 79
- 131
1
vote
1 answer
Linker error when compiling vshadow, part of the Volume Shadow Copy Service SDK
I am getting this linker error when trying to compile the c++ project for the VSS SDK
Error 1 error LNK2019: unresolved external symbol "long __stdcall ShouldBlockRevert(wchar_t const *,bool *)" (?ShouldBlockRevert@@YGJPB_WPA_N@Z) referenced in…

Malfist
- 31,179
- 61
- 182
- 269
1
vote
1 answer
Backup Files in use by another Process
My application currently uses a third party API that has a bug forcing me to build it in 32bit. Unfortunately this conflicts with Window's Volume Shadow Copy as this apparently must be run in 64bit to work.
Are there any alternatives to VSS I can…
user470760
1
vote
2 answers
Hyper-V Backup with diskshadow - when to call "end backup"?
I am implementing a backup of Hyper V VMs using diskshadow based on Windows VSS (Volume Shadow Copy Service).
The implementation is pretty much as described in DiskShadow / Xcopy BACKUP of Hyper-V, where the diskshadow script is like the…

nang
- 421
- 6
- 16
1
vote
1 answer
Why does viewing VSS cause OLE error 0x80041014?
I am trying to write some digital forensics software in python, which means I need a way to access volume shadow copies on windows. I am following this article from SANS https://www.sans.org/blog/using-volume-shadow-copies-from-python, using the…

incarnadine
- 658
- 7
- 19
1
vote
1 answer
Delete specific files/folders from volume shadow copy backups
I need to erase some files/folders from disk completely, including shadow copies. Is it possible?

Nime Cloud
- 6,162
- 14
- 43
- 75
1
vote
2 answers
Windows VSS (Volume Shadow Copy) in C++
I need some help with getting VSS to work in C++. My basic aim is to scan a folder for changed files (by modified date) and then back them up to another device using VSS. The documentation is unclear (to me at least) on how I can do this and I…

JWood
- 2,804
- 2
- 39
- 64
1
vote
1 answer
Copying files in use with Ruby
I need to copy some files that are in use by windows with a ruby script. The OS will either be Windows XP or Windows 7 both 32-bit. Can anyone point me to some information on using Volume Shadow copy with ruby? Is there a gem for this? I would…

Cryptographic_ICE
- 609
- 7
- 24
1
vote
3 answers
Backup large number of files without enumerating
Is there a way in .NET to backup a directory containing multiple sub directories each containing potentially 10,000 or more files of roughly 100kb-500kb in size without enumerating? The use case here is incrementally backing up files to USB storage…

Smitty
- 1,765
- 15
- 22
1
vote
1 answer
java.nio.file.Path error with VSS (Volume Shadow Copy) paths
Using VSS, I've created a volume snapshot and can successfully access files on it:
C:\> type \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\Users\Eric\Desktop\test.txt
test text 1/2
test text 2/2
When I try to access the same file from java using…

Eric
- 11,392
- 13
- 57
- 100
1
vote
1 answer
Need to use Volume Shadow Copy Service in 32/64 bit QT C++ program
I have a couple questions about using Volume Shadow Copy Service for my QT C++ program.
I read that in order to use VSS you must be running native 32/64 bit
no WOW64 supported. So this means I need to compile my program in
whatever bits Windows is…

riverofwind
- 525
- 4
- 17
1
vote
0 answers
Taking VSS snapshot as regular user
I want to read exclusive-opened files on Windows on a user-specified volume.
The established way to do this is to take a VSS snapshot.
Taking a VSS snapshot generally requires administrative permissions, so my application is split into an unelevated…

mappu
- 329
- 2
- 16
1
vote
0 answers
while trying to add smb volume to the snapshot set in windows server 2012 R2
In windows server 2012 R2, While trying to add the smb volume to the snapshot set, i get an error 0x8004230f after calling the AddToSnapshotSet() function. I have searched the error and found some resolutions on…

Nishant Kumar
- 41
- 6