Установка hyper v manager windows 7

Virtual machines can be created using Hyper-V without the use of any additional software. This feature is not available in Windows 7, and it requires Windows 8, 8.1, or 10 Professional or Enterprise editions. But for, windows 7 users can easily install hyper-v manager and manage virtual machines and servers created on a different platform. In this article, we will learn to install hyper-v manager on windows 7.

What is Hyper-V?

Microsoft Hyper-V is a virtualization solution that allows people to use several operating systems on a single computer system. It means you can create and use several virtual machines on a single host machine. Of course, the hardware requirement also has to be fulfilled. You can also read our guide on installing Hyper-v on Azure if you would like to deploy virtual servers in the cloud or provide fail over for on-prem Hyper V virtual machines. 

Hyper-V Management

Creating virtual machines is straightforward, but the true challenge is managing them. One of the primary challenges with running many VMs is that it’s a real pain to manage them all. To ensure that all components of your server function in tandem, you need a management tool that gives you comprehensive information about your server environment. Before you progress further down the virtualization route, you should have a firm plan in place for management tools and procedures.

Virtual machine environments require the following elements to be managed:

  • Storage – Every Virtual Machine requires Space allocation and RAM allocation to function efficiently.
  • Security and Software updates – VMs are just like actual machines and require frequent security patches and software updates to keep them safe and help them run smoothly.
  • Backup management is like what we do when we create a backup and restore point for our windows machine. VMs also require backups whenever there is a failure.
  • System Uptime Management – When there is a cluster of VMs operating, it is essential to monitor the availability and uptime of every VM.

Management Tools

Following are the tools that help in managing Hyper-V :

  • Hyper-V Manager – It is a free Windows Server tool.
  • Failover Cluster Manager – Windows Server includes Failover Cluster Manager for managing Hyper-V failover clusters. Failover clustering occurs when a collection of servers work together to ensure mission-critical application availability. High availability means that if one of the servers in the cluster fails, another one takes over immediately. To handle non-cluster machines, you’ll need Hyper-V Manager.
  • SCVMM (System Center Virtual Machine Manager) – SCVMM (System Center Virtual Machine Manager) must be purchased separately. Hyper-V Manager cannot handle Hyper-V hosts or Hyper-V failover clusters in bigger virtual environments. Hence this utility performs many management responsibilities. A statistics dashboard and custom templates are incorporated into the SCVMM console. It also has a “library” feature, which lets you quickly construct and configure new virtual machines. SCVMM is an improvement over the free Hyper-V Manager and the Failover Cluster Manager tools, but it lacks several advanced features included in the Hyper-V Manager.
  • SCOM (System Center Operations Manager) – enables you to monitor your virtual environment with SCVMM.
  • PowerShell – It is a command-line utility that allows users to access system services. When shutting down all VMs on a specific host, Windows PowerShell is frequently used to automate common and complicated processes. Use PowerShell to perform most Hyper-V Manager functions. For controlling Hyper-V hosts, PowerShell offers more flexibility and uses fewer computer resources.

Hyper-V Manager

Windows Server has a free tool called Hyper-V Manager. It can create, read, update, and remove virtual machines, performing the most fundamental VM CRUD operations. Nevertheless, it comes with considerable constraints. Hyper-V Manager does not allow VMs to be moved between hosts, and only one host can be shown at a time. The most basic tasks can be done, and the only ways to measure your accomplishment are a few measures. Additional tools are required to access advanced management features.

Installing Hyper-V Manager on Windows 7

Even though hyper-v was launched for the windows 8 version and later, you can still install hyper-v manager on windows 7 to manage virtual machines on another host. 

Pre-requites

Since we are more focused on managing other virtual machines hence our requirement in terms of hardware is bare minimal, and any ordinary windows 7 machine with 4 GB ram would be sufficient. Here is the list of pre-requisite:

  • Windows 7 machine
  • 4 GB Ram
  • Standard Hardisk/SSD (as what comes pre-configured with a new machine)
  • Hosts/VMs and the windows 7 machine should be on the same domain or network.

Download and Install RSAT for Windows 7

Microsoft Remote Server Administration Tools (RSAT) allows IT admins, to remotely manage Windows Server roles and features from a PC running Windows 7 Service Pack 1 or later versions of windows.

The very first step would be to install Remote Server Administration Tools. This tool supports only windows 7 professional and ultimate edition. As Microsoft has stopped support for windows 7 you won’t find the installer on the official Microsoft site. However, you can download it from free open source sites such as filehippo. You can also download from this link which the total virus site has validated. Install the installer.

Create an Admin User on Windows 7

We have to create an admin user, which should be the same as what is on Hyper-V Host or node. To make an admin user, go to Start –> Control Panel –> Add or Remove user accounts

Add Local Admin on Hyper-V Machine

On Hyper-V machine, run command prompt and type sconfig as shown in the image.

Install Hyper-V Manager on windows 7

Next select option 3: Add Local Administrator as shown in the image

setup Hyper-V Manager on windows 7

Change Hyper-V Firewall settings

Open a command prompt on Hyper-V machine or node and run the following command netsh advfirewall set allprofiles state off. This will turn off the firewall of the hyper-v machine. Next, On the power shell, execute the following script

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

Edit Hostfiles

After we have created an admin user on a windows machine, the next step is to add the IP address of the hyper-v machine on the windows hostfile and adding the IP address of the windows 7 machine on the hyper-v node.

For Windows 7

  1. Click Start > All Programs > Accessories.
  2. Open Notepad as administrator.
  3. Click Continue on the Windows needs your permission window.
  4. When Notepad opens, click File > Open.
  5. In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
  6. Open it.
  7. Add ipaddress <hostname of the Hyper-V node>.
  8. Save your changes.

On Hyper-V Host

Run the following command in cmd

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

The above command will open host file. Add <ipaddress of windows 7> <hostname of windows 7> to the hostfile

Change DCOM settings on Windows 7

Now we will log in using the admin account created earlier. Press Windows button + R and type dcomcng command. The command will open the DCOM settings console. Expand My Computer, which you will find under component services–>computers expand the menu so that My Computer is selected under Component Services\Computers.

hyper v Windows 7

click on properties select COM security and select Edit Limits under Access Permissions. Allow the Remote access for ANONYMOUS LOGON

hyper v manager for windows 7

Activate RSAT Tools

After downloading and installing RSAT, the tools are not automatically available in Windows 7. Using the Control Panel, enable the tools you want to use. To make the tools available, go to Start, Control Panel, Programs and Features, and then Turn Windows features on or off.
To disable tools you do not want to use in Windows 7, open Turn Windows features on or off.

Turn Windows features on or off. To disable tools that you do not want to use in Windows 7, open Turn Windows features on or off in windows 7

You must first enable the tools for the roles and features you wish to administer after running the installation package for RSAT in Windows 7.

enable RSAT for roles and features

Connect to Hyper-V Host/Hosts

You can browse (or provide an IP address) the list of host/hosts (provided they are in the same domain). Select Connect to Server to run a VRDP(Virtual Remote Desktop Protocol) session from the right-hand side.

Connection to Hyper-V

We have tried to make this as simple as possible. But as the windows 7 support has been withdrawn, readers are advised to research the availability of tools and compatibility with the latest windows machines. To our best knowledge, even the existing windows 7 machine should still be compatible with the latest windows 10 hyper-v machines.

Microsoft Hyper-V Server 2012 — бесплатная операционная система с единственной ролью — сервером виртуализации. В этой ОС отсутствует GUI и все настройки выполняются через консоль. Тем не менее, существуют несколько утилит, в том числе и с графическим интерфейсом, которые помогают провести настройку сервера с бОльшим удобством. Все они будут рассмотрены по ходу действия.
Скачать Microsoft Hyper-V Server 2012 можно c сайта Microsoft. Предварительно придётся войти в Вашу учётную запись Microsoft или зарегестрироваться.
!!!ВНИМАНИЕ!!! Качайте и устанавливайте английскую версию ОС. Это поможет избежать проблем при настройке Hyper-V Server при помощи скриптов.

Системные требования.

Чтобы установить и использовать Hyper-V Server 2012, необходим компьютер, отвечающий следующим требованиям:

  • x64-совместимый микропроцессор Intel или AMD;
  • аппаратно обеспечиваемая виртуализация (Intel VT или AMD-V);
  • поддержка аппаратного предотвращения выполнения данных (DEP) через XD-разряд Intel или NX-разряд AMD;
  • 512 Mb ОЗУ или больше, рекомендуется 2 Gb;
  • 32 Gb дискового пространства, рекомендуется 50 Gb.

Чтобы узнать, поддерживает ли Ваша система виртуализацию, найдите свой процессор на официальном сайте Intel или AMD.
Также Microsoft настоятельно рекомендует использовать как минимум 2 сетевых адаптера — один для управления хостовой ОС, другой — для виртуальных машин. Это решение значительно повышает уровень безопасности (подробнее (англ.)).

Установка.

Запишите скачанный образ .iso (~1.6 Gb) на диск или создайте загрузочную флешку. Выставьте в BIOS-е загрузку с нужного устройства и загрузитесь с него. Установка Microsoft Hyper-V Server 2012 тривиальна и не отличается от установки других ОС от Microsoft.
Примечания:

1) Если разбиваете дисковое пространство на 2 и более разделов, на системный выделите не менее 50 Gb.
2) Язык системы выберите английский, язык ввода и региональные настройки можно выбрать русские.
Сразу по окончанию установки Вам будет предложено задать пароль для учётной записи администратора. Постарайтесь придумать надёжный пароль — длиной не меньше 8 символов, содержащий строчные и прописные буквы, цифры, спецсимволы.

Настройка.

Перед тем, как приступить к настройке, обзаведёмся программой, призванной обеспечить процесс управления гипервизором из-под Windows7. Замечу, что Windows 7 должен быть 64-х разрядным, иначе 5nine manager не установится!

  • 5nine manager for hyper-v.

5nine Manager for Hyper-V предоставляет просмотрщик гостевых подключений виртуальных машин и локальный графический интерфейс пользователя для Hyper-V Server.

После ввода административного пароля видим на экране следующую картинку:

HV

Hyper-V Server Configuration console

Отсюда будем производить большинство настроек сервера.
Примечание. Если вы случайно закрыли окно Hyper-V Server Configuration console, можно вызвать его обратно командой sconfig.

Если гипервизор заявил что не найдено активных сетевых адаптеров, то следующий шаг — установка драйвера для сетевой карты (Кстати, если у Вас несколько сетевых карт, попробуйте переткруть сетевой кабель в другую. моожет на какую-нибудь он все-таки смог установить драйвер). Если на сайте производителя материнской платы отсутствует драйвер для Windows Server 2012, попробуйте драйвер для Windows 8 x64. Установить можно двумя путями:1)Запустить Corefig -> Панель управления -> Установка драйвера; 2) Запустить Total Commander -> setup.exe из папки с драйвером.

Далее выполним следующие манипуляции на стороне сервера:

Сначала в Hyper-V Server Configuration console…

8) Network Settings:

  • Введите номер сетевого адаптера для настройки (Network Adapter Index number)
  • Выберите 1 (настройка IP-адреса и шлюза)
  • Выберите S (для статического IP)
  • Введите желаемый IP для этого сервера
  • Введите маску подсети (Enter — оставить по умолчанию 255.255.255.0)
  • Введите адрес шлюза
  • Выберите 2 (настройка серверов DNS)
  • Введите адреса первичного и дополнительного DNS-сервера
  • Выберите 4 для выхода в главное меню

1) Domain/Workgroup:

  • Выберите 1
  • Выберите W (использовать рабочую группу, а не домен)
  • Введите имя рабочей группы и нажмите Enter

2) Computer Name:

  • Выберите 2
  • Введите имя для этого сервера Hyper-V
  • Перезагрузка

9) Date and Time:

  • Установите временную зону | Дату | Время

7) Configure Remote Desktop:  (теперь можно будет подключаться к гипервизору через RDP)

  • Выберите 7
  • Выберите E (включение службы Удалённых рабочих столов)
  • Выберите 2 (разрешить подключаться с любой версией клиента)

5) Windows Update Settings:

  • Выберите 5
  • Выберите M (ну его, это автообновление, от него одни проблемы)

4) Configure Remote Management:

  • Выберите 4
  • Выберите 1
  • Выберите 3
  • Нажмите Yes

…а затем в Hyper-V Server local command line interface:

1. Разрешим доступ к расшаренным файлам и папкам:

netsh advfirewall firewall set rule group=File and Printer Sharing new enable=yes

2. Разрешаем подключение по RDP (удаленный рабочий стол):

netsh advfirewall firewall set rule group=Remote Desktop new enable=yes

Кстати, чтобы полностью отключить фаерволл, используется команда:

netsh advfirewall set allprofiles state off

и команда для включения:

netsh advfirewall set allprofiles state on

На этом базовая настройка сервера, достаточная для создания и подключения ВМ, закончена.

Далее настраиваем клиентскую машину, с которой будет осуществляться управление виртуальными машинами. Устанавливаем 5nine Manager for Hyper-V. Встанет он только на Win 7 x64, либо на Win 8.

Когда он спросит имя пользавателя и пароль — ввести ему логин и пароль Hyper-v сервера.

Если при запуске виртуальной машины выдаст такую ошибку:

Err

то, возможно, поможет следующее решение:

Заходим в BIOS -> Advanced -> CPU Configuration. Присваиваем опции No-Execute Memory Protection значение Disabled. Конечно у всех это выглядит по-разному, но смысл остаётся тот-же — нужно отключить защиту памяти.

Настройку Hyper-v Server 2012 для управления с Windows 8 смотрите здесь: http://sergiuz-it.blogspot.ru/2013/09/hyper-v-server-2012.html

P.S.: У меня стоит Nod32 и при управлении виртуальными машинами через 5-nine hyper-v manager он начинает ругаться мол обнаружена атака сканирования портов. Чтобы этой ерунды не было, нужно добавить ещё два правила в фаервол:

Настройка правил фаервола

Управление Hyper-V с помощью PowerShell

Самым главным недостатком программы 5nine Hyper-V manager является то что она платная. Конечно, при первой установке можно поставить триальную версию и радоваться жизни первые 30 дней, но по истечению этого времени половина полезных функций (таких как экспорт (бакап) виртуальных машин, перемещение, импорт, и многое другое) откажутся работать. Решений три:

  1. Купить программу (это совсем как-то по-мажорски)
  2. Постоянно переустанавливать её, предварительно очистив нужные ветви реестра, и получая новые ключи активации (постоянный геморрой)
  3. Использовать PowerShell (рекомендую)

Ознакомиться с некоторыми способами применения PowerShell Вы можете здесь.

UPDATE

Возможно вы могли заметить что в некоторых случаях сеть в Hyper-V очень медленно работает. У меня были следующие симптомы:

— при установке Bareos на виртуальную машину, бакапы шли ооооочень медленно, хотя на выделенной физической машине всё было норм.

— на виртуальной машине с Ubuntu обзор файлов в сети и использованием Samba был медленным

— VNC до виртуальной машины с линуксом на борту ооочень сильно тормозил.

Оказалось, что виной всему фича VMQ сетевых адаптеров, которая по-умолчанию включена в Hyper-V. Поддержка VMQ позволяет перенести большую часть затрат на обработку сетевых пакетов, адресованных виртуальным машинам с хостовой ОС на плечи процессора сетевого адаптера. Так вот, из-за неё всё и тормозит.

Посмотреть, статус можно командой PowerShell: Get-NetAdapterVMQ

Отключить её на всех сетевых адаптерах можно комбинацией: Get-NetAdapter|Disable-NetAdapterVMQ

Отключить её для одного конкретного адаптера можно командой Disable-NetAdapterVMQ, а после запроса Name[0] ввести имя адаптера (из столбца Name команды Get-NetAdapterVMQ).

Применяется сразу, так что можно ничего не перезагружать.

(Просмотрено 7 607 раз, 1 раз за сегодня)

Today I installed the Windows Server 8 Beta and added the Hyper-V role. This was so that I could have a play with the new Windows 8 IPAM functionality. I’ve create 3 Windows 8 VMs and intend to configure them as follows:

  • A Windows 8 Domain Controller

  • A Windows 8 Member acting as a DNS/DHCP server

  • A Windows 8 member acting as a pure IPAM server

Note: I was originally intending to use VMware ESXi 5.0, but suffered various problems and gave up trying to get that working simply due to lack of time.

So far I have been doing this via remote desktop, but it’s a bit restrictive, so I started looking at remote management capabilities to manage the Hyper-V VMs from my desktop (which is running Windows 7). This is what I have found so far (note, I do not profess to be an expert, but I am posting here what I did in case it is useful to someone else):

First I installed the Windows Remote Server Administration Tools from this link:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7887

It’s quite a big download and takes a few minutes to install, and I ended up with a new menu “Start->All Programs->Administrative Tools”, however there’s no mention of the Hyper-V manager. There are two ways to enable it, manually from the command line or graphically via Control Panel.

Enabling Hyper-V Manager from the command line

I typed this into a command prompt:

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles /featurename:RemoteServerAdministrationTools-Roles-HyperV

Enabling Hyper-V from Control Panel

After I had already used the command line, I found out that the Hyper-V manager can be enabled via the Windows Features applet in Control Panel. Simply go to Control Panel->Programs and Features and then select “Turn Windows features on or off”. Expand “Remote Server Administration Tools” then “Role Administration Tools” and then you can simply tick “Hyper-V Tools”.

In this article, we will examine how to set up Windows 7 on a new virtual machine using Microsoft’s Hyper-V virtualization software on the Windows 10 64-bit operating system.

Installing Windows 7 in Hyper-V

How to Install Windows 7 on a Virtual Machine using Hyper-V

Windows 7 was released on October 22, 2009, for both personal and business computers, following the development of Microsoft’s previous system, Windows Vista.

Microsoft’s Windows 7 system is the most popular operating system in the world, which maximizes the user experience and supports installation on almost any computer.

Compared to previous XP and Vista versions of Windows, Windows 7 provides a lot of conveniences for users to create network connections. It also supports better power saving of host computers and provides convenience for users to create interactive content, such as video and music.

Although this beautiful operating system of Microsoft was terminated on January 14, 2020, many people or institutions still use it today. Microsoft has officially notified users that the system may be vulnerable to security vulnerabilities as it ended support.

While it is better to install and experience Windows 7 on a physical computer, it may be safer to install and run it on virtual machines.

Therefore, you can protect your host computer from system vulnerabilities by running Windows 7 in a VM and activating Hyper-V, the free virtualization software built into Windows 10.

How to Create a New VM for Windows 7

After installing Hyper-V on your host computer, you must first create a virtual computer for the Windows 7 operating system and then configure its settings correctly for installation performance.

Step 1

First of all, before creating a VM with Hyper-V, it is recommended that an external switch be made using the Virtual Switch Manager tool. Because VMs use the Default Switch, which uses a NAT connection by default, this adapter can often cause problems for VMs in accessing the local network and the Internet.

Click Virtual Switch Manager in the Actions section on the right side of the Hyper-V program.

Virtual Switch Manager

Step 2

Select New Virtual Network Switch / External on Virtual Switch Manager, and then click the Create Virtual Switch button.

Creating an External Switch

Step 3

After creating the External Switch, type a name for your external network in the Name field and configure the External Network setting as your host’s network adapter connecting to the Internet.

External Network Configuration

Step 4

Click Action / New / Virtual Machine from the tool menu to start the virtual machine creation wizard.

Opening the Virtual Machine Creation Wizard

Step 5

In the Before You Begin window, you are presented with two installation options. First, if you click Finish directly here, a virtual machine will be created automatically. Second, the Next option is provided to make the VM manually and better configure its settings.

Since it would be more convenient to manually configure some critical settings of the virtual computer, such as Generation type, click Next to continue.

VM Wizard

Step 6

Write down the name of the virtual operating system that you will install on your host. You may also want to back up the VM to an external disk so as not to overfill the capacity of your host disk. Therefore, in Location, you can specify the location where the VM will be stored.

Backing Up a Virtual Machine to Another Location

Step 7

When you set the Generation type of the guest operating system to 1, you will have enabled BIOS firmware that supports older systems. If you are going to install a newer operating system, such as Windows 10, you can allow UEFI firmware by selecting Generation 2.

Generation Selection

Step 8

You may need to configure the virtual memory size for the VM according to the hardware capabilities of your host computer. Also, if you are going to run multiple VMs simultaneously on your host, you can enable Dynamic Memory to create better RAM allocation between VMs. Thus, more memory will be allocated by the hypervisor to the virtual PC that needs more memory.

If you are going to run a single virtual PC on your host, you do not need to enable this feature, and configuring a fixed RAM size will be better for performance. Therefore, type a suitable memory size according to your host RAM capacity and click Next.

Configuring Virtual Memory Size

Step 9

Select the External Switch you created for the network adapter of the Windows 7 virtual machine and continue.

Selecting the Network Adapter

Step 10

In the Virtual HDD configuration window, you can see that the disk size of 127 GB is configured by default. Configure the size of the virtual disk to 50 GB or higher, depending on what you do on the VM.

Configuring the Size of the Virtual Disk

Step 11

To install the ISO file on the VM in the installation options window, first, enable the Install an operating system from a bootable CD/DVD-ROM option, then the Image File option, and finally, click the Browse button to specify the location of the file to add a Windows 7 ISO file to the VM.

Adding Windows 7 ISO File to Virtual Machine

Step 12

Select and add an image file you downloaded before or the ISO file you downloaded to your computer from the.

Choosing the Windows 7 ISO File

Step 13

After adding the Microsoft Windows 7 Ultimate SP1 x64 ISO file to the VM, click Next.

Verifying Image File Location

Step 14

You can see the changes you have made on the virtual computer in the Summary window, which is the final stage. If there is a setting you want to change in the VM, you can go back to the previous settings or close the window.

Virtual PC Summary Window

Step 15

After preparing the VM, open its settings and configure the number of virtual processors according to the power of your host CPU.

Increasing the Number of Virtual Processors

Step 16

Connect to the Windows 7 virtual computer with the right button / Connect and then click the Start button to launch the system setup.

Running the Virtual Computer

How to Install Windows 7

Installing Windows 7 with Hyper-V is similar to installing on a physical computer in the real world. Therefore, you can also perform the operations after this step on a physical computer.

Step 1

After running the virtual PC, you will see it boot with the ISO image. When the Windows 7 setup screen opens, select your system display language, keyboard layout, and time zone, and click Next.

Windows 7 Setup Screen

Step 2

On this screen, you can get more information about the installation, repair your system, or start the Windows installation by clicking Install Now.

Install Now

Step 3

Confirm the license agreement of the Microsoft Windows 7 Ultimate Service Pack 1 operating system and click Next.

Accepting the Operating System's License Agreement

Step 4

An older version of Windows must be installed on the VM before you can upgrade to a newer version. To install Windows 7 from scratch, click Custom (Advanced), and continue.

Advanced Setup

Step 5

Click Drive Options to create a new partition on the virtual disk.

Opening Driver Options

Step 6

Select Disk 0 Unallocated Space and click New, then click Apply to confirm the automatically allocated disk space.

Configuring the Virtual HDD

Step 7

Select Disk 0 Partition 2, where you will install Windows, and click Next.

Disk 0 Partition 2

Step 8

Wait while the setup wizard expands the Windows system files.

Expanding Windows Installation Files

Step 9

After the Windows 7 system files are copied, restart your guest system.

Restarting the VM

Step 10

After your guest operating system restarts, the installation will continue for a while.

Completing Installation

Step 11

When your virtual PC restarts again, this time, type your user and computer name to be different from other PCs in your network.

Typing User and Computer Name

Step 12

If you want to protect your virtual machine from unwanted users, create a memorable password for your user account.

Creating User Password

Step 13

Type your Windows 7 product key, and if you want Windows to be activated automatically when you are online, select the relevant option and click Next.

Entering the Windows 7 Product Key

Step 14

If you want to enable the update service so that Windows can protect your computer, select Use Recommended Settings.

Use Recommended Settings

Step 15

Configure the time zone of your guest operating system according to the country you live in and click Next.

Configuring the Time Zone

Step 16

Configure the current location where you will use your virtual computer at home, work, or public.

Selecting the Current Location of the Computer

Step 17

After installing Windows 7 on your virtual machine, you can find out the system version by executing the winver command in the Run window.

Checking Windows 7 Ultimate Edition

How to Test Internet Connection

You can access your local network and the Internet using both the External Switch and the Default Switch adapter in the VM. Because the Default Switch uses NAT, it will not have an IP address from the range of IP addresses used in your local network.

When you use an External Switch, your virtual machine will receive an IP address from the DHCP server that automatically distributes IP addresses on your physical network.

Step 1

To check if your virtual system can access the Internet, ping the Google servers by executing the ping 8.8.8.8 command at the CMD prompt.

Pinging Google Servers

Step 2

If you can ping Google servers, check that you can access the homepage via Internet Explorer.

Google Homepage

How to Use VM in Full-Screen Resolution using Remote Desktop Connection

When you install older distributions of Windows with Hyper-V, you may not be able to use the full-screen resolution, and you may not be able to hear system sounds. This is because Enhanced Session is not supported on older systems.

Even if you enable Guest Services in the VM’s settings, the advanced session feature is not active. To solve this problem, you can use the VM in full-screen resolution and hear system sounds by using Remote Desktop Connection on the host.

Step 1

In order to use the remote desktop tool, you need to check the IP address that the virtual machine gets from the DHCP server.

Right-click on the network connection in the right corner of the taskbar, open Network and Sharing Center, and click on Local Area Connection, then click Details in the window that opens, and check the IP address in the IPv4 Address section of the Network Connections Details.

Finding out VM's IP Address

Step 2

Once you know the IP address, you need to configure the permissions on the VM for the remote desktop connection. Right-click on my computer, click Properties, and click Advanced System Settings in the system properties window, and then select “Allow connections from computers running any version of Remote Desktop (less secure)” on the Remote tab and click OK.

Allow Remote Desktop Connections

Step 3

Finally, to create a password for the user account so that you can establish a remote desktop connection to the virtual machine, right-click on My Computer and click Manage from the pop-up options.

Click Local Users and Groups / Users in the Computer Management window, right-click on User from the user accounts listed on the right, and click Set Password.

Creating Password for User Account

Step 4

After clicking the Proceed button in the window that opens, create a new password for your user account in the Set Password for User window and click OK.

Entering a New Password

Step 5

Start the Remote Desktop Connection tool on your host operating system.

Remote Desktop Connection

Step 6

Type the IP address of the guest operating system and click Connect.

Connecting to the Virtual Machine with a Remote Desktop Connection

Step 7

Type the guest system’s credentials and click OK, then click Yes in the warning window reporting the certificate error.

Entering Username and Password

Step 8

After establishing a remote desktop connection to the virtual computer, you can see that the audio device is operational and the screen resolution is used in full-screen mode.

Using VM with Full Screen Resolution

How to Use USB Flash Memory in a Virtual Machine

The simplest way to transfer files between a virtual machine running in Hyper-V and the host is to use a USB flash drive. Because in some host systems, establishing a network connection and sharing folders can be difficult.

Step 1

Open Remote Desktop Connection again on your host, and this time click Show Options and then click the Local Resources tab in advanced settings.

Configuring Remote Desktop Local Resources

Step 2

After clicking More in local resources, tick your flash memory from the devices under Local Devices and Resources / Drives and click OK.

Selecting USB Flash Memory

Step 3

Click Connect after selecting the USB stick, and click Connect again in the trust remote connection window. Re-enter the Guest OS’s credentials and connect to the VM after confirming the certificate error.

Reconnecting to the VM

Step 4

After opening My Computer on the guest system, check that the flash memory is visible in Other.

Checking Flash Memory on My Computer

Step 5

As soon as you create a file or folder in the USB memory inserted in your host, you can see that the files are created on the remote desktop connection.

File Transfer between VM and Host with USB Memory

Video

Sr. Tech lead

Published:

Browse All Articles > How To install and configure HyperV manager on Win7 machine

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.

dconfig

security and select Edit Limits under Access Permissions

edit

Allow the Remote access for ANONYMOUS LOGON

remote

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

activate

Select Turn Windows features on or off

Firewall

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

Hyperv

Connect to the Hyper-V

Hyperv-Manager

Connect to the Hyper-V by selecting Connect to Server

Connect

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 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Nx7600gt драйвер windows 8
  • Нет значка wifi в трее windows 10
  • Автозапуск программ windows 7 настройка
  • Как отключить второй жесткий диск в windows 10
  • Как удалить reason cybersecurity windows 10