• Windows10家庭版 开启Hyper-V


    • 新建文本文件,复制一下内容
    1 pushd "%~dp0"
    2 
    3 dir /b %SystemRoot%servicingPackages*Hyper-V*.mum >hyper-v.txt
    4 
    5 for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%servicingPackages\%%i"
    6 
    7 del hyper-v.txt
    8 
    9 Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL
    • 把文件后缀名改为.cmd
    • 以管理员身份运行该脚本
  • 相关阅读:
    对象拷贝-深拷贝
    eclipse安装桌面快捷方式
    ajax 分页
    单例模式
    过滤器
    ajax参数详解
    json
    反射
    jdbc02
    jdbc --例子7
  • 原文地址:https://www.cnblogs.com/My-Sun-Shine/p/13547090.html
Copyright © 2020-2023  润新知