Re: Hibernating-test

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Let me see if I understood your question correctly.
When you boot the OS from a HORM [hibernate] state at run time you want to know whether the system started cold boot or was resumed
from the hiberfil.sys file. Right?

You can't open the hiberfil.sys file from the same OS. The system keeps the file locked if hibernation feature is enabled.

You can try to use the existance of the resmany.dat at the root of the system volume as the indicator. The resmany.dat file is used
to notify ntldr to boot from the hibernation file. The ntldr changes the signature of the hibernation file when it is first booted
(this is probably what you were trying to check, right?).

--
=========
Regards,
KM

I using HORM system: First I enable EWF and then I hibernate system. Next
starts system loads from the same hiberfil.sys and I want know whether system
is hibernated or not but I don't open hiberfil.sys for reading first 4096
bytes.

"KM" wrote:

Wierd question.
If the system was hibernated the power state is OFF. If you are trying to read the hiberfil.sys file offline (from another OS
load
or on another machine if you moved the hard drisk there) you should not get "access denied" errors.
If you are reading the file online (from the OS that uses the file) the system is obviously NOT hibernated.

--
=========
Regards,
KM


"Jiri M." <JiriM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:A6B445BC-092E-4A1C-9406-A4717516E4DD@xxxxxxxxxxxxxxxx
Is possible test, whether system is hibernated? When I open hiberfil.sys for
reading 4096 bytes, I get error - access denied.

I using XPe SP2 + RAM reg EWF.





.



Relevant Pages

  • Re: PPPoE and ADSL problem (1 solution)
    ... >> of evidence of win xp and linux dual booting and linux having connection ... Either Win or Linux boot ... these devices before the machine enters hibernation. ... I am looking for things in common, ...
    (comp.os.linux.networking)
  • Re: Hibernating with a SSD and MS EWF [Re: Acer Aspire One Netbook Questions]
    ... Windows XP boots up within 30 seconds. ... 0 seconds to shutdown and 30 seconds to boot doesn't sound ... That would be true *if* speed was the only reason I used hibernation. ... I'll not buy another machine with an SSD until things improve (which ...
    (comp.sys.laptops)
  • Re: Query on Hibernation once resume many
    ... I had no time to test this feature yet :-(, but I'm surprised that I can't find text reference to resmany in ntldr. ... Without resmany.dat NTLDR changes the signature of the hibernation file during boot. ... NTLDR interprets this signature change as a failed attempt to boot from the file. ...
    (microsoft.public.windowsxp.embedded)
  • Re: hibernation
    ... So HORM is perfect for me! ... But when I boot I'd like my "video streamer" streams automatically. ... I can do exactly what I want without hibernation but hibernation is very ...
    (microsoft.public.windowsxp.embedded)
  • Re: cannot turn off hibernation to remove hiberfil.sys
    ... the computer boots to Windows, it's not there when you boot to a command ... So this would suggest that Hibernation is still enabled, but something, as ... See the dir listing when booting from a command prompt: ... Then after booting to windows and then running the same command prompt: ...
    (microsoft.public.windows.server.general)