win10无法启动虚拟机

2021-05-16 02:29

阅读:436

标签:ges   edit   packages   root   hyper   class   online   虚拟机   tools   

 

(1) 电脑没有Hyper-V

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) 电脑没有gpedit.msc

@echo off

pushd "%~dp0"

dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt

dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt

for /f %%i in (findstr /i . List.txt 2^>nul) do dism /online /norestart /add-package:"C:\Windows\servicing\Packages\%%i"

pause

 

win10无法启动虚拟机

标签:ges   edit   packages   root   hyper   class   online   虚拟机   tools   

原文地址:https://www.cnblogs.com/countryboy666/p/14613929.html


评论


亲,登录后才可以留言!