Bob
--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
Disk Read Error Press Ctl+Alt+Del to Restart
http://www.randem.com/discus/messages/9402/9406.html?1236319938
"Bob Newman" <bobn...@cox.net> wrote in message
news:BFKOl.66521$HZ1....@newsfe15.iad...
> in Hibernation mode, nothing will run. The state your computer was in will
> be saved to the HD and retrieved when you press the power button. Your
> computer is actually OFF. In Sleep/StandBy mode your computer is in a low
> power mode and can be awaken by the movement/activation of a device.
In that case, what's the difference between "off" and "hibernate"?
--
Bob
http://www.kanyak.com
--
.
--
"Opinicus" <gez...@spamcop.net.which.is.not.invalid> wrote in message
news:v7WdnWL5wLz5B5bX...@giganews.com...
--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
Disk Read Error Press Ctl+Alt+Del to Restart
http://www.randem.com/discus/messages/9402/9406.html?1236319938
"Opinicus" <gez...@spamcop.net.which.is.not.invalid> wrote in message
news:v7WdnWL5wLz5B5bX...@giganews.com...
>The big difference is that in Hibernation mode when you turn the machine
>back on it will go to the exact state it was turned off, IE. any program
>loaded will be reloaded to the point where it hibernated.
And it will do so much faster than if you started from OFF.
The ACPI states are mentioned here.
http://en.wikipedia.org/wiki/Acpi
The ones of note might be
S1 Standby (mainly monitor power savings - fans still spinning)
S3 Standby suspend to RAM. Session stored in RAM. Fans off. +5VSB running.
If the computer is switched off at the back by accident, the contents
of RAM are lost. A fresh boot would result at the next session.
S4 Hibernate. Session stored on disk. Fans off. +5VSB running.
If the computer is switched off at the back by accident, the hiberfile is
still there. (I haven't tested my current computer, to see if the hiberfile
gets used on a reboot after a complete power failure.)
G3 Mechanical off. +5VSB is no longer running. RTC runs from the CMOS battery.
How the ATX power supply works, is like this.
---- AC_Input --- rectified_DC ---+---- +5VSB power conversion
| (Standby power source, some power waste)
|
+---- +3.3/+5/+12/-12 power conversion
Fans spin when running
Main power source for computer
If you use S3 or S4, then the upper power conversion section is
still running. Hibernate doesn't really need it, as the session
is stored on disk. S3 Suspend To RAM does need the +5VSB power,
to power the RAM sticks while they're self-refreshing.
The power supply may use 5-10W (a guess) when +5VSB is being provided,
and some of the chips that have wake up capabilities, need some
power to do their job. For example, a computer with "Wake On LAN",
may consume 300mA current flow to the LAN chip, in order for the
magic packet to be recognized when it is received. So the WakeUp
capable circuits still need some power, if they're to wake the computer.
Removing all power (G3) is the least stress, as then the AC
is disconnected via the switch on the back of the computer.
It will wear down your CMOS CR2032 battery faster though. The
battery is not allowed to be charged by the computer, and the
RTC (real time clock) has fairly low power needs (several microamps).
The RTC will use the battery, during G3. The RTC uses +5VSB derived
power, in S3 or S4, or during regular operation.
Using G3 (mechanical off) is not going to allow scheduled tasks to
run. But one of the other states, that allows the machine to wake up,
might be suitable.
I don't really see a lot to get excited about, in the above
description. S4 takes a bit of time to recover from. S3 means
you have an exposure to a power failure. In S3 or S4, the upper
half of the power supply is still running, but there is no fan to
cool whatever heat is thrown off.
Paul
Although this doesn't answer your question fully, let me explain the difference between shutdown,
hibernate and sleep...
If you shut down your PC, it closes all of your programmes (eg Word, Firefox) if you haven't done so
already, then turns itself off. When you turn your PC back on again, you have to re-launch all of
your programmes.
If you hibernate, it doesn't actually close your programmes, but instead saves their "state" to the
hard disk, then turns itself off. When you turn your PC back on again, the PC recovers the "state"
of all the programmes, and what you see is exactly what you saw before you hibernated - all the
programmes that you were running previously and with all the documents open as they were before, and
even with the cursor at the same position in (eg) your Word document. It also generally starts your
PC quicker than if you started it up after shutting it down first.
If you sleep, the PC powers down as much as it can (monitor, hard disk, and a few other things) but
doesn't power down the memory, which saves the "state" of all your programmes. When you turn your PC
back on again, the PC still has the "state" of all the programmes, and what you see is exactly what
you saw before you hibernated - all the programmes that you were running previously and with all the
documents open as they were before, and even with the cursor at the same position in (eg) your Word
document.
In both shut-down and hibernate, you can actually unplug your PC from the mains (and disconnect the
battery if you have a laptop) and all will be OK when you power up again.
In sleep, you must not unplug the mains/remove the battery, otherwise the programme state will be
lost, and you will lose the changes of any unsaved documents. There is also a small risk that you
may corrupt Windows in some way if you do this, although this is fairly unlikely.
Shutdown and hibernate use the least power (called "standby power") which is identical for both
modes, and use zero power if you actually unplug your PC from the mains.
Sleep uses more power, although usually it is pretty low, especially for a laptop.
Modern computers are designed to cope with being shut down, hibernated and set to sleep, so unless
you're doing this every hour or less, I wouldn't worry about wear and tear in any of the three ways.
Good luck,
Jon
"Bob Newman" <bobn...@cox.net> wrote in message news:BFKOl.66521$HZ1....@newsfe15.iad...
"Opinicus" <gez...@spamcop.net.which.is.not.invalid> wrote in message
news:v7WdnWL5wLz5B5bX...@giganews.com...
No, scheduled task cannot take the computer out of hibernation because
hibernation is also *off*.
John
"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:exZJaZM1...@TK2MSFTNGP02.phx.gbl...
SC Tom
"3c273" <nos...@nospam.com> wrote in message
news:udkJFqN1...@TK2MSFTNGP03.phx.gbl...
"SC Tom" <s...@tom.net> wrote in message
news:urikSDO1...@TK2MSFTNGP02.phx.gbl...
The ntldr boot loader has special code in it and when the computer is
booted it looks for the hiberfil.sys file in the root of the boot
volume, if ntldr finds this file it sucks it into memory and returns the
computer back from hibernation. If ntldr doesn't find an hiberfil.sys
file it parses the boot.ini file or looks for the Windows installation
and it boots Windows normally. An hibernated computer is turned off, it
cannot be turned on by any Windows feature because Windows is completely
knocked out when the computer hibernates. Look in your Windows help
files for more information.
John
"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:uFQgRaO1...@TK2MSFTNGP02.phx.gbl...
Interesting expose of different power levels, especially for a novice
news-group user like me.
Have a question about relating to this when using a 3 year old comp with Win
XP. When I click Turn Off Computer the next window has 3 options: Turn Off,
Re Start, Stand By; the last blanked out so SB does not function. Any
solutions?
Thanks..Emry
"Jon" <-> wrote in message news:ecR8kMH1...@TK2MSFTNGP06.phx.gbl...
"3c273" <nos...@nospam.com> wrote in message
news:%23g7R2eO...@TK2MSFTNGP04.phx.gbl...
John
From Microsoft:
"Like sleep, hibernate is a power-saving state. In Windows Vista, sleep
saves your settings in memory and draws a small amount of power to
maintain that memory. Hibernate, on the other hand, writes your settings
and the content of memory to the hard disk and then completely powers
down the system."
http://technet.microsoft.com/en-us/magazine/2008.05.sustainablecomputing2.aspx
Same thing for Windows 2000 and Windows XP, the system is completely
powered down after the hiberfil.sys file is written, scheduled tasks are
no longer available and Windows cannot reawaken itself from a powered
down state, something else has to initiate the power up.
John
I suspected that somehow my PC can be awakened from hibernation.
I say this bc when it's in whatever mode it's in, all the power
lights are off and I have to hit the "on" switch to wake it up.
In various sleep modes I've used, the power lights never went all
off.
Mine wakes up every morning in response to Windows Home Server
wanting to back it up.
OTOH, I just did a search and could not find a "hiberfil.sys" on
any of the drives; so I'm probably wrong... but it sure *looks*
dead.
--
PeteCresswell
"So, here is my workaround: Keep the PC in Hibernate (Suspend) mode and
wake it up at 6:00am."
Read more of his code and you will see that his code is relying on
Windows APIs and function calls to "wake up" the computer, he is missing
the fact that the hibernating computer is *turned off*, he has the
terminology mixed up. You can no more wake up an hibernating computer
with this code than you can one that is powered off without hibernate!
"Suspend" mode is NOT hibernate, you can search all you want on the
internet it will not change facts, a hibernating computer is powered
off, that is how hibernation works, the Windows session resumes when
ntldr reads and loads the hiberfil.sys file. I don't care what you say
or what any article on the web says you are simply not using Windows on
the powered off computer to turn it on, that is simply impossible. The
powered off computer can be turned on by other means but it cannot be
done by by Windows when Windows isn't running! People are confusing
Standby with Hibernate.
John
==
Cheers, Tim Meddick, Peckham, London. :-)
"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:OLAdHyO1...@TK2MSFTNGP06.phx.gbl...
==
Cheers, Tim Meddick, Peckham, London. :-)
"Emry" <bel...@telus.net> wrote in message
news:Ow1vDiO1...@TK2MSFTNGP03.phx.gbl...
"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:OLAdHyO1...@TK2MSFTNGP06.phx.gbl...
"(PeteCresswell)" <x...@y.Invalid> wrote in message
news:99bp059425j2ijcar...@4ax.com...
--
Jeff Barnett
"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:OLAdHyO1...@TK2MSFTNGP06.phx.gbl...
"Jeff Barnett" <jbb...@ca.rr.com> wrote in message
news:%233UfMmP...@TK2MSFTNGP05.phx.gbl...
The 'sucks' the contents of the hiberfil.sys into memory is from Raymond
Chen. http://technet.microsoft.com/en-us/magazine/cc137769.aspx If you
hibernate your computer and then unplug it while it is hibernating the
contents of the RAM are sure to be flushed, when you plug it back it and
restart it it will boot to the hibernated desktop, hibernation relies on
the hiberfil.sys file, not anything stored in RAM. It could be that
when you hibernate the machine there is an ntldr flag of sorts written
in the file and that the flag is remove when the machine resumes
successfully, I don't know for sure, its a guess.
John
I have just checked that on one of my machines and my network adapter
allows WOL when the machine is hibernating. This would depend on your
adapter.
John
==
Cheers, Tim Meddick, Peckham, London. :-)
"3c273" <nos...@nospam.com> wrote in message
news:ul9hA0P1...@TK2MSFTNGP05.phx.gbl...
But Mr 3c273 is right about the network cards on today's machines - the
lights are on the network card's rear plate when a machine is plugged in to
both power and network cable. 'magic' packets have been around for some
time but now you have 'magic packets', 'directed packets', 'wake on magic
packet from power off state' and 'wake on link'!!!
I have never heard of the OS being able to configure the BIOS's wake up
timer as Mr 3c273 says his Task Scheduler does. But, he says it does and I
know that computers have been increasing the ability to control settings in
what is called the extended BIOS including APM and this agrees with what I
have been reading about the subject.
I'd still like to know what causes ntldr to start loading hiberfil.sys
though!
==
Cheers, Tim Meddick, Peckham, London. :-)
"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:OI9aYBQ1...@TK2MSFTNGP02.phx.gbl...
"Tim Meddick" <timme...@gawab.com> wrote in message
news:ePiF%23HQ1J...@TK2MSFTNGP06.phx.gbl...
John
==
Cheers, Tim Meddick, Peckham, London. :-)
"3c273" <nos...@nospam.com> wrote in message
news:%236a6vPQ...@TK2MSFTNGP06.phx.gbl...
"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:uFmbEgQ1...@TK2MSFTNGP02.phx.gbl...
--
.
--
"3c273" <nos...@nospam.com> wrote in message
news:%237PbJzQ...@TK2MSFTNGP03.phx.gbl...
==
Cheers, Tim Meddick, Peckham, London. :-)
<.> wrote in message news:%23DvkB5Q...@TK2MSFTNGP04.phx.gbl...
> I'd still like to know what causes ntldr to start loading hiberfil.sys
> though!
"NTLDR locates and parses Hiberfil.sys to determine if it contains a
valid hibernator file. If a valid hibernator file is found, then that
file is loaded into memory and execution continues from the point the
computer was placed into hibernation."
How Windows Starts Up (Part the second)
http://blogs.msdn.com/ntdebugging/archive/2007/06/28/how-windows-starts-up-part-the-second.aspx
John
==
Cheers, Tim Meddick, Peckham, London. :-)
"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:%23vp988U...@TK2MSFTNGP03.phx.gbl...