Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently trying to prove a hardware malfunction to the hardware vendor. The system occasionally performs a hard shutdown (like a power loss), with batteries fully loaded.

The problem seems to be best reproducable within the first 5 minutes of waking up from hibernation and while performing system intensive tasks, so I would like to record the laptop during the following procedure:

repeat {

* Hibernate
* Wake up, perform system intensive task for 10 minutes


Any ideas on how to get this done?


I've now completed the following setup:

  • Manually send to hibernate
  • Manually wake from hibernate
  • perform AOGenMark for 20 times via batch loop (thanks moses)
  • go back to hibernation after batch file is completed via wosb (thanks martineau)

So the whole cycle has now been boiled down to manually start the process and wake from hibernate. That's close enough for me, using a mouse every 10-15 minutes is fine.

Thanks everyone!

share|improve this question
So you want to monitor the performance of the laptop during this time? – BigHomie Feb 26 '13 at 15:50
I don't actually care about the performance during this time. I would like to create a continous cycle of wake hibernation -> continous system intensive task for about 10 minutes -> hibernate -> wake from hibernation. – Igby Feb 26 '13 at 16:30
I recently ran across something called WakeupOnStandBy which sounds like it could do what you need. – martineau Feb 26 '13 at 16:33
Thanks for the hint, WOSB is a nice solution to a part of the problem ;) – Igby Feb 26 '13 at 17:02
up vote 1 down vote accepted

I use AOGenMark, a command line tool for multi-core CPU benching. Run it from a batch after calling a hibernation, and it will finish on wake:

@echo off
c:\windows\system32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
share|improve this answer
I would use a powershell script to do the same thing, only because it would loop very easy. – BigHomie Feb 26 '13 at 16:34
Thanks! See my original post for how far I've gotten. – Igby Feb 26 '13 at 17:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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