Solved

Hyper V access to 2008 server from win7 pro

Posted on 2013-06-26
5
487 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 21

Expert Comment

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

Accepted Solution

by:
Haresh Nikumbh earned 500 total points
Comment Utility
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 21

Expert Comment

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

Expert Comment

by:Haresh Nikumbh
Comment Utility
0
 
LVL 5

Author Comment

by:Sid_F
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now