• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3461
  • Last Modified:

Add Virtual Machine to Hyper-V Server 2008 R2

I have a Server 2008 Standard DC.  I just installed Hyper-V Server 2008 on our old server so I can run the virtual machines on that.  I don't see where you add your virtual machine.  Then I was reading around and saw that you have to use HVRemote on Server 2008 to connect to Hyper-V Server 2008 R2.  So I did xcopy and moved hvremote.wsf.  I then did
cscript hvremote.wsf /add:des\administrator

Open in new window

.  I went over to the DC and opened up Hyper-V and went to connect to the other server and it keeps saying "An error occurred while attempting to connect to server "DES-HYPERV".  Check that the Virtual Machine Management service is running and that you are authorized to connect to the server." "The computer 'DES-HYPERV' could not be resolved.  Make sure you typed the machine name correctly and that you ahve network access."  So then I tried doing it by the IP 10.1.10.xx and it connects and just says 'You might not have permission to perform this task.' in the Virtual Machines box.  

Am I doing something wrong?
0
cmb991
Asked:
cmb991
  • 6
1 Solution
 
msmamjiCommented:
I thing there are a few more steps you have to do. You can follow the post and see what you are missing.
http://blogs.technet.com/b/jhoward/archive/2008/11/14/configure-hyper-v-remote-management-in-seconds.aspx

Regards,
Shahid
0
 
cmb991Author Commented:
/mmc:enabled
and
/AnonDCOM:grant


I get an error: ERROR: One or more client options have been specified in server mode

I continued anyway and it didn't work.
0
 
cmb991Author Commented:
How can you manage Hyper-V Server 2008 R2 without using Hyper-V on a 2008 Server?  I don't see a web config like how VMWare does it.
0
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

 
vahiidCommented:
I always get the same error message (You might not have permission to perform this task) when trying to connect to HV using the IP address, so let's skip that for now.

Are there computers both on the same domain? Try pining the R2 server's name on your 2008 box and see if comes up with the right IP address.
0
 
cmb991Author Commented:
They are on the same domain.  I tried to ping the Hyper-V Server, and it couldn't resolve.
0
 
cmb991Author Commented:
Well it timed out.
0
 
cmb991Author Commented:
But I am able to ping the DC from the Hyper-V Server.
0
 
cmb991Author Commented:
Found the answer.  Firewall issue on the Hyper-V Server.

http://luka.manojlovic.net/2008/10/05/microsoft-hyper-v-server-2008-basic-configuration/

Had to open port 137.

netsh firewall set portopening ALL 137 "Hyper-V Management"
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now