Wednesday, 20 April 2016

I'm having trouble connecting my Hyper-V Server manager on a windows 8.1 client to a remote Server 2012R2 Hyper-V Server. The Client is on a domain and the server is in a workgroup outside the network. When I try to add the server I'm getting the error:


RPC server unavailable.  Unable to establish communication between [SERVER] and [CLIENT]"
Here are the steps I've taken so far:
  1. Added the remote server as a trusted host to the client machine
  2. added credentials for the remote server to the client using cmdkey /add:[SERVERFQDN] /user:[SERVERHOSTNAME]\[USER] /pass:[PASSWORD]
  3. Ran winrm quickconfig on the server
  4. Manually set DCOM permission to allow anonymous logon on the client and the server
  5. Added the hostname of the server to the client's hosts file
  6. Rebooted the server
  7. Added the local administrator on the server to the Hyper-V Administrator's group
  8. Both firewalls were off during testing
I've downloaded and run hvremote /show /target:[SERVERFQDN] and can see that there is a problem:
- Connect to root\virtualization WMI namespace
      FAIL - Connection attempt failed

      - Have you run hvremote /add:user or hvremote /add:domain\user
        on the remote computer to grant access?

      - Are you sure the computer name has been entered correctly?

      - Are you sure the remote computer is running Hyper-V?
On the server I've run hvremote /add:"CLIENTDOMAIN\MY LOGIN" and get the following error:
 ***** GetTrustee Failed: CLIENTDOMAIN\MY LOGIN not found
***** If [DOMAIN] is a domain, you need to be connected to the domain for this to work
At this point I'm at a loss. What steps have I missed? Any tips or help anyone could give would be really appreciated.