vshadow.exe versions
Vshadow.exe is a nifty little command-line tool for creating/deleting/querying/managing shadow copies on Windows. Unfortunately, it doesn't ship with any version of Windows, there are different versions of it for every version of Windows, and it typically comes packaged in some big SDK package.
(The exception here is Windows Vista/2008 and 7/2008 R2, which ships with diskshadow.exe, a tool with the same functionality, but a different interface - it has its own shell, similar to how diskpart.exe works. This arguably makes it more difficult to script; mostly because it involves dealing with another scripting environment.)
Here's a StackOverflow answer with a bit more background to all this.
To make things easier, I've collected the various vshadow.exe versions into a single zip file, which you can download here.
Inside that zip file are the following files -
- vshadow-2003-x86.exe
- vshadow-2003-x86-alt.exe
- vshadow-xp-x86.exe
- vshadow-2008-r2-x64.exe
- vshadow-2008-r2-x86.exe
- vshadow-2008-x64.exe
- vshadow-2008-x86.exe
They are named according to the operating system version they work on.
As far as I know, there isn't a version specifically for 2003 x64, and there aren't any versions specific to 2003 R2 either. So I believe vshadow-2003-x86.exe will work on R2 systems, as well as x64. You'll just get an error if they don't - no harm will be done (don't quote me on this though; this was the case with running the x64 one on x86 machines, and the 2008 one on 2008 R2, so there is precedence).
There are two versions for Windows Server 2003, because both claim to be for that OS version, but they're different sizes. I don't have a 2003 box around to work out the difference. There is also a separate one for Windows XP.
The files above also run on the corresponding desktop operating system unless there is a specific version for the desktop operating system, i.e. the 2008 files run on Windows Vista; and the 2008 R2 files run on Windows 7.
changelog
Thanks to Kerridge Hanning in the comments, I have added vshadow.exe for Windows XP into the download and amended the post.
Excellent work.
I can update my SAVE USER PROFILE script to work with Windows 7 now!
Many thanks. :-)
Thanks!
I've been searching this for ages!
Thank you very much. I really couldn't be bothered to download 2.5 GB of files just for one file!
Brilliant! Exactly what I've been searching for and not finding for so long. Great stuff, thanks very much :o)
I still had a problem with an xp sp3 system (2003 version didn't work) and had to download another version which i got via this page:-
http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=User_Scripts_-_Client_-_Windows_VSS
instructions were:
vshadow.exe (The version for Windows XP may be copied from "C:\Program Files\Microsoft\VSSSDK72\TestApps\vshadow\bin\release-xp\vshadow.exe" if the SDK is installed to its default location.)
hth someone else.
Very helpfull !
This is awesome! I've been waiting at least 20 minutes for the stupid windows 7 SDK to install before I stumbled on this. Thanks!!
Vshadow + rsync on cygwin = winning backup
Thankyou!
the x86 for win2k3 does not work on my win2k3 x64 server with exchange 2007 :-(
I will keep looking for the correct version...
Is there a silent (quiet or unattended) option to install this? Thanks in advance.
^I think they are just executable binaries. Not installers.
So these vshadow.exe files run on their respective intended target OS without having to install the full SDK package that the exe originally came bundled with?
They seem quite small. I do notice, however, that on my Win Server 2008 x64 (no SDK installed) that there is a Volume Shadow Service already installed (but not running) so I guess the answer could be yes?
I have already downloaded Win2008Server_x64_SDK_setup.exe so do you think it is best to just install the full package rather than use vshadow.exe by itself?
Does anyone know if VSHADOW.EXE is redistributable? I need to integrate it as part of a solution in my final year project at uni. Thanks.
Thanks! You saved my life!