Link to home
Start Free TrialLog in
Avatar of Dark720
Dark720

asked on

how to stop Xp rehibernating after 5 minutes

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
Avatar of Danny Child
Danny Child
Flag of United Kingdom of Great Britain and Northern Ireland image

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

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
Avatar of Dark720
Dark720

ASKER

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
Avatar of Dark720

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of O. Pierru
O. Pierru
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dark720

ASKER

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.
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).


SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dark720

ASKER

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
Avatar of Dark720

ASKER

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.
Avatar of Dark720

ASKER

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.
Thanks for the feedback, and yes, Nirsoft offers lot's of usefull little utilities.

Cheers,
Oliver.