Hyper-v says the vm I am trying to replicate is write protected

BigRed 1 Reputation point
2021-07-21T15:15:20.427+00:00

Server 2019 Standard as Hyper-v Host. I have a guest vm (server 2008) that I want to replicate to an identical Hyper-v Host, but it always says the vm is write protected. I have other vms on that same host I can replicate back and forth. I've exported the vm in question and re-imported it to a different drive that worked fine for another vm and replication still says the same thing. Every vm I have, except this one, can replicate from the same host. I posted a screenshot below in the 'Answers' - the guid is of the vm I'm trying to replicate. There is NO write protection on any drive. Is there some sort of repair tool I can run on the vm files?

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

1 answer

Sort by: Most helpful
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,756 Reputation points Microsoft Vendor
    2021-07-22T04:34:09.617+00:00

    Hi,

    After researching, what I could think is to check below settings.

    1. On this VM, set the registry key value to 0
      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies\Microsoft\FVE\FDVDenyWriteAccess - RRG_DWORD
    2. Check if your account has the correct permission for the .vhdx file of the 2008 server VM.
    3. Apart from the replication configuration, have you once scheduled any other task or job on the VM that might be in pending or in progress status? Such as server backup.

    Also, you can check if there is any event log on the host and the VM containing more details about this error, which might help for further investigation.

    Thanks,


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


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.