Windows10 家庭版开启 Hyper-V

Windows Hyper-V About 543 words

编辑脚本

复制以下命令,另存为hyper-v.cmd文件。

以管理员身份运行。

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

运行完成

运行完成后,脚本会停留在是否重启计算机语句。输入Y,重启电脑。

操作成功完成。
重新启动 Windows 以完成该操作。
是否立即重新启动计算机? (Y/N)

注意

重启过程中,切勿强制关机。开机后菜单栏输入Hyper-V即可找到。

镜像

isos文件夹下。

Centos:https://mirrors.tuna.tsinghua.edu.cn/centos/

Views: 1,269 · Posted: 2022-01-04

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh