Although the Hyper-V role is not officially available under Windows Home, it can still be added and enabled.
To do this, two steps must be performed:
- First, all packages related to Hyper-V are discovered and added
- And then the role itself is activated
The only way to perform the above procedure is through a series of commands.
To do this, you must start Command Prompt, but with the Run as administrator option.
Then, all packages related to Hyper-V are discovered and added using this command:
for /f %p in ('dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%p"
And then the role itself is activated using this command:
dism /online /norestart /enable-feature /featurename:Microsoft-Hyper-V -All
Don’t forget to restart your computer after the procedure is complete.
For convenience, instead of executing the above commands one by one, you can create and execute a script, for example hyper-v.bat. It could look like this:
@echo off
echo STEP 1: Adding Hyper-V packages ...
for /f %%p in ('dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%p"
echo STEP 2: Enable the Hyper-V feature ...
dism /online /norestart /enable-feature /featurename:Microsoft-Hyper-V -All
You can see the procedure clearly described in this video:
WARNING: This functionality is not officially supported by Microsoft under Windows Home. If you intend to use support from them, you should consider upgrading your Windows license. Details on the requirements can be found here.
NOTE: The commands used are borrowed from various sources on the Internet. You could look for an alternative approach like this.