How to turn on hyper v on windows 10

How to turn on hyper v on windows 10

Hyper-V: How to Turn Windows 10 Virtualization On and Off

What is Hyper-V and what is it for

Hyper-V is Microsoft‘s hypervisor that is included in the Pro, Enterprise and Education editions of Windows 10. This is in charge of virtualizing hardware, using functions of the system’s own CPU, so that we can create our virtual machines on top of them. than to install other operating systems. This hypervisor works at the same level as others, such as VirtualBox or VMware, but has greater integration with the operating system. For this reason, for a long time they have been incompatible with each other, although today it is possible to use these programs even with Hyper-V activated (they use Microsoft’s hypervisor instead of their own). With this hypervisor it is possible to install any edition of Windows, as well as other systems such as Linux. However, if we try to virtualize macOS we will be too limited.

How to activate Hyper-V

By default, this feature is disabled, since the number of users who really need it is very small. Therefore, if we want to use it we will have to activate it manually. Of course, first of all, we must bear in mind that we need to have a Windows 10 Pro installed on the computer (this feature is not available in the Home edition) and, in addition, we must have enabled the functions in the BIOS / UEFI of our computer CPU virtualization. These are VT-x and VT-d in the case of Intel, and AMD-V and AMD-Vi in the case of AMD.

From Windows features

The hypervisor is included within the optional features of the operating system. Therefore, one of the easiest ways to activate it is from this section. To do this, we write in the Windows 10 search engine ” Windows Features ” and open

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

A new window will appear from which we will be able to select the characteristics of the operating system to install or uninstall them. We look for the section that says ” Hyper-V “, and we mark it. Within this section you will find the hypervisor as such and its own virtual machine administration tool.

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

A window will appear from which the necessary components will be downloaded and copied to the system. Of course, to complete the installation and for this function to be enabled, it will be necessary to restart the computer. When it starts up again, we can start enjoying this feature.

From PowerShell

If we do not want to carry out the previous steps, it is also possible to do the same with a simple PowerShell command. To do this, what we must do is open the Microsoft console, with Administrator permissions, and execute the following command in it:

The system will be in charge of searching and downloading all the libraries and dependencies necessary to enable this function, and it will activate it on our computer. When we restart we will be able to see how the necessary changes are applied (therefore, it may take a little longer than normal for the restart) and, when we return to the desktop, we will have this function already available to use it.

If we already have Hyper-V installed on the computer, but we have disabled it manually (or another program has done it), it is not necessary to reinstall the feature, since it is already present on the PC. What we can do is use bcedit to enable it. To do this, we open a PowerShell window again, with Administrator permissions, and we will execute the following command:

bcdedit /set hypervisorlaunchtype auto

This command configures the hypervisor launcher to start automatically at system startup. Therefore, after restarting, Hyper-V will be activated again without problems.

Disable Windows virtualization

If we no longer need to use the virtualization functions of Windows we can uninstall Hyper-V, or deactivate the service. In this way we will avoid having the service running on our PC and, if we use other virtualization programs (such as VMware or VirtualBox) we will force them to use their own hypervisors instead of Microsoft’s.

From Windows features

In the same way that we have enabled Hyper-V from the additional features, if we already have it installed we can uninstall it from there. To do this, we reopen the “Windows Features” panel from the search engine, and in the window that will appear we will locate the Hyper-V entry.

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

We make sure that the “Hyper-V” entry is unchecked (as well as its sub-entries, which will be automatically disabled) and we accept the changes. Again, after restarting Windows, this feature will be disabled.

From PowerShell

If we want to completely disable and uninstall this Windows feature, we can easily do it with a simple PowerShell command. To do this, we will simply open a Windows advanced console window, with administrator permissions, and execute the following command in it:

After disabling the Windows hypervisor using this command, all we have to do is reboot the system and that’s it. When restarting, we will see a message that will tell us that changes are being made. When Windows restarts Hyper-V it will be disabled and completely uninstalled.

If we don’t want to uninstall it completely, and just want to disable it temporarily, we can use bcedit to disable it. This will leave the files on the PC, but the hypervisor will not work, so it will not cause problems with other programs such as VMware or VirtualBox. To do this, we can open a PowerShell window, also with Administrator permissions, and we will execute:

bcdedit /set hypervisorlaunchtype off

When restarting the PC, the hypervisor will be disabled. And we can activate it again, if needed, without having to download and install the optional feature.

Hyper-V Switch: turn the hypervisor on and off quickly

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

The program will let us know if the service is active, if it is active but not running (for example, in the absence of a restart), if it is disabled and if it is disabled but still running (in the absence of a restart). It will even tell us if Hyper-V is not installed on the system, but if so, it will not allow us to install it.

How to tell if Hyper-V is on or off

If we do not know if Hyper-V is activated or deactivated in our system, we can check it in several ways. The fastest and easiest is by using a simple PowerShell command. This command will look for the Windows hypervisor feature and will tell us if it is enabled or disabled. To do this, we will open a PowerShell window with Administrator permissions again and execute this command:

If the “State” section indicates “Enabled”, we have it enabled. On the contrary, if it indicates “Disabled”, it is disabled.

Another way to check if this feature is working or not is with this other command, which is in charge of checking the status of the service to see if it is working or not. This must be run in a PowerShell window with Administrator permissions, because otherwise it will not work.

question

Installation of Hyper-V on windows 10 home

Don’t you wish people that didn’t know what they are talking about would stop answering tech questions?

Irritating as hell, isn’t it?

Create a file, anywhere, using a text editor and copy the following into that file:

Now save that as hv.bat from your text editor. The desktop or download folder are good destinations for which to save and easily located for the next step.

After exiting the editor, open file manager and right mouse click the file and choose run as administrator.

Once complete it will reboot your machine and you can turn on Hyper-v from programs and features.

So the line in whole should be:

For me, I also had to change the %%i to %i for some reason.

An error occurred while attempting to start the servicing process for the image located at C:.
For more information, review the log file.

Your question is missing sufficient context for anyone to help. We have no idea where you were in the process when you encountered this error. Are you following the steps either I or Hank laid out? If you describe what step you had already completed, and which step you encountered this error, someone may be able to try to help.

Did you run the file as admin

Hey,
am getting the following error when i try for this solution you mentioned. Can someone solve this?

Error: 0x800f080c
Feature name Microsoft-Hyper-V is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and try the command again
.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

Please see my reply dated Jul 20 2020 at 5:20 AM below. I provide some instructions using only the graphical tools supplied with Windows. Perhaps those will work for you.

Thanks, now I can able to install and use hyper-v on my Microsoft Windows 10 Home Single Language

but in system information showing below message
«A hypervisor has been detected. Features required for Hyper-V will not be displayed.»
What is this means?

That’s actually good news. It simply means that since the system has identified the presence of a hypervisor, it will not show you the list of requirements to install one.

This script worked but left me with a blue screen after restart. Cannot recommend

You cant use hyper V on window 10 home.
You need Window 10 pro or enterprise to use Hyper V.

If you want to use another Application similar to Hyper V in your home edition then go for Virtual Box.

I just did. Hyper V can be installed on Windows 10 Home. Follow the instructions in https://www.itechtics.com/enable-hyper-v-windows-10-home/

Can confirm I too just installed it using Hank’s suggestions. There are a few more steps to what Hank said, but he included the hard part. the final bit is in turn windows features on/off.

Great, guess u helped me out. Almost gave up trying.

This does work with windows 11. Note: It will take a few minutes to install and it looks like it is installing the same thing over and over again but it is slightly different.

The corrected script worked flawlessly on a freshly installed WIn 11 laptop. Thank you very much for the script. Uli

7 Answers

You can follow along here but windows 10 home edition does not support hyper-v role.

—please don’t forget to Accept as answer if the reply is helpful—

Disclaimer: This posting is provided «AS IS» with no warranties or guarantees, and confers no rights.

There are other Virtual Machine products available, such as VMware Player, or VirtualBox, since Hyper-V cannot be used on Home Edition.

Unfortunately, you can’t enable Hyper-V feature in Windows 10 Home as it is not supported. You need at least Pro or higher edition with 64-bit installation for using Hyper-V.

This comment is unfortunate though there is an answer. I do not know some people in this QA try to avoid answer the questions.

Windows 10 Home edition doesn’t support Hyper-V feature, it can only be enabled on Windows 10 Enterprise, Pro, or Education.

If you want to use virtual machine, you need to use third-party VM software, such as VMware and VirtualBox.

I’m on Windows 10 Home. Under «Turn Windows features on or off», I see:

Virtual Machine Platform
Windows Hypervisor Platform

I checked both of those, and the system told me to reboot. I did so, and upon opening up System Information, at the bottom I now see:

Virtualization-based security Running
A hypervisor has been detected. Features required for Hyper-V will not be displayed.

So, apparently, the Hyper-V hypervisor can be enabled on Windows 10 Home. I still didn’t have the Hyper-V Management Console. I found the following instructions on how to enable the Hyper-V Management Console on Windows 10 Home. I used them, and I now have the console that allows me to create new VMs.

Как включить или отключить Hyper-V в Windows 10

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

В данной статье показаны действия, с помощью которых можно включить или отключить виртуализацию (компонент) Hyper-V в операционной системе Windows 10.

Hyper-V позволяет запускать несколько операционных систем в виде виртуальных машин в Windows. Компонент Hyper-V можно включить или отключить несколькими способами, в их числе консоль Windows PowerShell, утилита командной строки DISM (средство обслуживания образов развертывания и управления ими), а также используя графический интерфейс панели управления.

Прежде чем включить компонент Hyper-V, необходимо проверить следующие требования:

Также необходимо проверить, включены ли технологии виртуализации в BIOS/UEFI.

Как включить и отключить через Windows PowerShell

Компонент Hyper-V можно включить используя консоль Windows PowerShell.

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

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

Для завершения установки выполните перезагрузку компьютера.

Для того чтобы отключить компонент Hyper-V, откройте консоль Windows PowerShell от имени администратора и выполните следующую команду:

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

Для завершения операции отключения компонента Hyper-V, необходимо перезагрузить компьютер.

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

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

dism.exe /Online /Enable-Feature:Microsoft-Hyper-V-All

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

Для завершения операции перезагрузите Windows
Чтобы отключить компонент Hyper-V используя DISM, запустите командную строку от имени администратора и выполните следующую команду:

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

Для завершения операции перезагрузите Windows.

Активация в окне «Компоненты Windows»

Чтобы включить компонент Hyper-V в окне «Компоненты Windows», нажмите сочетание клавиш How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10+ R и в открывшемся окне Выполнить введите (скопируйте и вставьте) OptionalFeatures и нажмите клавишу Enter ↵.

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

В открывшемся окне «Компоненты Windows» выберите Hyper-V и нажмите кнопку OK.

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

После завершения установки вам будет предложено перезапустить компьютер.

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

Чтобы отключить компонент Hyper-V, окне «Компоненты Windows» отключите Hyper-V и нажмите кнопку OK.

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

После завершения установки вам будет предложено перезапустить компьютер.

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

Используя рассмотренные выше действия можно включить или отключить компонент Hyper-V.

Знакомство с Hyper-V в Windows 10

Вы разработчик программного обеспечения, ИТ-специалист или просто увлекаетесь технологиями? Тогда вам наверняка приходится работать с несколькими операционными системами. Hyper-V позволяет запускать несколько операционных систем в виде виртуальных машин в Windows.

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

В частности, Hyper-V предоставляет возможность выполнять виртуализацию оборудования. Это означает, что каждая виртуальная машина работает на виртуальном оборудовании. Hyper-V позволяет создавать виртуальные жесткие диски, виртуальные коммутаторы и ряд других виртуальных устройств, каждое из которых можно добавить в виртуальную машину.

Причины использовать виртуализацию

Виртуализация позволяет выполнять следующие операции.

Запуск программного обеспечения, для которого требуются более старые версии Windows или операционные системы, отличные от Windows.

Эксперименты с другими операционными системами. Hyper-V существенно упрощает создание и удаление различных операционных систем.

Тестирование программного обеспечения в нескольких операционных системах с помощью нескольких виртуальных машин. Благодаря Hyper-V их можно запускать на настольном компьютере или ноутбуке. Эти виртуальные машины можно экспортировать, а затем импортировать в любую другую систему Hyper-V, включая Azure.

Требования к системе

Hyper-V доступен в 64-разрядных версиях Windows 10 Профессиональная, Корпоративная и для образовательных учреждений. Он недоступен в версии Домашняя.

Выполните обновление с выпуска Windows 10 Домашняя до выпуска Windows 10 Профессиональная, открыв раздел Параметры>Обновление и безопасность>Активация. Здесь вы можете посетить Магазин Windows и приобрести обновление.

Большинство компьютеров работают под управлением Hyper-V, однако каждая виртуальная машина работает под управлением полностью отдельной операционной системы. Как правило, на компьютере с 4 ГБ ОЗУ можно запустить одну или несколько виртуальных машин, однако для запуска дополнительных виртуальных машин либо установки и запуска ресурсоемкого ПО, такого как игры, видеоредакторы или программы для технического проектирования, потребуются дополнительные ресурсы.

Дополнительные сведения о требованиях Hyper-V к системе и о том, как проверить, будет ли Hyper-V работать на конкретном компьютере, см. в статье Справочник по требования к системе для Hyper-V.

Операционные системы, которые можно запустить на виртуальной машине

Hyper-V в Windows поддерживает много операционных систем на виртуальных машинах, в том числе различные выпуски Linux, FreeBSD и Windows.

Напоминаем, что необходимо иметь действующую лицензию на все операционные системы, используемые на виртуальной машине.

Дополнительные сведения об операционных системах, которые поддерживаются как гостевые в Hyper-V в Windows, см. в статьях Гостевые операционные системы, поддерживаемые в Windows и Гостевые операционные системы, поддерживаемые в Linux.

Различия между Hyper-V в Windows и Windows Server

Некоторые функции работают по-разному в Hyper-V для Windows и Windows Server.

Компоненты Hyper-V, доступные только в Windows Server:

Компоненты Hyper-V, доступные только в Windows 10:

Модель управления памятью отличается в Hyper-V в Windows. При управлении памятью Hyper-V на сервере предполагается, что на нем запущены только виртуальные машины. В Hyper-V для Windows при управлении памятью учитывается тот факт, что кроме виртуальных машин на большинстве клиентских компьютеров работает локальное программное обеспечение.

Ограничения

Программы, которые зависят от наличия определенного оборудования, не будут нормально работать на виртуальной машине. Например, это игры или приложения, которым нужны графические процессоры. С приложениями, использующими таймеры длительностью менее 10 мс, например приложениями для микширования музыки в режиме реального времени или приложениями, чувствительными к задержкам, также возможны проблемы.

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

Как запустить виртуализацию Hyper-V в Windows 10 для запуска виртуальных машин

How to turn on hyper v on windows 10. Смотреть фото How to turn on hyper v on windows 10. Смотреть картинку How to turn on hyper v on windows 10. Картинка про How to turn on hyper v on windows 10. Фото How to turn on hyper v on windows 10

Вам когда-нибудь приходилось устанавливать и запускать Linux в операционной системе Windows? Что ж, вы будете рады узнать, что вам вовсе не нужно устанавливать стороннее программное обеспечение для виртуализации (например, VirtualBox от Oracle) для запуска другой ОС на вашем ПК с Windows.

Встроенный Hyper-V Windows 10 – это специальный инструмент, предназначенный для создания и запуска виртуальных машин. Эта функция разработана с использованием технологии виртуализации, которая устанавливает все необходимые элементы и интерфейс, необходимые для создания виртуальных машин и запуска других экземпляров Windows 10, 8.1, 7 или других ОС, включая Linux.

Примечание. Функция Hyper-V Windows 10 не является частью Windows 10 Home Edition. Она доступна для версиях PRO, Enterprise и Education. Более того, вы не можете просто так использовать функцию Hyper-V, вам нужно сначала включить её через настройки или PowerShell.

Продолжайте читать это пошаговое руководство, чтобы узнать, как включить инструмент Hyper-V для Windows 10 и как его использовать для запуска виртуальных машин?

Сначала проверьте, поддерживает ли ваша система Hyper-V

Для этого следуйте инструкциям ниже:

Кроме того, ваш компьютер должен удовлетворять минимальным системным требованиям, таким как:

Что ж, если вы выполните все упомянутые системные требования, следующим шагом будет включение Microsoft Hyper-V:

Как включить инструмент Hyper-V Windows 10 через настройки

Следуйте инструкциям, чтобы включить эту технологию виртуализации на вашем ПК:

Как только вы выполните вышеупомянутые шаги, стек виртуализации Windows 10 будет автоматически установлен на ваш компьютер вместе с приложением диспетчера Hyper-V. Это необходимо для настройки и запуска виртуальных машин на вашем ПК.

Как включить инструмент Hyper-V Windows 10 через PowerShell

Есть ещё один способ включить функцию Hyper-V на вашем компьютере, выполните следующие действия:

Как только вы выполните вышеупомянутые шаги, диспетчер Hyper-V вместе со связанными компонентами будет установлен на вашем компьютере.

Как настроить инструмент Hyper-V для Windows

Теперь, когда вы успешно установили Hyper-V, следующим шагом будет его настройка, чтобы вы могли использовать диспетчер Hyper-V для запуска виртуальных машин в Windows 10.

После настройки инструмента Hyper-V Windows следующим шагом будет создание виртуального коммутатора, который поможет вам создавать виртуальные сети и связывать их с виртуальными машинами.

Как создать виртуальный коммутатор для запуска виртуальных машин Windows?

Как и карта сетевого интерфейса (NIC) в физической системе, виртуальный коммутатор позволяет пользователям создавать одну или несколько виртуальных сетей и использовать их для соединения с виртуальными машинами.

Чтобы создать и управлять виртуальным коммутатором в Hyper-V, всё, что вам нужно сделать, это:

Как создать виртуальную машину с помощью Hyper-V

Теперь, когда вы выполнили все необходимые шаги для настройки параметров и создали виртуальный коммутатор для управления виртуальными машинами, вы можете перейти к созданию Windows Virtual PC.

Всё готово!

Наконец, вы можете поиграть с несколькими ОС на одной машине! Есть вопросы? Оставляйте их в комментариях ниже!

Источники информации:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *