Платформа виртуализации Hyper-V доступна не только в Windows Server, но и в десктопных редакциях Windows 10 и 11. С помощью встроенного гипервизора Hyper-V пользователи могут создавать и запускать виртуальные машины. В этой статье мы рассмотрим, как включить компоненты Hyper-V в Windows 10 и 11.
Компоненты роли виртуализации Hyper-V можно установить в Pro и Enterprise редакциях Windows 10 и 11. Сначала, нужно проверить, поддерживает ли ваш компьютер виртуализацию Hyper-V. Откройте командную строку с правами администратор и выполните:
systeminfo
Промотайте в конец вывода и проверьте, что включены следующие компоненты в разделе Hyper-V Requirements:
VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes
Если здесь указано Virtualization Enabled in Firmware: No, попробуйте включить аппаратную поддержку виртуализации в настройках BIOS/UEFI компьютера (может называться Intel VT-X или AMD-V).
Также проверить совместимость вашего процессора можно на вкладке CPU в диспетчере задач Windows. Здесь должно быть указано
Virtualization: Enabled
.
Если тут указано
A hypervisor has been detected. Features required for Hyper-V will not be displayed
, значит компоненты Hyper-V уже установлены.
Включить роль Hyper-V в Windows 10 и 11 можно через панель управления компонентами Windows Features. Выполните команду
optionalfeatures
и выберите для установки компоненты Hyper-V Platform и Management Tools.
Также вы можете включить компоненты Hyper-V в Windows из командной строки. С помощью PowerShell команды:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Или с помощью DISM:
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V-All
После завершения установки компонентов перезагрузите компьютер. Проверьте, что компоненты гипервизора установлены:
Get-WindowsOptionalFeature -Online -FeatureName *hyper*|ft
Включите автоматический запуск Hyper-V при загрузке:
bcdedit /set HypervisorLaunchType auto
Для управления Hyper-V и виртуальными машинами используется графическая консоль Hyper-V Manager (
virtmgmt.msc
). Запустите ее и можете начать создавать виртуальные машины.
Также для управления гипервизором и ВМ можно использовать командлеты PowerShell из встроенного модуля Hyper-V.
Компонент виртуализации Hyper-V отсутствует в домашних (Home) редакциях Windows 10 и 11. Однако есть небольшой трюк, который позволяет установить роль Hyper-V из зранилища компонентов WinSxS даже в Home редакции Windows.
Создайте на рабочем столе файл enable-hyperv.bat с кодом
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
pause
Запустите BAT файл с правами администратора.
После завершения установки компонентов, перезагрузите компьютер. Проверьте, что виртуализация Hyper-V теперь доступна в вашей Home редакции Windows.
Hyper-V is supported in Pro, Enterprise and Education Edition of Windows 10 and Windows 11. This guide will show you how to enable Hyper-V in Home Editions of Windows 10 and Windows 11.
Hyper-V in Windows 10 and Windows 11 Home Edition
Hyper-V in Windows 10 and Windows 11 allows running Virtual Machine. It is supported only in Pro, Enterprise and Education Edition of Windows 10 and Windows 11 by default. But this guide will show you how to enable it in Home Editions of Windows 10 and Windows 11.
Check if virtualization is enabled:
- Search for
Command Prompt
in Windows Start Menu and open it. - Type
systeminfo
and press Enter. Wait for the process to finish - Once the results appear, search for the
Hyper-V Requirements
section which is usually the last one.- If it says
A hypervisor has been detected. Features required for Hyper-V will not be displayed.
that means Hyper-V is already enabled and there is no reason following this guide anymore. - Otherwise, check for
Virtualization Enabled in Firmware:
.- If its
Yes
, click here. - If its
No
, click here.
- If its
- If it says
Enable virtualization
The process of enabling virtualization can vary a lot depending on the motherboard manufacturer, but it can be summarized in a few steps:
- Completely Shutdown you Computer.
- Turn on the computer and while it is booting up, keep pressing the key to open the BIOS (usually it is
Del
,F1
,F2
,F4
,F11
, orF12
). This key depends on the Motherboard manufacturer. You can easily google it out. - Once you get into the BIOS, it may look very scary or intimidating, but don’t worry, you will get it right. Mouse may not work in BIOS so you might have to use the Directional or Arrow keys and the Enter key of the Keyboard to navigate.
- Search for the CPU configuration section, it can be called
CPU configuration
,processor
,Northbridge
orChipset
and may be under anadvanced
oradvanced mode
tab or menu. - Now you need to look for the virtualization option and enable it, it can have different names such as
Hyper-V
,Vanderpool
,SVM
,AMD-V
,Intel Virtualization Technology
orVT-X
.
- Search for the CPU configuration section, it can be called
- Once its enabled, save and reboot your pc.
If this part did not help you, you can specifically go the Website of the Mother Board Manufacturer of your Computer and ask for help there.
Enable Hyper-V
- Open File Explorer on windows and Navigate to a folder.
- Right click anywhere in a blank space inside the folder. Select
New
and then ClickText Document
. - Open the file in Notepad and copy and paste the following text into it.
pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" del hyper-v.txt Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL pause
- Click
File
from the Menu bar in the top of Notepad, then clickSave as...
. In the Save as Window that appears, Change the File name to"Hyper-V.bat"
and click save. - Now Double click
Hyper-V.bat
to run it. This will take some time but will install all features required for Hyper-V. A Restart might be required after it is done. - After Restarting Windows, search for
Turn Windows features on or off
in the Start Menu search bar and open it. - In the Window, lookout for
Hyper-V
,Virtual Machine Platform
andWindows Hypervisor Platform
. Then check the check boxes before them and clickOK
. This will also take some time and then a Restart is necessary.
Thats it Hyper-V is enabled.
Hyper-V is Microsoft’s virtualization platform. It is available on Windows Server operating systems and Microsoft has also added the Hyper-V functionality to Windows 8.1, Windows 10, and Windows 11.
Unfortunately, the Hyper-V feature is only available in Windows 10 Professional, Enterprise, and Education editions. You can’t install it on Windows 10 Home edition by default.
However, using the steps in this article, we’ll show you how to enable Hyper-V in the Windows 10 Home edition.
Table of Contents
Does Your System Support Virtualization?
Before moving forward, we need to check if our system supports virtualization. Hardware virtualization is required for Hyper-V to function correctly. Otherwise, you can use other virtualization platforms like Virtualbox and VMWare.
There are four basic requirements for Hyper-V to be installed on a Windows 10 computer:
- VM Monitor Mode Extensions
- Virtualization enabled in firmware
- Second Level Address Translation (SLAT)
- Data Execution Prevention
All four of these requirements can be easily checked through a Command Prompt cmdlet. Run the following cmdlet in an elevated Command Prompt and obtain the results on the four requirements:
systeminfo
This will generate a list, and you will find the section “Hyper-V Requirements” at the end of the list containing the details of the 4 requirements, as in the image below:
If these requirements are met, the results will display “Yes.” However, if you find that “Virtualization Enabled In Firmware” states “No,” you need to enable it using the guide below.
Enable Virtualization in Firmware/BIOS
Most modern computers support all the requirements of Hyper-V. But some systems have virtualization disabled from BIOS. You can go to the BIOS setup computer at the startup and enable Virtualization using the following steps:
-
Restart your computer and enter the BIOS setup using the hotkey.
-
Here, look for the “Virtualization” tab and click on it, or use the arrow keys on the keyboard to highlight it and press Enter.
-
Now enable Virtualization.
Enable virtualization from BIOS -
Now save the new settings and exit BIOS. The system will now reboot normally.
When it reboots, continue with the following steps to install and enable Hyper-V.
Install Hyper-V in Windows 10 Home
Note: Since Windows Home edition comes without Hyper-V, you must first install it. If you have the Pro, Education, or Enterprise editions, then you may skip this step and proceed to the next section of this article. To check which edition you have, type in winver in the Run Command box and obtain your operating system’s details.
Follow the steps below to install and enable Hyper-V in Windows 10 Home:
-
Download Hyper-V Installer by clicking on the following link:
Hyper-V installer and enabler for Windows 10 Home (317 bytes, 41,046 hits)
-
Once downloaded, right-click on the file and select Run as Administrator from the context menu. This will trigger the installation script.
Run as admin -
If prompted with a UAC, click Yes.
Click Yes on User Access Control It may take some time to complete the installation. Please let it complete without interruption.
-
Once complete, press Y to continue.
Press Y to continue The computer will now reboot and update.
Once rebooted, Hyper-V will have installed and automatically enabled on your Windows Home.
How to Enable Hyper-V on Windows 10 (Pro, Enterprise, Education)
The method given above automatically enables Hyper-V as well as installing it on a Windows Home. However, if you are running Windows Pro, Education, or Enterprise edition, then you can enable Hyper-V using any one of the following methods.
Enable Hyper-V from Optional Features
Since Hyper-V is an optional feature that one can enable when needed, you can enable it from the Optional Features applet. Here is how:
-
Open the Optional Features applet by typing in optionalfeatures in the Run Command box.
Open the Optional Features applet -
Now look for the “Hyper-V” option from the list and check the box next to it. Then click Ok.
Enable Hyper V from Optional Features -
You will now see a window applying the changes. Click Close when it is done.
Close installation window
Hyper-V will now be installed and enabled. You can now access the Hyper-V manager by searching for it in the search box in the taskbar or through the Start menu.
Alternatively, you can also use the other 2 command-line methods to enable Hyper-V on Windows 10.
Enable Hyper-V from Command Prompt
Follow these steps to enable Hyper-V using the DISM command tool in the Command Prompt:
-
Run the following cmdlet in an elevated Command Prompt:
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
Enable Hyper V from Command Prompt -
When asked, enter Y to restart the computer:
Enter Y
The computer will now restart, When it does, Hyper-V should be enabled successfully.
Enable Hyper-V from Windows PowerShell
If you’d rather prefer to use Windows PowerShell, here is how to enable Hyper-V:
-
Run the following cmdlet in an elevated PowerShell:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Enable Hyper V using PowerShell -
When asked, enter Y and hit Enter to restart the computer:
Enter Y When the computer reboots, Hyper-V will have installed successfully.
These are the 3 methods to enable Hyper-V in Windows 10, provided that the hardware is supported and Hyper-V is installed.
How to Disable Hyper-V in Windows 10 (Home, Pro, Enterprise, Education)
If you don’t want this functionality on your computer, you can always disable it. There are three ways to disable it:
-
From Optional Features
-
Open the Optional Features applet by typing in optionalfeatures in the Run Command box.
Open Optional Features applet -
Uncheck the box next to Hyper-V and click Ok.
Disable Hyper-V from Optional Features -
When done, click Restart now to finalize the changes.
Restart PC
-
-
From Command Prompt
Run the following cmdlet in an elevated Command Prompt to disable Hyper-V:
DISM /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-all
If asked for a reboot, enter Y for Yes.
Disable Hyper V from Command Prompt -
From PowerShell
Run the following cmdlet in an elevated PowerShell to disable Hyper-V:
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
If asked for a reboot, enter Y for Yes.
Disable Hyper V from Windows PowerShell
Closing Thoughts
Sometimes Hyper-V is very useful even for home users. It can be used to test and evaluate new software without hurting the host system. But there are times when enabling virtualization support or installing Hyper-V is not recommended.
Hyper-V requires some system resources to run its virtual machines. For example, if you have 4 GB RAM, you won’t be able to give any resources to the virtual machine. So it would not be wise to enable Hyper-V functionality.
For what purpose do you want to enable Hyper-V functionality on your Windows 10 Home computer? Please share your thoughts in the comments below.
Since Windows 8, you can easily virtualize machines thanks to the «Hyper-V» feature available in the client versions of Windows.
That said, officially, Hyper-V is not available in the «Home» edition of Windows.
Nevertheless, it is technically possible to manually install Hyper-V on the «Home» edition of Windows 8 to 11 with a few commands.
Warning : the prerequisites will not be checked when you manually install and enable Hyper-V.
To check these prerequisites, refer to our tutorial: Enable the Hyper-V feature on Windows 8, 8.1, 10 and 11.
- Hyper-V feature not available in Home edition
- Manually install Hyper-V with Home edition of Windows
- Virtualize a machine on Hyper-V with the Windows Home edition
- Preview of Hyper-V on other versions of Windows
1. Hyper-V feature not available in Home edition
To get started, search for «features» and click: Turn Windows features on or off.
As you can see, with the «Family» edition of Windows, the Hyper-V feature does not appear in the list of Windows features.
Source : Windows 10 Hyper-V System Requirements.
2. Manually install Hyper-V with Home edition of Windows
To manually install and enable Hyper-V on Windows 8 to 11, open notepad and paste this inside.
Batch
pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" del hyper-v.txt Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL pause
Then, click: File -> Save As.
Select «Type: All Files (*.*)», then specify «hyper-v.bat» for the file name.
Then, click on: Save.
Now, right click «Run as administrator» on this «hyper-v.bat» script.
Click «Yes» when the «User Account Control» window appears.
The script will first add several packages whose name starts with «Hyper-V»:
- Microsoft-Hyper-V-ClientEdition
- Microsoft-Hyper-V-ClientEdition-WOW64
- Microsoft-Hyper-V-Hypervisor-merged
- Microsoft-Hyper-V-Hypervisor
- and more
Note that the list of packages changes from one version of Windows to another, but the script is designed to install the packages needed for your version of Windows.
Batch
dism /online /norestart /add-package:"C:\Windows\servicing\Packages\Microsoft-Hyper-V-...mum"
Plain Text
Deployment Image Servicing and Management tool Version : 10.0.19041.844 Image Version : 10.0.19043.928 Processing 1 of 1 - Adding package Microsoft-Hyper-V-... [==========================100.0%==========================] The operation completed successfully.
Next, it will enable the added «Hyper-V» feature, along with its sub-features:
- Hyper-V Management Tools
- Hyper-V Platform
Finally, you will need to restart your computer for the changes to take effect.
To do this, simply press the «Y» key.
During the restart, you will see several messages appear:
- Installing updates.
- Use of features.
Note that these messages may change from one version of Windows to another.
Once your computer restarts, search for «Hyper-V» and you will see that the Hyper-V Manager will appear.
Search for «features» and click on: Turn Windows features on or off.
As you can see, the «Hyper-V» feature is now present and enabled, along with its sub-features.
3. Virtualize a machine on Hyper-V with the Windows Home edition
Open the Hyper-V Manager and it appears without problem.
Click: Action -> New -> Virtual Machine.
Note: to find out how to create a virtual machine under Hyper-V, refer to our complete course «Learn how to create virtual machines with Hyper-V on WS 2012 R2 and WS 2016» available on our «InformatiWeb Pro» website.
As you can see, our virtual machine is working fine on our computer.
As expected, Hyper-V runs smoothly on Windows 10 Home.
4. Preview of Hyper-V on other versions of Windows
As expected, Hyper-V works fine on Windows 8 (Home).
It also works on the Home edition of Windows 8.1.
And it works fine on Windows 11 Home edition as well.
Windows 11, как и предыдущие версии системы, включает поддержку платформы виртуализации Hyper-V, позволяющую легко создавать и использовать виртуальные машины. Функция по умолчанию доступна лишь в редакциях Pro и Корпоративная, но при желании Hyper-V можно установить и в Windows 11 Домашняя.
В этой пошаговой инструкции подробно о том, как включить или установить Hyper-V в разных редакциях Windows 11, включая Home, а также об отключении Hyper-V при необходимости. Про процесс создания виртуальных машин можно прочитать в инструкции Как создать и использовать виртуальные машины Hyper-V.
- Как включить или установить Hyper-V в Windows 11
- Windows 11 Pro и Enterprise
- Windows 11 Домашняя
- Как отключить Hyper-V
Установка Hyper-V в Windows 11
Виртуальные машины Hyper-V доступны в виде компонента в Windows 11 Pro и Enterprise, но отсутствуют в редакции «Домашняя», хотя мы можем включить их и там, что также будет показано в инструкции.
Прежде чем приступать, учитывайте: для работы виртуальных машин Hyper-V требуется поддержка виртуализации. Быстрый способ проверить её наличие — открыть диспетчер задач, перейти на вкладку «Производительность» и выбрать пункт «ЦП».
Если в пункте «Виртуализация» вы видите «Включено», можно продолжать. Иначе имеет смысл включить виртуализацию в БИОС/UEFI, при условии, что ваш процессор её поддерживает.
Включение Hyper-V В Windows 11 Pro и Enterprise
Для того, чтобы включить компоненты Hyper-V в Профессиональной и Корпоративной редакциях, выполните следующие шаги:
- Нажмите правой кнопкой мыши по кнопке «Пуск», выберите пункт «Выполнить», введите appwiz.cpl и нажмите Enter.
- В открывшемся окне слева нажмите «Включение или отключение компонентов Windows».
- В списке компонентов отметьте Hyper-V так, чтобы вложенные пункты тоже были отмечены — «Платформа Hyper-V» и «Средства управления Hyper-V».
- Нажмите «Ок», дождитесь завершения установки, при появлении запроса о перезагрузке компьютера — выполните перезагрузку.
Готово, компоненты Hyper-V установлены, а инструменты управления виртуальными машинами вы сможете найти в пункте «Инструменты Windows» меню пуск (раздел «Все приложения») или Панели управления.
Как установить Hyper-V в Windows 11 Домашняя
Для установки компонентов Hyper-V в Домашней редакции Windows 11 достаточно создать файл bat со следующим кодом (как создать .bat файл):
pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv.txt for /f %%i in ('findstr /i . hv.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" del hv.txt Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL pause
После чего запустить его от имени Администратора, лучше — при подключенном Интернете: нажать правой кнопкой мыши по файлу и выбрать соответствующий пункт меню.
Это запустит установку необходимых компонентов.
По завершении установки вам предложат выполнить перезагрузку в окне командной строки. Введите Y и нажмите Enter, дождитесь завершения перезагрузки и установки необходимых для работы Hyper-V компонентов.
В результате всё, что требуется для работы виртуальных машин Hyper-V и управления ими будет установлено, а нужные пункты для запуска настроек вы найдете в «Инструментах Windows» в меню Пуск и Панели управления.
Как отключить Hyper-V
Возможны два способа и ситуации необходимости отключения Hyper-V.
Первый — простое удаление компонентов, которое подойдёт в ситуации, когда использовать виртуальные машины Hyper-V в этой системе больше не планируется:
- Нажмите клавиши Win+R на клавиатуре, введите appwiz.cpl и нажмите Enter.
- Слева нажмите по пункту «Включение или отключение компонентов Windows».
- Снимите отметку с компонента Hyper-V и нажмите «Ок».
- Дождитесь удаления, при запросе о перезагрузке Windows — выполните её.
Второй вариант: Hyper-V мешает запуску других виртуальных машин, например, VirtualBox или эмуляторов Android, но удалять компоненты вы не планируете. В этом случае вы можете временно отключить Hyper-V без удаления:
- Запустите командную строку от имени Администратора.
- Введите команду
bcdedit /set hypervisorlaunchtype off
и нажмите Enter.
- Закройте командную строку и перезагрузите компьютер.
- Работа Hyper-V будет отключена, при этом компоненты останутся установленными.
- Включить их снова в дальнейшем можно будет с помощью команды
bcdedit /set hypervisorlaunchtype auto
с последующей перезагрузкой.
Модификация этого способа, позволяющая выбирать статус Hyper-V в меню при загрузке компьютера описана в статье: Как использовать виртуальные машины Hyper-V и VirtualBox на одном компьютере.