running "vshadow.exe c:" produces errors - Storage

This is a discussion on running "vshadow.exe c:" produces errors - Storage ; Hello. On a Windows XP SP2 machine with all the latest updates, running "vshadow.exe c:" from the VSS SDK v7.2 for xp produces this error: VSHADOW.EXE 2.2 - Volume Shadow Copy sample client Copyright (C) 2005 Microsoft Corporation. All rights ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: running "vshadow.exe c:" produces errors

  1. running "vshadow.exe c:" produces errors

    Hello.

    On a Windows XP SP2 machine with all the latest updates, running
    "vshadow.exe c:" from the VSS SDK v7.2 for xp produces this error:

    VSHADOW.EXE 2.2 - Volume Shadow Copy sample client
    Copyright (C) 2005 Microsoft Corporation. All rights reserved.


    (Option: Create shadow copy set)
    (Gathering writer metadata...)
    (Waiting for the asynchronous operation to finish...)
    Initialize writer metadata ...

    ERROR: Win32 call
    "GetVolumeNameForVolumeMountPointW((LPCWSTR)volumeR ootPath.c_str(),
    WString2Buffer(volumeName), (DWORD)volumeName.length())" failed.
    - GetLastError() == 2
    - Error text: The system cannot find the file specified.


    - Please re-run VSHADOW.EXE with the /tracing option to get more details



    Here is the complete output with tracing enabled:


    VSHADOW.EXE 2.2 - Volume Shadow Copy sample client
    Copyright (C) 2005 Microsoft Corporation. All rights reserved.


    (Option: Enable tracing)
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 'wx'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 'wi'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
    'c:' with 'wait'

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 'script'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 'exec'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
    'c:' with 'tracing'

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
    'c:' with '?'

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
    'c:' with 'q'

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 'qx'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 's'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
    'c:' with 'da'

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 'dx'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 'ds'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
    'c:' with 'wm'

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
    'c:' with 'wm2'

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
    'c:' with 'ws'

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE

    [[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 'r'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
    CommandLineParser::MatchArgument
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
    'c:' with 'rs'
    [[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
    CommandLineParser::MatchArgument
    [[ IsVolume @ util.h: 243]] ENTER IsVolume
    [[ IsVolume @ util.h: 245]] Checking if
    c: is a real volume path...
    [[ IsVolume @ util.h: 243]] EXIT IsVolume
    (Option: Create shadow copy set)
    [[ CommandLineParser::MainRoutine @ shadow.cpp: 84]] OUTPUT:
    (Option: Create shadow copy set)
    [[ CommandLineParser::MainRoutine @ shadow.cpp: 664]]
    Attempting to create a shadow copy set... (volume c: was added as parameter)
    [[ GetUniqueVolumeNameForPath @ util.h: 296]] ENTER
    GetUniqueVolumeNameForPath
    [[ GetUniqueVolumeNameForPath @ util.h: 300]] - Get volume
    path name for c: ...
    [[ GetUniqueVolumeNameForPath @ util.h: 308]] - Path name:
    c:\ ...
    [[ GetUniqueVolumeNameForPath @ util.h: 313]] - Volume name
    for path: \\?\Volume{7f066e15-5691-11da-adff-806d6172696f}\ ...
    [[ GetUniqueVolumeNameForPath @ util.h: 318]] - Unique
    volume name: \\?\Volume{7f066e15-5691-11da-adff-806d6172696f}\ ...
    [[ GetUniqueVolumeNameForPath @ util.h: 296]] EXIT
    GetUniqueVolumeNameForPath
    [[ VssClient::Initialize @ vssclient.cpp: 45]] ENTER
    VssClient::Initialize
    [[ VssClient::Initialize @ vssclient.cpp: 48]] Executing
    COM call '"CoInitialize(NULL)"'
    [[ VssClient::Initialize @ vssclient.cpp: 63]] Executing
    COM call '"CoInitializeSecurity( NULL, -1, NULL, NULL,
    RPC_C_AUTHN_LEVEL_PKT_PRIVACY, RPC_C_IMP_LEVEL_IDENTIFY, NULL, EOAC_NONE,
    NULL )"'
    [[ VssClient::Initialize @ vssclient.cpp: 66]] Executing
    COM call '"CreateVssBackupComponents(&m_pVssObject)"'
    [[ VssClient::Initialize @ vssclient.cpp: 80]] Executing
    COM call '"m_pVssObject->InitializeForBackup()"'
    [[ VssClient::Initialize @ vssclient.cpp: 101]] Executing
    COM call '"m_pVssObject->SetBackupState(true, true, VSS_BT_FULL, false)"'
    [[ VssClient::Initialize @ vssclient.cpp: 45]] EXIT
    VssClient::Initialize
    [[ VssClient::CreateSnapshotSet @ create.cpp: 26]] ENTER
    VssClient::CreateSnapshotSet
    [[ VssClient::GatherWriterMetadata @ writer.cpp: 27]] ENTER
    VssClient::GatherWriterMetadata
    (Gathering writer metadata...)
    [[ VssClient::GatherWriterMetadata @ writer.cpp: 27]] OUTPUT:
    (Gathering writer metadata...)
    [[ VssClient::GatherWriterMetadata @ writer.cpp: 34]] Executing COM
    call '"m_pVssObject->GatherWriterMetadata(&pAsync)"'
    [[VssClient::WaitAndCheckForAsyncOperation @ vssclient.cpp: 109]] ENTER
    VssClient::WaitAndCheckForAsyncOperation
    (Waiting for the asynchronous operation to finish...)
    [[VssClient::WaitAndCheckForAsyncOperation @ vssclient.cpp: 109]] OUTPUT:
    (Waiting for the asynchronous operation to finish...)
    [[VssClient::WaitAndCheckForAsyncOperation @ vssclient.cpp: 114]] Executing
    COM call '"pAsync->Wait()"'
    [[VssClient::WaitAndCheckForAsyncOperation @ vssclient.cpp: 118]] Executing
    COM call '"pAsync->QueryStatus(&hrReturned, NULL)"'
    [[VssClient::WaitAndCheckForAsyncOperation @ vssclient.cpp: 109]] EXIT
    VssClient::WaitAndCheckForAsyncOperation
    Initialize writer metadata ...
    [[ VssClient::GatherWriterMetadata @ writer.cpp: 27]] OUTPUT:
    Initialize writer metadata ...
    [[ VssClient::InitializeWriterMetadata @ writer.cpp: 63]] ENTER
    VssClient::InitializeWriterMetadata
    [[ VssClient::InitializeWriterMetadata @ writer.cpp: 67]] Executing COM
    call '"m_pVssObject->GetWriterMetadataCount (&cWriters)"'
    [[ VssClient::InitializeWriterMetadata @ writer.cpp: 75]] Executing COM
    call '"m_pVssObject->GetWriterMetadata(iWriter, &idInstance, &pMetadata)"'
    [[ VssWriter::Initialize @ writer.cpp: 293]] ENTER
    VssWriter::Initialize
    [[ VssWriter::Initialize @ writer.cpp: 312]] Executing COM
    call '"pMetadata->GetIdentity ( &idInstance, &idWriter, &bstrWriterName,
    &usage, &source )"'
    [[ VssWriter::Initialize @ writer.cpp: 322]] Executing COM
    call '"pMetadata->GetRestoreMethod( &restoreMethod, &bstrService,
    &bstrUserProcedure, &writerRestoreConditions, &rebootRequiredAfterRestore,
    &iMappings )"'
    [[ Guid2WString @ util.h: 186]] ENTER
    Guid2WString
    [[ Guid2WString @ util.h: 189]] Executing COM
    call '"StringCchPrintfW(WString2Buffer(guidString), guidString.length(),
    WSTR_GUID_FMT, GUID_PRINTF_ARG(guid))"'
    [[ Guid2WString @ util.h: 186]] EXIT
    Guid2WString
    [[ Guid2WString @ util.h: 186]] ENTER
    Guid2WString
    [[ Guid2WString @ util.h: 189]] Executing COM
    call '"StringCchPrintfW(WString2Buffer(guidString), guidString.length(),
    WSTR_GUID_FMT, GUID_PRINTF_ARG(guid))"'
    [[ Guid2WString @ util.h: 186]] EXIT
    Guid2WString
    [[ VssWriter::Initialize @ writer.cpp: 334]] Executing COM
    call '"pMetadata->GetFileCounts(&cIncludeFiles, &cExcludeFiles,
    &cComponents)"'
    [[ VssWriter::Initialize @ writer.cpp: 340]] Executing COM
    call '"pMetadata->GetExcludeFile(i, &pFileDesc)"'
    [[ VssFileDescriptor::Initialize @ writer.cpp: 732]] ENTER
    VssFileDescriptor::Initialize
    [[ VssFileDescriptor::Initialize @ writer.cpp: 738]] Executing COM
    call '"pFileDesc->GetPath(&bstrPath)"'
    [[ VssFileDescriptor::Initialize @ writer.cpp: 741]] Executing COM
    call '"pFileDesc->GetFilespec (&bstrFilespec)"'
    [[ VssFileDescriptor::Initialize @ writer.cpp: 744]] Executing COM
    call '"pFileDesc->GetRecursive(&bRecursive)"'
    [[ VssFileDescriptor::Initialize @ writer.cpp: 747]] Executing COM
    call '"pFileDesc->GetAlternateLocation(&bstrAlternate)"'
    [[ GetUniqueVolumeNameForPath @ util.h: 296]] ENTER
    GetUniqueVolumeNameForPath
    [[ GetUniqueVolumeNameForPath @ util.h: 300]] - Get volume
    path name for D:\System Volume Information\catalog.wci ...
    [[ GetUniqueVolumeNameForPath @ util.h: 308]] - Path name:
    D:\ ...
    [[ GetUniqueVolumeNameForPath @ util.h: 312]] Executing
    Win32 call
    '"GetVolumeNameForVolumeMountPointW((LPCWSTR)volumeR ootPath.c_str(),
    WString2Buffer(volumeName), (DWORD)volumeName.length())"'

    ERROR: Win32 call
    "GetVolumeNameForVolumeMountPointW((LPCWSTR)volumeR ootPath.c_str(),
    WString2Buffer(volumeName), (DWORD)volumeName.length())" failed.
    [[ GetUniqueVolumeNameForPath @ util.h: 296]] OUTPUT:
    ERROR: Win32 call
    "GetVolumeNameForVolumeMountPointW((LPCWSTR)volumeR ootPath.c_str(),
    WString2Buffer(volumeName), (DWORD)volumeName.length())" failed.
    - GetLastError() == 2
    [[ GetUniqueVolumeNameForPath @ util.h: 296]] OUTPUT: -
    GetLastError() == 2
    - Error text: The system cannot find the file specified.


    [[ GetUniqueVolumeNameForPath @ util.h: 296]] OUTPUT: -
    Error text: The system cannot find the file specified.


    - Please re-run VSHADOW.EXE with the /tracing option to get more details
    [[ GetUniqueVolumeNameForPath @ util.h: 296]] OUTPUT: -
    Please re-run VSHADOW.EXE with the /tracing option to get more details
    [[ GetUniqueVolumeNameForPath @ util.h: 296]] EXIT
    GetUniqueVolumeNameForPath
    [[ VssFileDescriptor::Initialize @ writer.cpp: 732]] EXIT
    VssFileDescriptor::Initialize
    [[ VssWriter::Initialize @ writer.cpp: 293]] EXIT
    VssWriter::Initialize
    [[ VssClient::InitializeWriterMetadata @ writer.cpp: 63]] EXIT
    VssClient::InitializeWriterMetadata
    [[ VssClient::GatherWriterMetadata @ writer.cpp: 27]] EXIT
    VssClient::GatherWriterMetadata
    [[ VssClient::CreateSnapshotSet @ create.cpp: 26]] EXIT
    VssClient::CreateSnapshotSet
    [[ CommandLineParser::MainRoutine @ shadow.cpp: 84]] EXIT
    CommandLineParser::MainRoutine
    [[ wmain @ shadow.cpp: 66]] HRESULT Error
    catched: 0x80070002
    [[ CommandLineParser::~CommandLineParser @ shadow.cpp: 964]] ENTER
    CommandLineParser::~CommandLineParser
    [[ CommandLineParser::~CommandLineParser @ shadow.cpp: 964]] EXIT
    CommandLineParser::~CommandLineParser
    [[ wmain @ shadow.cpp: 31]] EXIT wmain


    Any help is appreciated.

    Thank you.

  2. Re: running "vshadow.exe c:" produces errors

    This path: D:\System Volume Information\catalog.wci has an error.

+ Reply to Thread