Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
Posted

1 solution

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!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900