WMI,Hyper-V,虚拟机具有快照时发生错误 [英] WMI, Hyper-V, Error when vm has snapshots

查看:158
本文介绍了WMI,Hyper-V,虚拟机具有快照时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试使用"ModifyVirtualSystemResources"方法修改Hyper-V虚拟机设置,它可以正常工作.

但是当vm有快照时,我会得到代码"4096"以及对计算机的任何更改.

有任何想法吗?

Hi,

I''m trying to modify Hyper-V virtual machine setting with "ModifyVirtualSystemResources" method, it works fine.

But when vm has snapshots, I get code "4096" and any changes to machine.

Any ideas?

推荐答案

正在运行的操作系统的快照可能无法处理这些更改.当虚拟机具有4个处理器并用2个处理器还原时拍摄的快照可能无法工作.我认为VM的设置未与快照一起存储,因此更改配置和恢复快照不起作用.配置GUID与快照不匹配.
http://blogs.technet. com/b/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx [
The snapshots of a running OS might not be able to handle those changes. A snapshot that was taken when the virtual machine had 4 processors and are restored with 2 processors won''t work probably. I think the settings of the VM aren''t stored with the snapshot and therefor changing the configuration and restore a snapshot doesn''t work. The configuration GUID doesn''t match with the snapshot.
http://blogs.technet.com/b/jhoward/archive/2008/12/28/hyper-v-resolving-event-id-4096.aspx[^]

Good luck!


这篇关于WMI,Hyper-V,虚拟机具有快照时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆