Add shutdown, reboot to Windows 8 WinX menu

Maybe you like me and found it a bit too much clicking to do a simple shutdown or reboot  in Windows 8 CP. Fortunately there is this nice menu (called WinX menu by other bloggers) in the left bottom corner that pops up when you do a right click. It has tons of useful commands for power users and would be a nice fit for a shutdown/reboot command as well.

image

The menu is driven by a specific folder structure and shortcuts that live under your user profile in %LOCALAPPDATA%\Microsoft\Windows\WinX. Each folder in the WinX folder groups the commands in the menu and generates a menu separator in the UI of the menu.

image

Now that we know that, it’s easy to add our own commands there. We create a new folder called Group4 and place two shortcuts into the new folder. For shutdown and reboot we use the shutdown.exe located in System32.

imageimage

Actually we good to go but the newly created links will not show up even after a re-login. The reason for that is an approval mechanism Microsoft build in to avoid arbitrary links in the WinX menu. You can read more about that topic here http://www.withinwindows.com/2012/04/04/windows-8-secrets-the-winx-menu-and-its-hashing-algorithm/. The author also provides a nice tool to make our links approved links which can be downloaded here http://www.withinwindows.com/files/uploads/2012/04/hashlnk_vs2010.zip. In order to perform our final step we have to extract the downloaded hashlnk.exe and open a command prompt. The program takes the link to approve as a parameter, hashlnk.exe %LOCALAPPDATA%\Microsoft\Windows\WinX\Group4\Reboot.lnk

image

Here we go, after the next login we can perform shutdown and restart right from the WinX menu.

image

9 thoughts on “Add shutdown, reboot to Windows 8 WinX menu

  1. This is the perfect website for anyone who hopes to find out
    about this topic. You know so much its almost tough to argue with you (not
    that I personally would want to…HaHa). You certainly put a fresh spin
    on a topic that has been discussed for many years.
    Great stuff, just excellent!

  2. Thanks for the writeup, that’s very useful. Right clicking in the bottom left corner also brings up the menu.

    PS: I’m 99% certain the first comment (“perfect website about this topic”) was left by a spam bot🙂

  3. It may be me or it may be Gates, but this do not work for me. I have a Norwegian version of Windows 8 Pro installed, I have reread the instructions time and time again to uncover any misdiong on my side, but I can’t see any.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s