I want to create my own shortcut to run some maintenance tasks that take a long time, such as a disk check with full media scan or defrag. But wondering if the system will go to S3+S1 (or hybrid) sleep during a long process like this?
Any advice on how I could create a batch or script to reset system PM timer every couple minutes (or even up to 15 minutes) during this user-run task that will programmatically stop tripping the PM timer when the task is finished?
e.g. run task with PM trip script, then when task finishes and exits by returning a successful code (e.g. 0), stop triggering PM timers so the computer will enter sleep as normal? TIA!
Oh and something that will work on XP and up (Vista, 7, and 8).
Any advice on how I could create a batch or script to reset system PM timer every couple minutes (or even up to 15 minutes) during this user-run task that will programmatically stop tripping the PM timer when the task is finished?
e.g. run task with PM trip script, then when task finishes and exits by returning a successful code (e.g. 0), stop triggering PM timers so the computer will enter sleep as normal? TIA!
Oh and something that will work on XP and up (Vista, 7, and 8).
