Inicio > virtualización > Remotely Manage Hyper-V Server 2012 Core in a workgroup environment

Remotely Manage Hyper-V Server 2012 Core in a workgroup environment

Fuente: http://pc-addicts.com/remotely-manage-hyper-v-server-2012-core/

How to remotely manage Hyper-V Server 2012 Core in a workgroup environment.

 

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

If you are a System Administrator in a domain environment, managing Hyper-V Server 2012 Core will work great. However, if you are in a workgroup environment, it’s not  as simple to setup and remotely manage Hyper-V 2012. I must have shot eight different recordings until I was able to iron out all of the issues. Hopefully you will find this tutorial helpful.

Remotely Manage Hyper-V Server 2012 Core

NOTE: As of 9/30/2013, I have posted a newer/easier to follow article (including video). You can check it out HERE.

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

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
1
Enable-NetFirewallRule -DisplayGroup "*"

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.

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

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)
1
cmdkey /add:yourHyper-VServerName /user:yourAdminUsername /pass:

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 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.

  1. Aún no hay comentarios.
  1. No trackbacks yet.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: