question

BigRed-6462 avatar image
0 Votes"
BigRed-6462 asked ElevenYu-MSFT commented

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

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?









windows-server-hyper-v
capture.jpg (58.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

here's a screenshot of the message:

116698-capture.jpg


0 Votes 0 ·
capture.jpg (58.5 KiB)

1 Answer

ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered ElevenYu-MSFT commented

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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the info - but no luck. That registry entry doesn't exist on my Hyper-v Host or even the VM guest machine. No backups on the Host or Guest being done. The event viewer just says the same thing as the message I get when I try to replicate it - that the media is write protected. I've googled this issue and seem to be the only person to have ever experienced it!

0 Votes 0 ·

Hi,

If the registry entry doesn't exist, you should create a one to see if the issue could be resolved or not.

Please kindly have a try.

Thanks,


0 Votes 0 ·