我的系統(tǒng)是windows11家庭版,程序添加這就沒有hyper-v,但是可以手動(dòng)添加,把下面這個(gè)腳本修改后綴.cmd即可(如:hyper-v.cmd),不會(huì)的可以直接下載我這個(gè)文件。
Hyper-v執(zhí)行文件下載:hyper-v.zip
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
執(zhí)行示意圖:

cmd.png
再看看程序添加里面Hyper-v已經(jīng)按照成功了,重啟即可使用。

Windows功能.png