windows电脑有虚拟机功能,不过需要经过一番复杂的设置才能运行。那么windows11怎么开启虚拟机呢?各个版本的开启方法都是啥呢?想要了解具体操作的小伙伴可以跟小编一起来看看哦!
一、虚拟机状态查看
pushd “%~dp0”
dir /b %SystemRoot%servicingPackages*Hyper-V*.mum 》hyper-v.txt
for /f %%i in ('findstr /i 。 hyper-v.txt 2^》nul’) do dism /online /norestart /add-package:“%SystemRoot%servicingPackages%%i”
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL