Windows 8 Beta aka Consumer Preview has lots of hidden possibilities in it. We’re regularly posting on them since its release. As we all know that Windows 8 Beta doesn’t have direct shut down, lock computer, restart options due to absence of Start Menu and Start Button. Most of users are not adopted till now for these changes.
So today in this article, I’m going to share you the way to add such power options to Desktop context menu using Registry’s manual method. After adding such power options, you can easily preform power operations in a handy way on Windows 8. So here we go:
1. Open the Registry Editor using Windows Key + R combination followed by regedit command. Navigate here:
In left pane, right click on Shell and pick New - > Key. Name the key like Shut Down, Restart etc. Let us assume we name the key as Lock Computer.
2. For previously created Lock Computer key, create two strings in right pane with name icon and Position.
Now right click on icon, select Edit String. Put following Value data for corresponding operations:
For Lock Computer – shell32.dll,-48
For Shut Down - shell32.dll,-28
For Restart – shell32.dll,-290
For Sign Out – shell32.dll,-45
Similarly put Value data Bottom for Position.
3. Now create the sub key under previously created key in step 1 using same procedure. Name this sub key as command.
Click over this sub key, you’ll find Default string in right pane. Right click on it and pick Modify and enter following Value data:
For Lock Computer - rundll32.exe user32.dll,LockWorkStation
For Shut Down – shutdown.exe -s -t 00 -f
For Restart – shutdown.exe -r -t 00 -f
For Sign Out – shutdown.exe -L
That’s it! Exit the Registry Editor, press Windows Key + D to access Desktop. Right click to get results (shown in first image of this post).
How to change default icons?
The above method implements default icons with options. However you can assign different icons using following method:
1. Download IconViewer using below link and install it:
2. Access here:
Now right click on it and pick Properties. In Properties window, switch to Icons tab. Note your favorite icon number after #.
Use this icon number in step 2 of main tutorial (after shell32.dll,-).
Download Direct Registries
For the sake of simplicity and save your time, we’ve created direct registry scripts which will do the same work in seconds. You just need to download and run them. Here are the links:
Click on above downloaded file and run it. You’ll get following prompt:
Press Yes then you’ll get this:
In this way you’ve successfully added your desired power option to context menu.
Hope you guys like the tutorial….. :)
This article was posted in "How To, Troubleshooting, Windows 8'' section by Kapil Arya.
If you enjoyed this article, subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. If you have a Windows, technology article to share, then feel free to send us.