Skip to main content

Manage Virtual Machines Remotely With Hyper-V Manager and Windows 7

You can install Hyper-V Manager on a client computer, 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.
note
Note
The client computer can be running Windows 7, Windows Vista® with Service Pack 1, Windows Vista with Service Pack 2, a full installation of Windows Server 2008 R2, or a full installation of Windows Server 2008 with the update to the release version of Hyper-V (KB950050 in the Microsoft Knowledge base – http://go.microsoft.com/fwlink/?LinkID=122188). Additionally, the client computer does not need to be a computer that supports virtualization, and it does not need to be running a 64-bit operating system. For this test scenario, a computer that is running Windows 7 is used as the client computer, as explained in the following scenario prerequisites.
To test this scenario, you will need the following:

The following procedure explains how to install Hyper-V Manager on the client computer. It also explains how to run the HVRemote.wsf script to configure the virtualization server and the client computer for remote management.
note
Note
You can also manually configure the virtualization server and the client computer, instead of configuring them by using the HVRemote.wsf script. For detailed configuration steps, review the Install and Configure Hyper-V Tools for Remote Administration topic of the Hyper-V Planning and Deployment Guide (http://go.microsoft.com/fwlink/?LinkId=163301).
  1. On the client computer, install Remote Server Administration Tools for Windows 7 as follows:
    1. Download the installation file for Remote Server Administration Tools for Windows 7 directly to the client computer, or copy it by using a removable storage device.
    2. To install Remote Server Administration Tools for Windows 7, double-click the installation file. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue. The Windows Update Standalone Installer dialog box appears.
    3. In the Windows Update Standalone Installer dialog box, click Yes. The Download and Install Updates dialog box appears.
    4. In the Download and Install Updates dialog box, review the license terms, and if you accept the terms, click I Accept.
    5. After the installation is complete, Help for Remote Server Administration Tools for Windows 7 appears. To close the Download and Install Updates dialog box, click Close.

    1. Important
    2. Important
    1. Hyper-V Manager is installed as one of the role administration tools included with Remote Server Administration Tools for Windows 7. These tools are not enabled by default, and to use them you must manually turn them on, as explained in the following procedure and in Help for Remote Server Administration Tools for Windows 7.
  1. Turn on the role administration tools for Hyper-V so that Hyper-V Manager is available on the client computer as follows:
    1. Click Start, click Control Panel, and then click Programs.
    2. In the Programs and Features area, click Turn Windows features on or off. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then clickContinue. The Windows Features dialog box appears.
    3. In the Windows Features dialog box, expand Remote Server Administration Tools, and then expand Role Administration Tools.
    4. Select Hyper-V Tools, and then click OK.

      After the role administration tools for Hyper-V are turned on, Hyper-V Manager is available under 
      Administrative Tools. If Administrative Tools is not listed on the Start menu of the client computer, to find Hyper-V Manager, click Start, type Hyper-V Manager in the Search programs and files box, and then press ENTER.
  2. On the client computer, run the HVRemote.wsf script to configure it for remote management as follows:
    1. Download the HVRemote.wsf script file directly to the client computer, or copy it by using a removable storage device.
    2. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. If the User Account Controldialog box appears, confirm that the action it displays is what you want, and then click Continue.
    3. Browse to the folder where you downloaded or copied the HVRemote.wsf script file, and then type the following command:

      cscript hvremote.wsf /mmc:enable
    4. If the client computer and the virtualization server are connected in a workgroup or if they are not connected in trusted domains, type the following command:

    1. Important
    2. Important
    1. You do not need to run this command if the client computer and the virtualization server are connected in the same domain or in trusted domains.
  1. On the virtualization server, run the HVRemote.wsf script to give remote management access for Hyper-V to a domain or workgroup user:
    1. Download the HVRemote.wsf script file directly to the virtualization server, or copy it by using a removable storage device.
    2. Open an elevated Command Prompt window, and then browse to the folder where you downloaded or copied the HVRemote.wsf script file.
    3. If the client computer and the virtualization server are connected in a domain, type the following command:

      cscript hvremote.wsf /add:<domain>\<user_name>

      where <domain> and <user_name> are the domain name and the domain user that you want to give remote management access for Hyper-V.
    4. If the client computer and the virtualization server are connected in a workgroup, type the following command:

      net user <user_name> <password> /add

      where <user_name> is the name of a local user on the client computer to whom you want to give remote management access on the virtualization server, and <password> is the password for that user.

      Next, type the following command:

      cscript hvremote.wsf /add:<user_name>

      where <user_name> is the name of the local user that you specified in the previous command.
    5. If you want to give remote management access for Hyper-V to more users, repeat the previous steps as many times as necessary.
  2. To complete the configuration for remote management, restart the client computer and the virtualization server.
  3. After the client computer and the virtualization server restart, you can manage the virtual machines on the virtualization server from the client computer as follows:
    1. Log on to the client computer by using a workgroup or domain account (one of the accounts that you gave remote management access for Hyper-V on the virtualization server).
    2. On the client computer, open Hyper-V Manager. Click Start, point to Administrative Tools, and then click Hyper-V Manager. If Administrative Tools is not listed on the Start menu, type Hyper-V Manager in the Start Search box, and then press ENTER.
    3. In Hyper-V Manager, in the Actions pane, click Connect to Server. The Select Computer dialog box appears.
    4. In the Select Computer dialog box, click Another Computer, type the computer name of the virtualization server, and then click OK.

      The left navigation pane lists the virtualization server, and the virtual machines that are available on the virtualization server are listed under 
      Virtual Machines.

    1. Important
    2. Important
  • After you have connected to a virtual machine, you can close Hyper-V Manager and continue to manage the virtual machine in the Virtual Machine Connection window that opened for that virtual machine. Closing Hyper-V Manager does not terminate the existing connections to virtual machines.
  • If a Windows Security Alert dialog box opens and states that Windows Firewall blocked some features of Microsoft Management Console, click Allow access.
  • The HVRemote.wsf script can also help you to configure the client computer and the virtualization server for remote management if one is connected to a workgroup and the other is connected to a domain. For more information, see the 10-second guide and other documentation that is available with the Hyper-V Remote Management Configuration Utility (http://go.microsoft.com/fwlink/?LinkId=178138
  • You can use Hyper-V Manager on the client computer to connect to more than one virtualization server at the same time.
  • You can also use Hyper-V Manager on a virtualization server to connect to other virtualization servers and manage the virtual machines on those servers. 


Comments

Popular posts from this blog

VMware ESXi 5.5 Purple Diagnostic Screen Exception 14 in SEsparse and LibAIO (LibAIODrainMergeQueue, LibAIOMergedIODone, SESparseAsyncDataDone) (2073516)

Symptoms VMware ESXi 5.5 host fails with a purple diagnostic screen You see backtrace similar to: cpu0:33101)@BlueScreen: #PF Exception 14 in world 33101:memMap-0 IP 0x4180182f4948 addr 0x4108fffffff0 PTEs:0x100088063;0x80000020ad5bf063;0x0; cpu0:33101)Code start: 0x418018000000 VMK uptime: 1:09:27:02.593 cpu0:33101)0x4123c535cb20:[0x4180182f4948]LibAIODrainMergeQueue@vmkernel#nover+0x150 stack: 0x4130002a85c0 cpu0:33101)0x4123c535cb80:[0x4180182f53fd]LibAIOMergedIODone@vmkernel#nover+0x211 stack: 0x412ec622ef90 cpu0:33101)0x4123c535cbb0:[0x41801802d21f]AsyncPopCallbackFrameInt@vmkernel#nover+0xe7 stack: 0x1 cpu0:33101)0x4123c535cbe0:[0x418018bb9798]SESparseAsyncDataDone@esx#nover+0x15c stack: 0x41300007b0c0 cpu0:33101)0x4123c535cc10:[0x41801802d21f]AsyncPopCallbackFrameInt@vmkernel#nover+0xe7 stack: 0x4123c535cc70

How to configure an IP address in Solaris 11

Oracle made a huge changes in the networking stack with Solaris 11. The use of many network related files have been deprecated in Solaris 11. Below are some of the files which are not used in Solaris 11 for persistent network configuration : /etc/defaultdomain /etc/dhcp.* /etc/hostname.* /etc/hostname.ip*.tun* /etc/nodename /etc/nsswitch.conf Network Configuration Profile Solaris 11 uses profile-based network configuration. It has 2 configuration modes : 1. Automatic   – Uses DHCP to obtain network configuration (IP address, router and DNS) from any of the connected ethernet interfaces. Do not support hot swapping of interfaces and IPMP. 2. Manual (DefaultFixed NCP)   – interfaces needs to be manually configured using dladm and ipadm commands. Also called as DefaultFixed NCP. Supports hot swapping of interfaces and IPMP. Configuring the IP address Step 1 : Set the NCP We would set the NCP to DefaultFixed profile in order to configure the IP address manually

Visual Studio 2012 / 2013 Update 1 2 3 4 Offline Installer

Visual Studio 2012 Update 2 was released about a week ago.  This update includes lots of fixes and some features – you can see the list   here .  The only problem with the update is that Microsoft does not offer an offline installer.  If you are installing this on your own PC or for one person, you may not have a need for one.  But…  if your entire team needs to install this (or you just want to have it for later for a PC rebuild, you can download all 1.8 GB and have an offline installer for you or your team to share.  Here’s how: Get the update from Microsoft  here . (updated with Update 4 link) Save the file to a folder. open the folder Pro tip – Shift + right-click the background of the folder and choose ‘Open command window here’ in the command window type  VS2013.4.exe /Layout (or VS2013.1.exe /Layout or VS2013.2.exe /Layout depending on your update) It will then ask you where you would like to save and extrac