In a mixed language environment where the server name or domain name contains international characters, you might encounter an error at the time of enabling replication. The event viewer messages will tell you that “Hyper-V failed to enable replication for virtual machine” and “The server name or address could not be resolved (0x00002EE7)”. The problem could seem a little perplexing because pinging the same FQDN might work just fine. The problem occurs because of Hyper-V Replica’s dependency on HTTP.
To work around the issue, an exception rule needs to be added to the primary server’s name resolution policies. Follow these steps to create the rule:
- Open the Local Group Policy Editor (Gpedit.msc).
- Under Local Computer Policy, expand Computer Configuration, Windows Settings, and then click Name Resolution Policy.
- In the Create Rules area, click FQDN, and then enter the Replica server FQDN that was failing.
- On the Encoding tab, select the Enable Encoding check box, and make sure that UTF-8 with Mapping is selected.
- Click Create.
The rule appears in the Name Resolution Policy Table.
- Click Apply, and then close the Local Group Policy Editor.
- From an elevated command prompt, run the command gpupdate to update the policy.