windows11家庭版开启Hyper-v

前提:如果在控制面板中-->程序和功能-->启用和关闭windows功能-->没有Hyper-v

1.什么是Hyper-v?

Hyper-v分为两个部分:底层的虚拟机平台、上层的虚拟机管理软件

2.Hyper-v安装

2.1新建hyper.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

2.2右键菜单中以管理员身份运行hyper.cmd,点击Y,即进入重启电脑。

2.3进行配置更新,重启后可以在“打开或关闭windows功能”里看到已经Hyper-V已经安装并打上勾了,重启即可使用。

参考连接:Hyper-V 的用途与安装-CSDN博客

win11家庭版开启hyper-v_win11家庭版没有hyper-v-CSDN博客

相关推荐

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-30 20:22:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-30 20:22:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-30 20:22:02       82 阅读
  4. Python语言-面向对象

    2024-04-30 20:22:02       91 阅读

热门阅读

  1. Spring中实现策略模式的几种方式

    2024-04-30 20:22:02       27 阅读
  2. Kafka集群搭建

    2024-04-30 20:22:02       36 阅读
  3. ndk编译android系统下运行的ffmpeg配置

    2024-04-30 20:22:02       34 阅读
  4. 使用通义千问,为汽车软件需求生成测试用例

    2024-04-30 20:22:02       28 阅读
  5. WebSocket 的封装

    2024-04-30 20:22:02       39 阅读
  6. Android Glide 获取动图的第一帧

    2024-04-30 20:22:02       33 阅读
  7. 原生小程序分页/上拉加载(通过页面生命周期)

    2024-04-30 20:22:02       30 阅读
  8. Czi.算法学习(三)

    2024-04-30 20:22:02       33 阅读