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: Sleep Shortcut - Create

28 Aug 2010   #10
Brink

64-bit Windows 10 Pro
 
 

Yep, those are them.

Ok. I think I know what is happening now. The only way that I can recreate getting the "Shut Down Windows" Dialog box while using the shortcut is if the VBS file was not unblocked in step 5. Double check in the "Sleep Shortcut" folder in "Program Files" to see if the Sleep.vbs is unblocked.


My System SpecsSystem Spec
.
28 Aug 2010   #11
magoood

Windows 7 x64
 
 

hi again, the vbs is not blocked at all because I can use it directly by clicking it. Better yet, I placed it in the program files and then I assigned a key on my keyboard for it (using IntelliType software) so that I can use right away without the need of any shortcuts or whatever. Just a click of a button on my keyboard and I should get standby but for some reason it is not working. What is only working perfectly is a hibernate.exe file which I downloaded from somewhere a long time ago.
My System SpecsSystem Spec
28 Aug 2010   #12
Brink

64-bit Windows 10 Pro
 
 

Strange, I just cannot get it to give me the "Shut Down Windows" Dialog box except as above with step 5 not being unblocked no matter what setting I use.

I'm not sure what else to suggest.
My System SpecsSystem Spec
28 Aug 2010   #13
magoood

Windows 7 x64
 
 

Quote   Quote: Originally Posted by Brink View Post
Strange, I just cannot get it to give me the "Shut Down Windows" Dialog box except as above with step 5 not being unblocked no matter what setting I use.

I'm not sure what else to suggest.
Never mind, You tried your best to help and for sure not all of us are lucky. Thanks for all your efforts. I will research this issue for a while and if I came up with an answer, I'll post it here for reference.
My System SpecsSystem Spec
.

28 Aug 2010   #14
Brink

64-bit Windows 10 Pro
 
 

If I come across anything else, I'll be sure to post back with it for you as well.
My System SpecsSystem Spec
30 Aug 2010   #15
magoood

Windows 7 x64
 
 

I found out that the vbs file works just fine if I use it directly by clicking it with the mouse but it was not working if I assiged it to a free key on my keyboard (Using the IntelliType Pro) software. I think it's because the free keys I have on my keyboard can be programmed to work only with executable files i.e. launch executables.

In brief, it's my keyboard limitation and/or Microsoft's IntelliType Pro limitation and not the script.

If it's possible to package that vbs file in an exe file, that would be great
I have a hibernate.exe file that I downloaded long time ago and it works like a charm after dedicating a key for it on my keyboard.

P.S. For people to know what exactly I'm talking about, I'm using a keyboard called "Microsoft Digital Media keyboard 3000" which has 5 buttons labelled from 1 to 5 for me to program as I want using the "IntelliType Pro" Software.
My System SpecsSystem Spec
30 Aug 2010   #16
Brink

64-bit Windows 10 Pro
 
 

Magoood,

Ah, good. I'm glad that you found the source of the problem. Thank you for posting back with this.

As far as a command, you could use the command below from Option Two (Method Two) in a BAT or CMD file, but you would also have to disable hibernate.

rundll32.exe powrprof.dll,SetSuspendState
My System SpecsSystem Spec
20 Nov 2014   #17
MourningStar

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

So, there is no way to have a sleep shortcut AND the hibernate option available via Start > Shutdown > Hibernate?

or have I overlooked something here?

-thx
My System SpecsSystem Spec
20 Nov 2014   #18
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by MourningStar View Post
So, there is no way to have a sleep shortcut AND the hibernate option available via Start > Shutdown > Hibernate?

or have I overlooked something here?

-thx
Did you try Method One? It should.
My System SpecsSystem Spec
20 Nov 2014   #19
MourningStar

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

Quote   Quote: Originally Posted by Brink View Post
Quote   Quote: Originally Posted by MourningStar View Post
So, there is no way to have a sleep shortcut AND the hibernate option available via Start > Shutdown > Hibernate?

or have I overlooked something here?

-thx
Did you try Method One? It should.
My understanding of Method One is that the process replaces power button 'Shutdown' with 'Sleep' and I do not want to be without that 'Shutdown' option. Dang, I have misworded my OP.

What I want is a pure standalone Sleep shortcut that I can pin to the taskbar, while leaving all else as is.
My System SpecsSystem Spec
Reply

 Sleep Shortcut - Create




Thread Tools




Similar help and support threads
Thread Forum
create sleep task, to force sleep over a program ?
Hello, I would like to know how to create a task in task scheduler , that'll force the computer into sleep over a running program. Basically, I have some software that runs in the background called 'WD anywhere backup' and when this software is running it prevents the computer from...
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....
Customization
Create shortcut
How do I create a shortcut to my desktop, so that the Windows explorer will open up the selected library in the 'my documents' section? Of course there is no "create shortcut" button when I right click on the library.
General Discussion
How to create Shortcut 'SED' instead of 'SED.exe - Shortcut'?
I often have to create Shortcuts to executable code. I used https://www.sevenforums.com/tutorials/804-shortcut-extension-remove-restore.html to getSED.exe instead of the Win7 default SED.exe - Shortcutas name of the newly created shortcut. But I would prefer to have just 'SED'. Any way to do...
General Discussion
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
Tutorials
Sleep problem; Goes into deeper sleep w/shortcut
I have a notebook connected to a monitor with external mouse/keyboard. When I put the notebook to sleep via the Start menu or the keyboard, it is able to wake out of it by moving the mouse around or pressing a key. However, when I create a shortcut to it for Windows Task Scheduler to enter...
General Discussion


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 20:00.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App