We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

how to stop Xp rehibernating after 5 minutes

Dark720
Dark720 asked
on
Medium Priority
1,038 Views
Last Modified: 2012-05-07
I like the hibernate feature. I like being able to turn off my computer without turning everything off. The speed of shutdown and startup is an added bonus in my mind.
The problem I have is that if I turn on the PC and dont touch the keyboard or mouse for 5 minutes, the machine will automatically reenter hibernation mode.

I would like to keep hibernation but remove or extend the 5 minute feature.

more info here.
http://support.microsoft.com/default.aspx?scid=kb;en-us;318355&Product=winxp
Comment
Watch Question

Danny ChildIT Manager

Commented:
You can change the hibernation timings here:
Start, Control Panel, Performance and Maintenance, then click Power Options

http://www.microsoft.com/windowsxp/using/setup/learnmore/russel_02march25.mspx

Danny ChildIT Manager

Commented:
or use Psshutdown with the /h switch in a batch file on your desktop, so you can just click it, and it hibernates there and then.

http://technet.microsoft.com/en-us/sysinternals/bb897541.aspx

Author

Commented:
for your info.
in power schemes i have home/office desk

turn off monitor - after 15 minutes
turn off hdds - never

system standby - mever
system hibernates - never

Author

Commented:
Entering hibernation is not a problem.

The problem is when I goto machine, press on button, then return in six minutes to a truned off machine.

This is default behavior for XP which I'd like to modify
System admin
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
how would I trigger this to run, As you may know, returning from hibernate does not use startup folder to start apps like normal startup.
O. PierruSystem admin

Commented:
Yep, a small script would take care of that : it'd launch the program after say 4minutes of inactivity.
Other solution, rename program.exe to program.scr and install it (right clic > Install), then select it as your new screensaver and set it to start after 4mn of inactivity.
3rd solution, an app like this one : http://www.topshareware.com/System-ScreenSaver-download-35347.htm (freeware ones should exist).


Danny ChildIT Manager
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
before hibernate

Field Description          Value
-----------------          -----
Name                       Home/Office Desk
Numerical ID               0
Turn off monitor (AC)      After 15 mins
Turn off monitor (DC)      After 5 mins
Turn off hard disks (AC)   Never
Turn off hard disks (DC)   After 10 mins
System standby (AC)        Never
System standby (DC)        After 5 mins
System hibernates (AC)     Never
System hibernates (DC)     After 20 mins
Processor Throttle (AC)    NONE
Processor Throttle (DC)    ADAPTIVE

After hibernate (scripted, so no keyboard or mouse movement before this was taken)

Field Description          Value
-----------------          -----
Name                       Home/Office Desk
Numerical ID               0
Turn off monitor (AC)      After 15 mins
Turn off monitor (DC)      After 5 mins
Turn off hard disks (AC)   Never
Turn off hard disks (DC)   After 10 mins
System standby (AC)        Never
System standby (DC)        After 5 mins
System hibernates (AC)     Never
System hibernates (DC)     After 20 mins
Processor Throttle (AC)    NONE
Processor Throttle (DC)    ADAPTIVE

Author

Commented:
That script I wrote to capture powercfg /query got me to thinking of my own solution.
Alway hibernate via icon on desktop.
This icon hibernates machine, but script is still active lucking in memory until system restores from hibernation.

Now, what are these progrmas which simulate keyboard or mouse entries.

Author

Commented:
Ok, I've had success.
The shutdown tool i use suppports hibernation. Andrej Budja, www.budja.com/shutdown
The mouse simulation tool i use is nircmd, from http://www.nirsoft.net/utils/nircmd2.html

I have icon on desktop pointing to hibernate.bat

hibernate.bat
shutdown -h
ping 127.0.0.1 -n 30 > nul
nircmd.exe movecursor 10 10
nircmd.exe movecursor -10 -10
now, i must train myself to always use this icon.
Thanks for your help.
O. PierruSystem admin

Commented:
Thanks for the feedback, and yes, Nirsoft offers lot's of usefull little utilities.

Cheers,
Oliver.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.