HOWTO hibernate winXP via a btach file

Here you can find everything you need to know about Dll-Files. You can also share your knowledge regarding the topic.

Moderators: DllAdmin, DLLADMIN ONLY

Post Reply
undisclosed
Posts: 19
Joined: 16 Aug 2009, 23:00

HOWTO hibernate winXP via a btach file

Post by undisclosed »

Hi,

I came to find, in windows XP SP3, that the command,

_-%windir%\system32\rundll32.exe_PowrProf.dll,_SetSuspendState_m2-_
or
_-rundll32.exe_powrprof.dll,SetSuspendState_0,1,0-_

executed at a command prompt, triggers the hibernation process
as hibermation proceeds; I can see the winXP progress bar.

But unfortunately it does not stop their, my machine resumes from
hibernation, within seconds, unless I switch-off the power as soon as
hibernation completes.

The same is the case, when I use the power switch.
Thru the Power Config UI, I have chosen the hibernation option, when I
press the power switch on my desktop, hibernation is triggerred but
still windowsXP, resumes (if not switched off)

Any clues, why winXP behaves this way.
Could I be missing something.

I am using windows XP, SP3

TIA
~ Jeevan (g1)


--
jnsunkersett

advertisement
gerald ross
Posts: 1
Joined: 15 Jun 2010, 23:00

Re: HOWTO hibernate winXP via a btach file

Post by gerald ross »

undisclosed wrote:
> Hi,
>
> I came to find, in windows XP SP3, that the command,
>
> _-%windir%\system32\rundll32.exe_PowrProf.dll,_SetSuspendState_m2-_
> or
> _-rundll32.exe_powrprof.dll,SetSuspendState_0,1,0-_
>
> executed at a command prompt, triggers the hibernation process
> as hibermation proceeds; I can see the winXP progress bar.
>
> But unfortunately it does not stop their, my machine resumes from
> hibernation, within seconds, unless I switch-off the power as soon as
> hibernation completes.
>
> The same is the case, when I use the power switch.
> Thru the Power Config UI, I have chosen the hibernation option, when I
> press the power switch on my desktop, hibernation is triggerred but
> still windowsXP, resumes (if not switched off)
>
> Any clues, why winXP behaves this way.
> Could I be missing something.
>
> I am using windows XP, SP3
>
> TIA
> ~ Jeevan (g1)
>
>
Not a batch file, but Wizmo is a tiny .exe program that can do that as
well a many other functions.

--
Gerald Ross
Cochran, GA

I'm here to question all your answers.

mike s
Posts: 3
Joined: 05 Jun 2010, 23:00

Re: HOWTO hibernate winXP via a btach file

Post by mike s »

On 6/16/2010 7:52 AM, undisclosed wrote:
> Hi,
>
> I came to find, in windows XP SP3, that the command,
>
> _-%windir%\system32\rundll32.exe_PowrProf.dll,_SetSuspendState_m2-_
> or
> _-rundll32.exe_powrprof.dll,SetSuspendState_0,1,0-_
>
> executed at a command prompt, triggers the hibernation process
> as hibermation proceeds; I can see the winXP progress bar.
>
> But unfortunately it does not stop their, my machine resumes from
> hibernation, within seconds, unless I switch-off the power as soon as
> hibernation completes.
>
> The same is the case, when I use the power switch.
> Thru the Power Config UI, I have chosen the hibernation option, when I
> press the power switch on my desktop, hibernation is triggerred but
> still windowsXP, resumes (if not switched off)
>
> Any clues, why winXP behaves this way. Could I be missing something.
> I am using windows XP, SP3
> TIA ~ Jeevan (g1)

Did you try any of these:

http://jimcofer.com/personal/?p=864
The first line enables hibernation
powercfg /hibernate on
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

http://www.gladiator-antivirus.com/foru ... /index.php
/t28851.html
http://dx21.com/coding/libraries/rundll32/default.aspx
"RUNDLL32.EXE PowrProf.dll,SetSuspendState"

Mike

Post Reply