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 command works fine but keyboard shortcut not, any help?

12 Feb 2014   #1

windows 7 Ultimate x64
sleep command works fine but keyboard shortcut not, any help?

Hi there. I created a shortcut with this command:
C:\Windows\System32\rundll32.exe Powrprof.dll,SetSuspendState Sleep
when I click on that, it works fine but shortcut keyboard not work.
I set several shortcut keys in this shortcut but nothing works fine. (note: when I press ctrl key it display ctrl+alt, when I press alt key it display ctrl+alt also and win key not work at all). for example I set ctrl+shift+n but this not work.
any help?

(sorry for bad english )

My System SpecsSystem Spec
12 Feb 2014   #2

Windows 7 32 bit

I believe shortcut hotkeys only work if the shortcut is on the desktop or in the start menu. Adding control to alt or alt to control is likely to avoid conflicts with already assigned hotkeys.

A more versatile way is AutoHotkey

Or you can get free programs that let you assign programs or files to run when you hit a hotkey. They usually either allow you to type the hotkey in, or choose the combinations from dropdown lists.

Check freeware sites like filehippo, softpedia, snapfiles etc..
My System SpecsSystem Spec
12 Feb 2014   #3

windows 7 Ultimate x64

I thought that too. I will check that, thanks.
My System SpecsSystem Spec


 sleep command works fine but keyboard shortcut not, any help?

Thread Tools

Similar help and support threads
Thread Forum
How to add parameter to run command keyboard shortcut
Thanks to the SevenForums tutorial at: I know how to create a desktop shortcut for the run command, and can pin it to the taskbar. I thought I could add a parameter by clicking on the end of the Target line in the...
General Discussion
Second monitor flickers, but works fine after sleep
I installed my old ASUS EAH 4670 video card in my new desktop so that I could use dual monitors. My second monitor (VGA) flickers whenever I use my mouse. The problem is solved and the monitor works fine if I let the CPU go to sleep and then wake it up. I have tried twitching monitors and always...
Hardware & Devices
screen works fine in 1280x1024 but goes to sleep on 1440x900
Hi, New to this forum and i really need help with my dual screen. I connect my laptop (HP Pavilion dv6 notebook pc) to my monitor (HP w1707) with the ''extend these displays'' options it works fine on 1280x1024 resolution but the image looks very wide! i want to change the resolution to...
Graphic Cards
Netbook can't resume from sleep BUT works fine from hybernation
hi there guys, i have a bit of "weird" problem, that is, my netbook cannot resume properly from sleep BUT hybernation works fine. and the strange thing is, it was a while, lets say couple of months i didnt use sleep mode which used to work perfectly, all latest security updates have been done,...
Performance & Maintenance
Keyboard/Mouse wake up from Sleep no longer works
Something has recently changed and I can no longer wake up my Win7 Ultimate PC from Sleep state using mouse movement or "Sleep" button on multimedia keyboard. I have to push the power button on the PC itself. This worked fine up until a few days ago. I did not make any changes to the power...
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 01:04.
Twitter Facebook Google+