JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

windows 11 开启 hyper-v

发布时间 2023-07-01 16:57:52作者: 小黑狐狸1001

之前最好创建一个还原点。
保存以下为一个bat文件,如hyperv.bat

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

管理员运行

参考:
https://www.makeuseof.com/install-hyper-v-windows-11-home/
https://www.makeuseof.com/windows-11-create-restore-point/

    本栏目推荐文章
  • OpenHarmony 上跑CV 应用 - Windows上搭建 Linux 桌面系统
  • 11-函数进阶-参数类型
  • Mac上运行windows软件-GPTK
  • Windows Server 2016 & 2019 工作站速配脚本
  • windows 命令行调整分辨率
  • Windows 7 SP 1 部署 .NET 6/7
  • Windows 10 中,可以使用 PowerShell 添加打印和文件服务的角色功能组件,包括 Internet 打印客户端、LPD 打印服务和 LPR 端口监视器 PowerShell 添加打印机并创建新的 LPR 端口。以下是添加打印机和创建新端口的 PowerShell 命令在 Windows 10 中,可以使用 PowerShell 添加 LPR 兼容打印机。
  • 在windows上建立与Linux的互连
  • 在Windows上出现"localhost拒绝连接”的问题
  • IPv6通过公网共享文件(Windows)
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们