Shadow copy is not breakable for read/write

amomen 381 Reputation points
2024-04-03T05:34:21.5+00:00

Dear everybody,

I need to create a shadow copy for read/write. I am trying to do this using Windows SDK vshadow.exe and vssadmin.exe tools. These are the commands that I execute respectively:

vshadow -p -rw -script=c:\cmd\SETVAR1.cmd d:

vshadow -el={451c1ab8-0de8-4592-95ce-5795ef43abbd},x:

vshadow -bw={d3165e77-b7f8-4580-a09f-8054c450a6b3}

All is good up to the second command. The shadow copy is exposed but it is read-only. When I execute the third command, I get the following error:

User's image

And thus it remains read-only. VSS_E_PROVIDER_VETO.txtI added the /tracing option but it is not informative at all and leads to absolutely nowhere. I have included its output as an attachment. In addition, I have included the original output of the execution of the first command if it can be of any help.

I really appreciate your help in advance.

Regards,

Ali

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,029 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 29,311 Reputation points Microsoft Vendor
    2024-04-10T08:17:28.9233333+00:00

    Hi amomen,

    Thanks for your post. Please mention that the -b and -bw command-line options are mutually exclusive and cannot be combined with other command-line options.

    Therefore, kindly use -p and -bw separately and see if it take effect.

    Reference: https://learn.microsoft.com/en-us/windows/win32/vss/vshadow-tool-and-sample#breaking-a-shadow-copy-set

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments