PC-Addicts.com

Systems Administration

Remotely Manage Hyper-V Server 2012 Core

January 5, 2013 by chrisadmin

How to manage Hyper-V Server 2012 Core in a workgroup environment. This tutorial will help you configure a Windows 8 computer to manage Hyper-V 2012 server (core) within a workgroup environment.

If you are a Systems Administrator in a domain environment, managing Hyper-V Server 2012 Core will work great. Installation and remotely managing it is a breeze. However, if you are in a workgroup environment, it’s not  as simple to setup and remotely manage Hyper-V Server 2012 Core as you would expect.

I must have shot eight different video recordings until I was able to iron out all of the issues. Hopefully you will find this tutorial helpful. If you have tips and suggestions, please leave them in the comments section at the bottom of this page.

Since I put this tutorial out, I have simplified the process even further. Links below!

Remotely Manage Hyper-V Server 2012 Core

This article is part two of two in the series:

Part 1: Hyper-V Server 2012 Core Installation
Part 2: Remotely Manage Hyper-V Server 2012 Core in a Workgroup (this article)

On the Hyper-V Server 2012 Core system

First make sure you can ping the server by it’s computer name. From what I read in other forums, you need to be able to resolve the hostname in order to remotely connect to it in Hyper-V Manager from a client.

Remote into the Hyper-V server from your client computer by using Remote Desktop.

Next we need to allow us access through the Hyper-V’s firewall.

I had some troubles trying to only enable the Remote Management display name, so I just went with all by using “*”. This is not a good idea to do in a production environment (and probably not needed due to having a domain setup), but since we are setting this up for my test lab, I’m OK with it.

  • Make sure you are in the Powershell prompt (should see “PS C:\…” at the prompt)
  • If you are not at the Powershell prompt, simply type: powershell and press enter

[powershell]Enable-NetFirewallRule -DisplayGroup "*"[/powershell]

While we are remoted into the server, let’s manually create a VM. I still have problems creating VMs remotely, so for now this will have to do.

[powershell]New-VM -Name Win8 -MemoryStartupBytes 1GB -NewVHDPath V:\Win8.vhdx -NewVHDSizeBytes 20GB[/powershell]

Of course you will want to fill in whatever Name you want, how much RAM, the path, and how large of a hard drive.

On the client computer

We need to store the server’s credentials locally on this client computer.

  • Open an elevated command prompt (runas Administrator)

[powershell]cmdkey /add:yourHyper-VServerName /user:yourAdminUsername /pass:[/powershell]

cmdkey remote manage hyper-v

Type in the administrator password on your Hyper-V server and press Enter.

Now let’s add the Hyper-V Management Tools feature on the client computer.

  • Open up Programs and Features
  • Select Turn Windows features on or off
  • Expand Hyper-V
  • Select Hyper-V Management Tools and press OK

Add Hyper-V Management Tools Feature

Now we need to allow remote access to ANONYMOUS LOGON

  • On the client computer, search for dcomcnfg and Run is as Administrator

dcomcnfg remote manage hyper-v 2012

  • In Component Services, expand Component Services | Computers
  • Right-click on My Computer and select Properties
  • On the COM Security tab, select Edit Limits…

dcomcnfg edit limits

  • Select ANONYMOUS LOGON and place a check in the Allow column of Remote Access box
  • Select OK twice

Now launch Hyper-V Manager on the client computer

  • In Hyper-V Manager, select Connect to Server in the Actions pane
  • Type in the name of your server and press OK

Since I want to install Windows 8, we need to attach the ISO I downloaded to the CD-Rom of this VM and then boot to the CD-Rom.

  • Select Settings in the Actions pane
  • Select DVD Drive then Image file:
  • Browse to your downloaded ISO and press OK

Hyper-V Boot to CD-Rom Windows 8

Now let’s start up the virtual machine.

  • Select Start in the Actions pane
  • Select Connect in the Actions pane

You should see a window similar to the one below:Hyper-V Server 2012 Core - Remotely Manage - Start

If all went well, you should be able to complete the Windows 8 installation in your new virtual machine.

If you have any troubles, please let me know by leaving a comment below.

What’s Next?

Since this article, I have posted a newer/easier to follow article (text and video). You can check it out HERE.

Since you now have a fully functioning virtual server and a Windows 8 client running, go ahead and setup a couple of servers. If you are interested in how to setup a Domain Controller, check out this tutorial.

Filed Under: Uncategorized

Copyright © 2023 PC-Addicts by Chris Davis · Log in

Copyright © 2023 · Metro Pro Theme on Genesis Framework · WordPress · Log in