Anda di halaman 1dari 4

Microsoft Hyper-V Server 2012 R2 Core Edition Remote

Management in a Workgroup (Non-Domain) Environment

The following manual will let you manage stand-alone Microsoft Hyper-V Server 2012 R2 Core Edition
using Remote Desktop Connection, Hyper-V Manager, MMC console and also Server Manager. Please
follow the instructions carefully. A little knowledge of Windows 8 and CLI based OS is a plus.

Server: Microsoft Hyper-V Server 2012 Core (Free Edition)
Client: Windows 8 Pro
This next section details steps needed to configure remote management on the hyper-v core.

On the Hyper-V Server 2012 Core System

Install Hyper-V Server 2012 Core and log in to the console.

Configure date and time (select #9).

Enable Remote Desktop (select #7). Also select the Less Secure option.
Configure Remote Management (select #4 then #1).
Add local administrator account (select #3). Username and password need to be exactly the
same as the account you are going to use on the client computer to manage this Hyper-V Server.
Configure network settings (select #8). Configure as a static IP. Same subnet as your home
network. Dont forget to configure the DNS IP.
Set the computer name (select #2). Rename the server and reboot.
Launch PowerShell. In the black cmd window, run the following command: start powershell
Run the following commands:
Enable-NetFirewallRule -DisplayGroup Windows Remote Management
Enable-NetFirewallRule -DisplayGroup Remote Event Log Management
Enable-NetFirewallRule -DisplayGroup Remote Volume Management
Enable-NetFirewallRule -DisplayGroup Remote Desktop
Set-Service VDS -StartupType Automatic
Reboot the server (select #12).

On the Client Computer

Enable Client Firewall Rule. On your client machine, launch an elevated PowerShell prompt(i.e.,
run PowerShell as administrator) and type the following command:
Enable-NetFirewallRule -DisplayGroup Remote Volume Management
Open c:\windows\system32\drivers\etc
Add server hostname and IP to hosts file. Also Right click hosts and select properties. In the
security tab, add your username. Give your account modify rights. This is needed because some
remote management tools we need to use rely on the hosts file to resolve the name. Without doing

this you are highly likely to encounter some errors while trying to create VHDs and such. Error you
might see: There was an unexpected error in configuring the hard disk.

For Using Server Manager

To Access Hyper-V Server 2012 R2 from Server Manager download and install Remote Server
Administration Tools for Windows 8 from the link below:
After installation type the following command in an elevated PowerShell prompt on Win8 Client:
Set-Item wsman:\localhost\Client\TrustedHosts Server01 Contatenate Force
Replace Server01 with your own server name.

For Using Hyper-V Manager

We need to store the servers credentials locally on this client computer.
Open an elevated command prompt (runas Administrator)
cmdkey /add:yourHyper-VServerName /user:yourAdminUsername /pass:

Type in the administrator password on your Hyper-V server and press Enter.
Now lets 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

Now we need to allow remote access to ANONYMOUS LOGON

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

Alternate For DCOM Config:

If you are not able to open DCOM Config from the above step use the following command
Open RUN and type mmc comexp.msc /32
In Component Services, expand Component Services | Computers
Right-click on My Computer and select Properties
On the COM Security tab, select 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

Now lets 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:

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