Solved

How to connect to Hyper-V 2012 to create VMs and build servers

Posted on 2014-12-10
10
228 Views
Last Modified: 2014-12-11
I have a single server onto which I have installed Hyper-V 2012. The physical server is standalone on the network, i.e. no existing DNS or AD
I now want to create two virtual machines to install Windows 2012. I have a Windows 8.1 PC on which I have installed RSAT which I think is what I need to manage the VMs. However, I can't see a way of getting the PC to connect to Hyper-V server. It seems to assume that Hyper-V is registered with a DNS but of course it's not. I thought I could connect using IP address but I can't see a way of doing that. My Hyper-V has a static IP of 192.168.2.10 and the PC has a static IP of 192.168.2.11
0
Comment
Question by:ClintonK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40490713
Just add a static DNS entry A record into your AD. Job done
0
 

Author Comment

by:ClintonK
ID: 40490720
I don't have an AD. It's a completely new build - it's just a single physical server with nothing installed apart from Hyper-V 2012. The only other thing on the network is a Windows 8 PC
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40490724
Ah ok sorry, I misunderstood. So this is the only computer on a new network?
Your router that you have that issues DHCP requests will also do Name resolution I assume, so set the server to DHCP instead of static and then on he router set that address as static/Always use this IP address or however it is displayed on your device.

Alternatively add an entry into your PC's HOSTS file for the server name and IP address
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
ID: 40491274
You can use the HVRemote tool in this scenario: https://code.msdn.microsoft.com/windowsdesktop/Hyper-V-Remote-Management-26d127c6

Have a look at the 10-second guide section and let us know how you go with this.
0
 

Author Comment

by:ClintonK
ID: 40492432
I thought there was a GUI that could be used from Windows 8.1 ?
I have turned on the Hyper-V GUI feature in Windows 8.1 and now I have a GUI which is offering to connect to a physical server. When I try to connect to 192.168.2.10 I get an error "An error occurred while attempting to connect to server 192.168.2.10. Check that the Virtual Machine Management service is running and that you are authorised to connect to the server"
Well, as far as I know the service is running because it's a new build so I would hope it would be. As it doesn't prompt me for a username or password I can't really say if I'm authorised or not.
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40492739
Yes you can still use the GUI but you need to establish a "trust" between the server and your Windows 8.1 machine as you are not on a domain so the Hyper-V host doesn't know how to trust the account you are using to log into Windows. This is where HVRemote comes in as it reduces the manual configuration steps needed in a non-domain environment down to a few simple commands.
0
 
LVL 54

Expert Comment

by:McKnife
ID: 40493571
Name resolution is not the problem.
You need to set some firewall rules at the server. There's a large step by step howto in a german forum. I will link the google translation:  http://www.administrator.de/wissen/hyper-v-server-2012-und-windows-8-hyper-v-remote-management-ohne-dom%C3%A4ne-219975.html
0
 

Author Closing Comment

by:ClintonK
ID: 40495070
The "Client and Server both workgroup" in the https://code.msdn.microsoft.com/windowsdesktop/Hyper-V-Remote-Management-26d127c6
 10 second guide got me connected.
Thanks.
Why did Microsoft have to make this so difficult??
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40495076
For security reasons, otherwise anyone with a Windows 8 machine with Hyper-V Manager installed could theoretically plug their laptop into your network and mess around with your virtual machines :)
0
 

Author Comment

by:ClintonK
ID: 40495084
Fair enough. Didn't consider that one.
Cheers
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question