The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    How to hibernate in Vista ?

    Discussion in 'Windows OS and Software' started by Laptopaddict, Nov 16, 2009.

  1. Laptopaddict

    Laptopaddict Notebook Deity

    Reputations:
    9
    Messages:
    817
    Likes Received:
    0
    Trophy Points:
    30
    I only see the option for "sleep" ..?

    What consumes less, sleep or hibernation ?
     
  2. agusman

    agusman when the going gets weird

    Reputations:
    440
    Messages:
    794
    Likes Received:
    0
    Trophy Points:
    30
    create a shortcut to "C:\Windows\System32\rundll32.exe PowrProf.dll,SetSuspendState"

    2nd question, here, here, here, here, here, and I could go on forever...
     
  3. Laptopaddict

    Laptopaddict Notebook Deity

    Reputations:
    9
    Messages:
    817
    Likes Received:
    0
    Trophy Points:
    30
    I opened C:\Windows\System32\rundll32.exe but nothing happens ..
     
  4. taj619

    taj619 Notebook Consultant

    Reputations:
    6
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    30
    open ur command prompt and type powercfg /hibernate on
     
  5. MaXimus

    MaXimus Notebook Deity

    Reputations:
    432
    Messages:
    1,906
    Likes Received:
    0
    Trophy Points:
    0
    In the command prompt type:

    powercfg –h on
     
  6. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    I think you have to go to Start | All Programs | Accessories then right click on "Command Prompt" and select "Run as Administrator" and then type the command for this to work.

    Gary
     
  7. coolguy

    coolguy Notebook Prophet

    Reputations:
    805
    Messages:
    4,679
    Likes Received:
    12
    Trophy Points:
    106
    As an administrator, you can type the above command just in the start menu search box and click enter. There is no need to open cmd prompt.
     
  8. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    Now that is a cool trick! Didn't realize that was possible.

    Gary
     
  9. surfasb

    surfasb Titles Shmm-itles

    Reputations:
    2,637
    Messages:
    6,370
    Likes Received:
    0
    Trophy Points:
    205
    Yeah, this comes in handy for sure.
     
  10. Hiker

    Hiker Notebook Deity

    Reputations:
    448
    Messages:
    1,715
    Likes Received:
    1
    Trophy Points:
    56
    Not sure if it works in Vista but in XP hitting the shift key turns stand by to hiibernate.
     
  11. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    Only if hibernation is already enabled though.

    Gary
     
  12. booboo12

    booboo12 Notebook Prophet

    Reputations:
    4,062
    Messages:
    4,272
    Likes Received:
    93
    Trophy Points:
    116
    I'm confused, by default, you can't click the right arrow and choose "hibernate"? I know I could in Vista and 7. Odd. Cool trick to know though! :)
     
  13. surfasb

    surfasb Titles Shmm-itles

    Reputations:
    2,637
    Messages:
    6,370
    Likes Received:
    0
    Trophy Points:
    205
    Sometimes it is disabled by default in BIOS.
     
  14. coolguy

    coolguy Notebook Prophet

    Reputations:
    805
    Messages:
    4,679
    Likes Received:
    12
    Trophy Points:
    106
    If you had used disk clean up to delete hiberfile.sys or disabled hibernation from the cmd prompt, this option won't be available from the start menu.
     
  15. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    You can, IF hibernation has not been disabled. The disk cleanup tool will offer to delete the hibernation file and if it does then hibernation is disabled. When that happens you need to do the "powercfg -h on" trick. (There are actually OTHER ways to disable it as well.)

    Gary

    P.S. I just read Rajesh's reply and, as ususal, we are pretty much on the same page. ...big ol' grin...
     
  16. Laptopaddict

    Laptopaddict Notebook Deity

    Reputations:
    9
    Messages:
    817
    Likes Received:
    0
    Trophy Points:
    30
    Gary,


    I did it like you said , the other option didn't work...
     
  17. surfasb

    surfasb Titles Shmm-itles

    Reputations:
    2,637
    Messages:
    6,370
    Likes Received:
    0
    Trophy Points:
    205
    People confusing themselves all in the name of more free space that they won't need.
     
  18. booboo12

    booboo12 Notebook Prophet

    Reputations:
    4,062
    Messages:
    4,272
    Likes Received:
    93
    Trophy Points:
    116
    Ah, completely overlooked/forgot that! I haven't used disk cleanup in ages so yeah. :eek:
     
  19. Laptopaddict

    Laptopaddict Notebook Deity

    Reputations:
    9
    Messages:
    817
    Likes Received:
    0
    Trophy Points:
    30

    Gosh, that hibernation file takes 3 Gig on my SSD...is this normal ?
     
  20. booboo12

    booboo12 Notebook Prophet

    Reputations:
    4,062
    Messages:
    4,272
    Likes Received:
    93
    Trophy Points:
    116
    Yes, because it has to be sized for the amount of memory your system has-when you hit "hibernate" from the start menu, it saves everything running in memory to that hibernation file.
     
  21. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    Well it USED to copy everything. I am beginning to question if that is still the case or not. Here's why.

    1. After I installed Win7 the time it takes to hibernate and wake from hibernation has gone down dramatically. I didn't change the size of memory or put in a faster drive. So why did this happen? I also notice quite a bit of disk IO that occurs AFTER I wake it from hibernation. I/O that it didn't used to do. (I am speculating that MAYBE the OS is only writing specific portions of memory to the HiberFil.SYS. Only the services and DLL's that the OS itself needs and any for whatever apps are loaded. Then all the rest is just marked as needing to be refreshed after the machine wakes up. Again this is ONLY MY SPECULATION, I have ZERO, NADA, ZILCH to back it up. It's only a theory. But it is plausible. Think about it. The OS is using ReadyBoost to prefetch the stuff we MIGHT need soon. But none of that prefetch stuff needs to be written to the hiberfil.sys. That could be fetched again after wakeup. (I suspect this might be what I am observing.)

    2. If you type powercfg -? at a command prompt you get a list of all of the parameters the ones for hibernate are illuminating:

    Code:
      -HIBERNATE, -H
                  Enables-Disables the hibernate feature.  Hibernate timeout is not
                  supported on all systems.
    
                  Usage: POWERCFG -H <ON|OFF>
                         POWERCFG -H -Size <PercentSize>
                  -Size  Specifies the desired hiberfile size in percentage of the
                         total memory. The default size cannot be smaller than 50.
                         This switch will also enable the hiberfile automatically.
    
    Why is that SIZE parameter there? I also remember some discussion early in the Win7 development that compression might be used by the OS when creating the hibernation file. Anyone know if that was implemented or not? It could also account for the speedup, but not the subsequent I/O after wake up.

    Gary
     
  22. Laptopaddict

    Laptopaddict Notebook Deity

    Reputations:
    9
    Messages:
    817
    Likes Received:
    0
    Trophy Points:
    30

    Only what is in RAM memory is saved ?
     
  23. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    What else is there to save???

    Gary
     
  24. surfasb

    surfasb Titles Shmm-itles

    Reputations:
    2,637
    Messages:
    6,370
    Likes Received:
    0
    Trophy Points:
    205
    :facepalm:

    Maybe the programs you are running and stuff.

    Oh wait.....

    :laugh: