windows家庭中文版安装Hyper-V

1,新建记事本,放入一下代码,保存为Hyper-V.txt

1
2
3
4
5
6
7
8
9
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,修改后缀名为cmd

3,以管理员身份运行Hyper-V.cmd

4,等待运行结束后,输入y,电脑会自动重启

5,电脑重启后,在开始的菜单栏里找到“Windows 管理工具—>Hyper-V 管理器”

猜你喜欢

转载自blog.csdn.net/Attitude_do_it/article/details/121249744