Solve win10 without Hyper-V

Solve win10 without Hyper-V

Today, when installing docker, I found that Hyper-V needs to be turned on, but I found that there is no such product (it seems that there is no win10 home Chinese version~)

1. First create a Hyper-V.cmd file and write the following code:

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

2. Run the Hyper-V.cmd file as an administrator, and then start adding program packages, about a minute, enter y to restart the computer.

BEMeaQ.png

3. Add it after restarting~

BEQES1.png

Guess you like

Origin blog.csdn.net/weixin_44338712/article/details/109249414