Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Hibernate Shortcut - Create

17 Mar 2011   #10

Windows 7 Ultimate x64, Mint 9

Quote   Quote: Originally Posted by Orbital Shark View Post
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.


My System SpecsSystem Spec
13 May 2013   #11

Windows 7 Home Premimum

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:

Now, I couldn't figure it out what was wrong and why all that happened until I saw this:
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:

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?

My System SpecsSystem Spec
18 May 2013   #12

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1

abc9873 : hiberfil.sys is a hidden/ system file. In command prompt:
dir/ahs  \hiberfil.sys
It has nothing to do with other problem! That's for sure
My System SpecsSystem Spec
23 Nov 2014   #13

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1

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?

My System SpecsSystem Spec

23 Nov 2014   #14

64-bit Windows 10 Pro

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 System SpecsSystem Spec
24 Nov 2014   #15

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1

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 System SpecsSystem Spec
24 Nov 2014   #16

64-bit Windows 10 Pro

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.

@echo off
echo Your message here
timeout /t 30 /nobreak
shutdown -h -f
My System SpecsSystem Spec
24 Nov 2014   #17

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1

thx - I will try that in the morning, g'night.
My System SpecsSystem Spec
24 Nov 2014   #18

64-bit Windows 10 Pro

You're most welcome. Goodnight. :)
My System SpecsSystem Spec
24 Nov 2014   #19

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1

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 Images
Hibernate Shortcut - Create-pwrgr.png 
My System SpecsSystem Spec

 Hibernate Shortcut - Create

Thread Tools

Similar help and support threads
Thread Forum
Shortcut to create shortcut
Is it possible to press any combination of keys on a keyboard to run shortcut creation wizard? If it is possible please suggest me what to do. I have revealed "Ctrl + Shift + N" to create folder so I am looking how to quickly run shortcut creation wizard.
General Discussion
Unable to create shortcuts in startup folder "cannot create shortcut"
I am unable to create a shortcut in the startup folder on my Dell Optiplex 780. Every time I try, I get the following error, "Windows cannot create a shortcut here. Do you want to place the shortcut on the desktop instead?" No I do not want it on the desktop, I want the program to start with...
General Discussion
Can I create and use a Hibernate partition ?
From what I've read and know, I always believed the Windows Hibernate file must be on the partition. In this thread it seems there can be a "Hibernate Partition" (for a Dell OEM PC): Can...
General Discussion
Custom 'Desktop (create shortcut)' Remove .fileextension - Shortcut
Hi guys n girls, I have for ever got sick and tired of right click -> open Send to Menu and creating a Desktop Shortcut for a file or app....then needing to go to the Desktop right click the newly made shortcut and then removing the trailing file extension, dash and words shortcut in brackets....
Create a System Image Shortcut - Create
How to Create a "Create a System Image" Shortcut in Windows 7 This will show you how to create a Create a System Image shortcut in Windows 7. To be able to use this shortcut, you must be logged in as an administrator. EXAMPLE: Create a System Image

Our Sites

Site Links

About Us

Find 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 18:03.
Twitter Facebook Google+