美文网首页
python运维之路 2018-11-28

python运维之路 2018-11-28

作者: smilemouse | 来源:发表于2018-11-28 22:54 被阅读0次

    开始吧,Windows10家庭版安装hyper-v虚拟机

    1.新建一个hyper.cmd文件(文件名可自己定义,cmd文件是windows命令脚本文件,类似从前的批处理文件)

    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管理工具中找到“Hyper-V管理器”了,就能使用Hyper-V。

    相关文章

      网友评论

          本文标题:python运维之路 2018-11-28

          本文链接:https://www.haomeiwen.com/subject/icytcqtx.html