RCT Implementation

balu T 41 Reputation points
2020-08-07T17:49:01.403+00:00

Hi, we are trying to use the RCT implementation. Few questions related to it:

  1. the query WMI GetVirtualDiskChanges or VHD QueryChangesVirtualDisk returns access_denied error for the full backup. Any idea on what is best to perform full backup ?
  2. We tried the below procedure and found to get the corrupted disk.

> Create production snapshot using WMI
> then we manually Copied the vhdx file to some other directory (say c:\temp\vm1)
> Created reference point (say, RCT_id1).
> Delete snapshot
> Add files to guest os.
> Create snapshot again
> Run in GetVirtualDiskChanges query to get changed blocks since RCT_id1
> Read the blocks (offset/length) - (seek and read) to get the data to buffer.
> Write the buffer to c:\temp\vm1\ (saved in step 2) - overwrite
> Open the c:\temp\vm1\vm1.vhdx =====> This is corrupted.

Any help here is appreciated

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,707 questions
{count} votes

Accepted answer
  1. Leon Laude 85,781 Reputation points
    2020-08-11T12:20:52.74+00:00

    Hi,

    Your question is out of scope for this forum, since your question is related to the Windows API, I suggest you ask in the dedicated Windows API forum over here:
    https://learn.microsoft.com/en-us/answers/topics/winapi-general.html

    ----------

    (If the reply was helpful please don't forget to accept as answer, thank you)

    Best regards,
    Leon


1 additional answer

Sort by: Most helpful
  1. Ian Xue 36,746 Reputation points Microsoft Vendor
    2020-08-10T10:10:47.403+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.