Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Hyper V access to 2008 server from win7 pro

Posted on 2013-06-26
5
Medium Priority
?
499 Views
Last Modified: 2014-11-12
I'm on a Windows 7 machine and need access to a 2008R2 DC running the hyper V role. I installed the hyper v tools but receive an error "cannot connect to rpc service on computer XXX, make sure your RPC service is running. Firewalls turned off on both machines. My win 7 machine is not a member of the domain.
Is there a quick way to get access to the hyper v console remotely without joining the domain and going through a mass of system changes?
0
Comment
Question by:Sid_F
  • 4
5 Comments
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39277581
yes there is trick , day before yday i have written article on that and status is editor review
0
 
LVL 22

Accepted Solution

by:
Haresh Nikumbh earned 2000 total points
ID: 39277587
If I am using HyperV - Core edition as hyper visor then what options are available to manage VM from remote ?

How are you going to manage it from your desktop PC? You do not want to have to use Remote Desktop Protocol (RDP) to connect to the server and launch the Hyper-V manager, every time that you want to administer Hyper-V. Thus, you need the Hyper-V tools for remote management up and running whenever you need them

What about if i am not using domain environment. (what permission required to authenticate both machine which each other)

So what will my scenario prerequisite:

A client computer that is running Windows 7, and that is connected to the same network where the virtualization server is connected (both computers in a workgroup or both in a domain).


You can install Hyper-V Manager on a Window 7 machine , and from that computer, you can manage the virtual machines that are running on your virtualization server. The user experience is the same as that of Hyper-V Manager running on the virtualization server.



Download the Remote Server Administration Tools (Windows 7 Professional or Ultimate only)

    On your Windows 7 Download the correct version of the tool from
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7887

   There is a 32 bit (Windows6.1-KB958830-x86-RefreshPkg.msu) version and a 64 bit (Windows6.1-KB958830-x64-RefreshPkg.msu)

   Install the application.

Create the same administrator user on your Windows 7 and Hyper-V node


On windows 7 create an administrator user: Start > Control Panel > Add or Remove user accounts.

On hyper-v create the same user with the same password

Open the Hyper-V Server Configuration by typing sconfig.cmd in the command prompt  

option 3: Add Local Administartor

Make some changes on the Hyper-V node to adjust the firewall

Open a command prompt and type netsh advfirewall set allprofiles state off
open a powershell and execute


winrm set winrm/config/client `@`{TrustedHosts=`"`*`"`}

Open in new window


Adjust the hostfiles of the Hyper-V and Windows 7

In Windows 7
    Open in Notepad the file C:\Windows\System32\drivers\etc
    add following 10.100.x.y <hostname of the Hyper-V node>

In Hyper-V
    open a command prompt and run

runas /user:administrator "notepad "C:\Windows\System32\drivers\etc\hosts""

Open in new window


add following <ip of the windows 7> <hostname of the windows 7>

Some last change to the Windows 7

Log in with the administrator account you created before

open DCOM settings by by typing dcomcnfg in the box on the start menu, and expand the menu so that “My Computer” is selected under Component Services\Computers.

security and select Edit Limits under Access Permissions


Allow the Remote access for ANONYMOUS LOGON

If you don't see the Administrative Tools in the Start menu, right-click the Start menu > Properties
On the tab Start Menu, select Customize

Activate the Hyper-v tools

Select in the Windows 7 Control Panel > Programs

Select Turn Windows features on or off

Activate the Hyper-V tools under Remote Server Administration Tools > Role Administration Tools

Connect to the Hyper-V

Connect to the Hyper-V by selecting Connect to Server

Enter the hostname/ Ip address  of your Hyper-V node, you will now see the VMs on your hyper-V node

Select the server you want to connect to and select Connect from the right hand side. An VRDP session will open
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39277589
Sorry i have skip all screenshot .. if you stuck up on any step do let me know
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39277618
0
 
LVL 6

Author Comment

by:Sid_F
ID: 39278997
Great your link worked the issue related to be logged into another domain, as soon as I logged in locally with the same admin username and password as on the server I could connect
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

927 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