Hyper-V虚拟机管理服务(VMM)未在服务中列出
我最近在Windows 11家用机器上安装了Hyper-V。一切正常,直到有一天我从Hyper-V Manager中删除,我认为是我创建的虚拟机,但我认为我也删除了VMM?我不知道我是怎么做到的,问题是我不知道该怎么回来吗?
Hyper-V Manager现在看起来像这样:
现在,我现在运行以下脚本
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv.txt
for /f %%i in ('findstr /i . hv.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hv.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
pause
在我尝试创建新的虚拟机时,将Hyper-V进入了我的家庭版,我会收到以下错误:
我尝试了以下内容:
- 删除Hyper-V Windows功能,然后将其添加回;
- 重新运行PowerShell脚本;
- 从Hyper-V Manager中选择“连接到Servier ...”选项,然后选择本地计算机,但我会收到以下错误:
大多数在线建议都假定VMM位于服务窗口中,只需要启动,或者应该检查Hyper-V的Windows功能中的所有选项(它们是),或禁用任何其他选项 我确实
已经安装了虚拟盒和VMware工作站(它们都可以并排工作)。现在,我从控制板/程序和功能中删除了这些内容。但这没有影响。
我不知道如何重新安装VMM,因此任何建议都将不胜感激。谢谢
I recently installed Hyper-V on my Windows 11 home machine. All was working fine until one day I was deleting, from the Hyper-V Manager, what I thought were my created virtual machines but I think I also deleted the VMMS? I don't know how I did this and the issue is I don't know how to get it back?
The hyper-V manager now looks like this:
The services window looks like this:
The windows features window looks like this:
I got hyper-V onto my home edition by running the following script
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv.txt
for /f %%i in ('findstr /i . hv.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hv.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
pause
Now when I try to create a new virtual machine, I get the following error:
I have tried the following:
- Removing the Hyper-V windows feature and then adding it back in;
- Re-running the powershell script;
- From Hyper-V Manager selecting the 'Connect to Servier...' option and then selecting local machine but I get the following error:
Most of the suggestions online assume the VMMS is in the services window and it just needs starting, or all options in the Windows Feature for hyper-v should be checked (which they are), or to disable any other hypervisors
I did have VirtualBox and VMWare workstation installed (and they all worked fine side-by-side). I have now removed these from the controlpanel/Program and Features. But this has had no effect.
I don't know how to re-install the VMMS so any advice would be really appreciated. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论