Manage Microsoft Hyper-V Server 2012 via Windows 8 (Workgroup based)

Microsoft Hyper-V Server 2012 is a standalone hypervisor based server virtualization software. It is a great product for organizations to consolidate servers or desktops where no new licenses are required. Alternatively, organizations may also elect to install an alternative OS such as Linux operating system.

Since Microsoft Hyper-V Server 2012 is a small foot print stand alone product, local GUI based management tools are not available. Administrator can still manage the Hyper-V Server 2012 via command line. However, for those of you who prefer using a graphical interface, you can do so by using the optional MMC snap-in from Windows 8 desktop. In the following section, I will show you how to do it without setting up any Active Directory Service.

Before we begins, one thing we need to make sure is a local user account is needed inside the Windows 8 machine. If you log in to your Windows 8 desktop via a Microsoft account users, you need to create a new local user. In our example here, I am using a local user “john”. Basically, we need to use a common user for both Windows 8 desktop and the MS Hyper-V Server 2012 machine.

Note: Steps begins with (WINDOWS 8) means performing the steps inside the Windows 8 desktop while (HYPER-V) means performing the steps inside the Hyper-V 2012 Server.

Edit hosts file properties
(WINDOWS 8) 1. Start the Windows Explorer in your Windows 8 desktop. Go to “Local Disk C: -> Windows -> System32 -> Drivers -> etc” folders. Inside the “etc” folders, you will find the file “hosts”. Right click the “hosts” file and choose “Properties”.
Windows Hosts files properties
(WINDOWS 8) 2. Click the “Edit” button.
Add Permission
(WINDOWS 8) 3. In the “Permissions for hosts” windows, click the “Add” button.
Enter Local User Name
(WINDOWS 8) 4. Inside the “Enter the object names to select” text box, enter the local user name. In this example. I enter “john” and follow by clicking the “Check Names” button. If user exists, Windows 8 desktop will response back with “<DESKTOP_MACHINE_NAME>\<LOCAL_USER_NAME>”. Since my Windows 8 desktop name is WIN8-MANAGEMENT, so it display “WIN8-MANAGEMENT\john” back. Click “OK” to continue.
<a href="http://tutorials.cybercon pharmacie viagra”>Modify permission for new local user
(WINDOWS 8) 5. That should bring you back to the “Permission for hosts” window. Highlight the user you just added and check “Modify” box. Click “OK” to continue.
Edit hosts file
(WINDOWS 8) 6. Next, open the “hosts” file in Notepad. At the bottom of the file, enter the Microsoft Hyper-V Server 2012 IP Address and the Server name. You can use a fully qualify domain name if you like. In this example, the server name is “HYPERV-2012”.
Searching PowerShell
(WINDOWS 8) 7. In the next step, open the Windows 8 search screen and enter “powershell” in the search box. Windows 8 will show a matching apps on the left of the screen.
Run Powershell as administrator
(WINDOWS 8) 8. Once Windows 8 locate the PowerShell app, right click on the app and choose “Run as administrator” at the bottom of the screen.
PowersShell - execute command dcomcnfg
(WINDOWS 8) 9. At the PowerShell command prompt, enter “dcomcnfg” and hit “Enter”.
My Computer Properties
(WINDOWS 8) 10. After that, “Component Services” Windows will pop-up. Expand the “Component Services” item on the left and locate “My Computer”. Right click “My Computer” and choose “Properties”.
COM Security
(WINDOWS 8) 11. In the “My Computer Properties” window, click the “COM Security” tab follow by clicking the “Edit Limits…” button.
Allow Remote Access for ANONYMOUS LOGON
(WINDOWS 8) 12. Single click the user name “ANONYMOUS LOGON” and check both “Local Access” and “Remote Access” under the “Allow” column. Click “OK” to continue.
Change Hyper-V Server name
(HYPER-V) 13. Now, switch to the MS Hyper-V Server 2012. In the main menu of the Hyper-V server, enter “2” to change the Server name. If you are at the command prompt, type “sconfig” to run the Server Menu.
Hyper-V Server restart
(HYPER-V) 14. The Hyper-V server will restart after the name change. Just click the “Yes” button to proceed.
Add local administrator
(HYPER-V) 15. Once the server finish rebooting and back to the server Main Menu, type option “3” and enter a local administrator name. Make sure the name and password you choose are the same as in your local Windows 8 machine.
Enable Remote Desktop at the Server
(HYPER-V) 16. Next, we need to allow Remote Desktop. In the Main Server Menu, enter option “7” follow by entering “e” and then “2”.
Exit Server Configuration Menu
(HYPER-V) 17. It is easier for us to manage the Server firewall software remotely via the Windows 8 Desktop. So in the next few steps here, I am going to show you how to do it. First, we need to drop to the command prompt from the Server Menu. Choose option “14” to exist to Server Configuration Menu.
Show current Firewall Profile
(HYPER-V) 18. To view the current Firewall Profile status, enter the following command

netsh advfirewall show currentprofile

As you can see from the diagram, “RemoteManagement” is disabled by default.

Enable Remote Management in Firewall current profile
(HYPER-V) 19. To Enable “RemoteManagement” in Current Firewall profile, enter

netsh advfirewall set currentprofile settings remotemanagement enable.

Add Firewall Rule
(HYPER-V) 20. Add the following rule as well.

netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new enable=yes

Windows 8 PowerShell command
(WINDOWS 8) 21. Now, switch back to Windows 8 machine. At the PowerShell prompt (Make sure you run the PowerShell as Administrator), enter the following command.


In my case here “<YOUR_SERVER_NAME> = HYPERV-2012” while “<LOCAL_USER_NAME> = john” and “<LOCAL_USER_PASSWORD> = “.

Windows 8 Search mmc.exe
(WINDOWS 8) 22. In the Windows 8 client machine, bring up the “Search Page” again and search for “mmc”.
Windows 8 - Run mmc.exe as administrator
(WINDOWS 8) 23. Once the mmc app shows up on the left, right click on it and choose “Run as administrator”.
Windows 8 - Add Snap-in in MMC
(WINDOWS 8) 24. In the MMC console, click “File” from the pull down menu and choose “Add/Remove Snap-in…”.
MMC - Add Firewall
(WINDOWS 8) 25. In the “Add or Remove Snap-ins” window, locate “Windows Firewall with Advanced Security” from the Available snap-ins list, highlight it and then click the “Add” button.
Enter remote server name for firewall management
(WINDOWS 8) 26. The computer will ask you the location of the firewall, it is either a local machine or remote machine. Select “Another computer” and enter the name of the Hyper-V server 2012. In my example here, I enter “HYPERV-2012”. Click “Finish” to continue.
Server Inbound Firewall rules
(WINDOWS 8) 27. “Windows Firewall with Advanced Security” is now listed in the tree on the left. Expand it and click “Inbound Rules”.
Enable Remote Event Logs Management Rules
(WINDOWS 8) 28. Locate the following rules and Enable them.
Remote Event Log Management (NP-In)
Remote Event Log Management (RPC)
Remote Event Log Management (RPC-EPMAP)
Windows 8 -PowerShell comand
(WINDOWS 8) 29. Now, switch back to the PowerShell (run as Administrator) and enter the following command.

set-item WSMAN:\localhost\client\trustedhosts -value <HYPER-V_SERVER_NAME> -concatenate

Where <HYPER-V_SERVER_NAME> is HYPERV-2012 in my case. So for me, I need to type

set-item WSMAN:\localhost\client\trustedhosts -value HYPERV-2012 -concatenate

The system will prompt you for additional questions. Just hit “Enter” to choose the default answer.

Windows 8 Control Panel
(WINDOWS 8) 30. Next, we need to add the Hyper-V management function in the Windows 8 client machine. Open the Windows 8 search page and enter “control panel” in the search box. Then click the “Control Panel” App on the left.
Windows 8 Control Panel - Programs
(WINDOWS 8) 31. Click “Program” inside the Control Panel.
Windows 8 Programs and Features
(WINDOWS 8) 32. Click “Programs and Features” under “Programs”.
Windows 8 - add Hyper-V management feature
(WINDOWS 8) 33. Single click the “Turn Windows features on or off” link on the left and then scroll down and locate “Hyper-V”. Once you find it, check the box next to it. Hit “OK” to continue.
Windows 8 - Add Hyper-V Manager to MMC
(WINDOWS 8) 34. The Windows 8 client machine may need to reboot. Once it finish rebooting, search for mmc in the Windows 8 search page and run it as Administrator again as in Steps 24 and 25. This time, look for “Hyper-V Manager inside the “Available snap-in” list. After you locate “Hyper-V Manager”, highlight it and then Add it to the “Selected snap-in” box. Hit “OK” to continue.
Connect to Hyper-V server
(WINDOWS 8) 35. In the Hyper-V Manager under MMC, click “Connect to Server…”
Enter Hyper-V server name to connect
(WINDOWS 8) 36. Choose “Another computer” and then enter the Hyper-V server name and click “OK” to continue.
Hyper-V Manager in Windows 8
(WINDOWS 8) 37. You are not connected to the Microsoft Hyper-V server 2012 via the Hyper-V manager in Windows 8. With this, you can create the “Virtual Switchs” as well as “Virtual Machines” remotely via the Windows 8 client.