Hibernate Shortcut - Create

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 6,885
    Windows 7 Ultimate x64, Mint 9
    Thread Starter
       #10

    Orbital Shark said:
    I've just spent 15 minutes putting together a pack to create a tutorial only to see this live post just as I'm about to start work on it. Nice find...Searches work wonders these days ops:
    Haha, this has been here for a while, I had forgotten about it until he posted.

    ~Lordbob
      My Computer


  2. Posts : 13
    Windows 7 Home Premimum
       #11

    Hi lordbob

    I used your steps above to create a shortcut about a month or 2 months ago. But I forgot to do the Step 5, right which I just found out today. And, since then I think I've using that shortcut just to save time when turning my laptop on.

    But yesterday I think, my mum mistakenly switched off my laptop by doing Shut Down which should be a problem normally but in my case, that turned out to be a big massive problem.

    Here's the problem I had:

    Code:
    https://www.sevenforums.com/bsod-help-support/289794-blue-screen-death-unmountable-boot-volume.html
    Now, I couldn't figure it out what was wrong and why all that happened until I saw this:
    Code:
    http://ittechsolution.com/hibernation-advantage-and-disadvantage
    See the 2nd Disadvantage of Hibernation.

    Now, I dunno why but I cannot see this Hiberfil.sys in my C drive at all. So I cannot see what's in it or how big it is, so what I did just now is followed your post from here:

    Code:
    https://www.sevenforums.com/tutorials/819-hibernate-enable-disable.html
    Now, I have disabled the Hibernation by the Command Prompt Method, deleted that shortcut as well. I have just rebooted my laptop and waiting for it to turn on and see how it goes. As it is running very very very slow.

    Never had any problem like that at all in my life. And it is doing my nut-in tbh.

    Would you mind to have a look at my problem please?

    Cheers
      My Computer


  3. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #12

    abc9873 : hiberfil.sys is a hidden/ system file. In command prompt:
    Code:
    dir/ahs  \hiberfil.sys
    It has nothing to do with other problem! That's for sure
      My Computer


  4. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #13

    I would like the option of a 30 second delay w/message for use of an abort, similar to the option available for the shutdown shortcut tutorial. Is this possible with hibernate and how can I do this?

    -thx
      My Computer


  5. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #14

    Hey Marc,

    You could use the command below to create the shortcut with. Of course, you'll need to have hibernate enabled. :)

    shutdown -h -f -t 30 -c "Your message here up to 512 characters"
      My Computer


  6. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #15

    No joy Shawn. Even tried variations on your command such as adding .exe to 'shutdown' and adding the full path such as C:\Windows\System32\... .

    All that happens is a quick appearance of a command prompt. No message, no shutdown/hibernate, nada.
      My Computer


  7. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #16

    It appears the -h and -t switch can't be used together.

    If you like, you could create a .bat file using the command below to effectively do the same.

    Code:
    @echo off
    echo Your message here
    timeout /t 30 /nobreak
    shutdown -h -f
    Last edited by Brink; 24 Nov 2014 at 20:22. Reason: update
      My Computer


  8. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #17

    ^
    thx - I will try that in the morning, g'night.
      My Computer


  9. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #18

    You're most welcome. Goodnight. :)
      My Computer


  10. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #19

    Shawn, the .bat file works perfectly, thx. This causes the appearance of a command prompt providing a y/n option to abort. This abort option in addition to a countdown display is way cool and I have no need of the message in this case.

    However, I would like to control hibernation abort via an alternate route. Attached is a screen shot of a taskbar nested stack which contains my power management choices ('a work in progress'). Basically I am replacing the old windows power gadget with this. The shortcuts shown are as per the tutorials from the forums here. The restart & shutdown have a 30 second delay and I like the default pop-up warning (it would be way cool if the pop-up displayed a countdown, so I will probably be posting a request for this 'enhancement'). I added the abort button for these and would like to stay consistent with the hibernate and have it also recognize the abort button (using this .bat file the abort button does not function). I really like that abort button!

    If this proves too complex or not possible I can 86 that abort button as long as I can get that same 'command prompt pop-up with abort y/n, countdown' option for the shutdown and restart. Would this .bat file serve as a template for this?
    Attached Thumbnails Attached Thumbnails Hibernate Shortcut - Create-pwrgr.png  
      My Computer


 
Page 2 of 3 FirstFirst 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:18.
Find Us