zoombody

by Dan Rice

 

vshadow.exe can’t be run under WOW64

I use the Microsoft-provided vshadow.exe tool to script some backups, but I got an error when trying to run it on a Windows 7 x64 machine:

ERROR: COM call "m_pVssObject->InitializeForBackup()" failed.
- Returned HRESULT = 0x80042302
- Error text:
- Please re-run VSHADOW.EXE with the /tracing option to get more details

That error is obviously unexplanatory, but some investigation led me to deduce that you can’t run the 32-bit version of the tool on a 64-bit version of Windows. The fix is to download the Windows 7 SDK, install the “Developer tools” portion, and dig the 64-bit version of the tool out from %ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\x64\vsstools\vshadow.exe.

If you were Googling that error code, I just saved you some time. You’re welcome.


This article has a comments feed and a trackback.
 

Comments // there are 3 comments

soldieraman says:

thanks man you did. though you might wanna put some keywords like
shadowcopy error 0×80042302

Madan Cheemakurthi says:

Thank you for posting this. In fact, we have come -a-crossed the same error.

We installed 32 bit VSS SDK 7.2 on a x64 box and from there we tried to execute the following command….

vshadow C: V:
and we got the following error…
VSHADOW.EXE 2.2 – Volume Shadow Copy sample client
Copyright (C) 2005 Microsoft Corporation. All rights reserved.

(Option: Create shadow copy set)

ERROR: COM call “m_pVssObject->InitializeForBackup()” failed.
- Returned HRESULT = 0×80042302
- Error text:
- Please re-run VSHADOW.EXE with the /tracing option to get more details

It seems Microsoft don’t have a 64 bit version vshadow.exe packaged in VSS SDK 7.2


 

Leave a comment