Windows 8 and 8.1 Forums


Help with W8 Shortcuts

  1. #1


    Posts : 2
    Windows 8

    Help with W8 Shortcuts


    Hey all,

    I recently made 2 keyboard shortcuts (CTRL+Alt+ [S/W])...

    One runs rundll32.exe powrprof.dll,SetSuspendState to sleep the PC, and the other is a batch file to activate private wireless broadcasting.

    Both files work perfectly when I click them (they are on desktop), and right after I have set the keyboard shortcut (i.e after I have clicked through Properties, and set the keyboard shortcut), they work via the keyboard too.

    However, once the PC awakens from sleep, the keyboard shortcuts no longer work (although they did before the sleep). The only way to make the keyboard shortcuts function again is to re-set them in the Properties of the files (although it is worth noting that the properties displays the shortcuts as still being present, despite their sudden loss of function).

    Why does this happen? I want to make it so the keyboard shortcuts work all of the time.

    Any help is much appreciated!

      My System SpecsSystem Spec

  2. #2


    Posts : 2,191
    Windows 8.1


    Just tested making a shortcut (as you described) to execute a batch file (CTRL + ALT + W):

    Laptop 8.1 - Works before and after sleep (manually invoked)
    Desktop 8.0 - Same as above

    Longshot - Any chance you disabled the hibernate function and completely removed the hiberfil.sys file via "powercfg /h off"?
      My System SpecsSystem Spec

  3. #3


    Posts : 2
    Windows 8


    yes, I disabled hibernate. But the problem persists with it enabled too, the PC just hibernates instead of sleeping.

    As for getting it to work, it seems to work 'better' using CTRL + F12 for some reason. It still stops working (seemingly at random) sometimes, but it works maybe 3/5 times now.

    For the batch file, to get that to work I had to place the batch file in system32 (not sure if location is important, I put mine in the start menu and set it to hidden), make a shortcut to it, run the shortcut as admin, give that shortcut a keyboard shortcut, then it worked... now this works all of the time. Weird, eh?
      My System SpecsSystem Spec

  4. #4


    Posts : 2,191
    Windows 8.1


    yes, I disabled hibernate. But the problem persists with it enabled too, the PC just hibernates instead of sleeping.
    We could talk about this a bit more but I'm just going to say "Glad you found a solution." Good luck.
      My System SpecsSystem Spec

Help with W8 Shortcuts
Related Threads
machine: Dell XPS15 2014 with Windows 8.1 Windows 8 seems to have keyboard shortcuts that conflict with some software shortcuts. I found this out when, using MS-Word, I hit the Ctrl + F1 shortcut, which toggles the ribbon, up to Windows 7. Thanks to Windows 8, what this shortcut does is...
Specifically I want to change fn+enter (the enter on the num pad). When I press fn+enter on my keyboard it opens the calculator, which I like, however I have just upgraded from windows 8 to 8.1. In windows 8 fn+enter opened the original calculator that has been on windows for quite some time, but...
I have removed the shortcuts from the new menu by mistake by menu editor and i created new one but doesnt prompt to choose a file. Pls see. Thanx 33924
Solved Desktop shortcuts in General Support
How do I create a desktop shortcut for an application listed in the Start (ALL APPS) list in Windows 8? I use Firefox and G-mail Thanks to anyone who helps a 75-yr-old beginner.... Joe Busuttil
Solved A folder for shortcuts in General Support
Hi guys, Is it possible to create shortcuts & place these into a folder i.e. a folder of shortcuts. e.g. I work with Audio files & want to group them so when I open My DAW I can see one folder in the browser with all the shortcuts there. I'm sorry I am a windows newb & appreciated any...
create shortcuts in Browsers & Mail
How do I save my short cuts to my windows 8 ..
Shortcuts to Startup? in General Support
I've searched through pages of entries but did not see this. I want to use a shortcut that contains command line options for pageant and have it start when my system boots/I log on. But I can't figure out how to get anything but apps into startup. Is this even possible anymore? I...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook