This question is related to this one: Automated windows restart testing

In order to automate testing in Windows, it could be useful to save multiple hibernate states and running them to see whether a new version of some software behaves appropriately in the different states. Is it possible to save multiple hibernate states?


I assume you are talking about Windows saving the current memory contents in a hibernate file.

My first thought was, sure, just boot that machine with a different OS (may be linux or even a second Windows) and copy the file to a archive. However, you probably also need to save thw pagefile than too. I am not sure what else you need. So the safest way would be to backup the whole hard drive.

That said, it might be the easiest to use a virtual machine. Than you can hibernate your Windows and backup the whole virtual machine. You can later restore it several times or restore different hibernate scenarios.

| improve this answer | |
  • +1 Virtual machines for automating testing – Oskar Duveborn Dec 29 '09 at 16:01
  • +1 for VMs. VMware Workstation is superb for this type of thing. – Corey S. Dec 29 '09 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.