Installing Hyper-V


Installing Hyper-V on Windows 10 and 11 Pro is very simple. Hit the Windows key and type “Windows features’, and enter to select “Windows features on or off”. Check the box for Hyper-V. I think it prompts you to restart. After your computer go to start and type, “Hyper-V”, hit enter and the Hyper-V Manager will open.

Installing Hyper-V on Windows 10 and 11 Home

Microsoft does not want you to do this. They would rather you purchase the Pro versions to get this feature. Because “Home” is really “Pro” with some options disabled or in this case not installed at all you can always install it. Microsoft doesn’t want make this easy, so they do not provide an installer. You have to build your own!

The first thing you need to do to is copy the code below and paste it in a text editor like notepad. Save the file to your desktop as, hv.bat. Don’t include the period at the end of the sentence. Right click the hv.bat file and click, “Run as administrator”. Restart the computer. When its running again hit the Windows key and type “hyper” and select the “Hyper-V Manager”. You are now ready to build your first virtual machine.

 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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.