How to Add Shutdown And Restart Options To The Taskbar Context Menu [Windows 8]

Microsoft seems to have a habit of adding features to Windows 8 that it never mentions. For example, you can right-click the bottom left-hand corner of your screen to get a context menu that takes you to places such as your task manager and control panel. This is useful, especially considering the workarounds you’d have to go through in order to get to these places otherwise. However, there’s no option to shut down the computer or restart it there, which can be utterly frustrating since you normally do this through the charms bar under power options. Considering this, I think it’s time to show you a way to add these options to the taskbar context menu.

Once you add the ability to shut down and restart the computer, you’ll be tempted to restart over and over again just to play with the new toy! It’s very relieving not to have to take an extra few steps to actually turn off your machine. It’s not a tablet, after all.

For the first part of this tutorial, you’ll have to create the shutdown and restart shorcuts on your desktop. This is how the whole process works:

First, right-click the desktop (in an empty area), hover the mouse over “New,” and click “Shortcut.”

win8shutdown-shortcut

When taken to the new window, type 

shutdown.exe -s -t 00

under “Type the location of the item.” This will tell the computer to shut down immediately. After clicking “Next,” you must write a name for the shortcut. Write “Shut Down” or anything else creative that you think you might remember. Clicking “Finish” will create the shortcut. 

For restarting the computer instead of shutting down 

you must use the following command:

shutdown.exe -r -t 00 

as the target location. Additionally, you can type

rundll32.exe user32.dll,LockWorkStation

to lock your computer and

rundll32.exe powrProf.dll,SetSuspendState

to hibernate. As previously mentioned, these things are harder to reach than in Windows 7. These new shortcuts will make them easier.

Since it’s sufficiently complicated to add an item to the context menu, you might want to use a third-party tool for this. I’d recommend using the Win+X Menu Editor. It’s a very trustworthy tool. I’ve tested it sufficiently and can vouch for its ability to do its job!

The interface will look something like this:

win8shutdown-winxeditor2

You’ll notice there are three buttons: “Add a program”, “Create a group”, and “Remove”. With the “Add a program” button, you can add the shortcuts to your shutdown and restart commands. Right-clicking on a group, highlighting “Add,” then clicking “Add a program” (or pressing the “Insert” key on your keyboard) will allow you to do the same. “Create a group” will simply introduce a separator into the context menu.

So now, just select “Add a program,” browse to your shortcut, and double-click it. That’s all you have to do! After you’re done, click “Restart Explorer” near the bottom of the interface. This makes the context menu reset itself with the new configuration. Try it out now!

If you’re having trouble with this process, let us walk you through it! Leave a comment below!