Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Reply
 
LinkBack (1) Thread Tools Display Modes
Old 13-03-2011, 06:03 AM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
True Techie
 
nithinks's Avatar
 
Join Date: Apr 2005
Posts: 260
Arrow Add right-click context menu entry for shutdown from desktop


Original Tutorial : Add right-click context menu entry for shutdown from desktop | My Tech Yard

How about having a Right Click menu to shut down ? After a lot of trial and errors , I was able to find this.

This tutorial explains you how you can change registry entries to create a new right click context menu entry to shutdown the system. After registry changes, your desktop context menu looks like this



Editing registry entries can be risky, follow the mentioned steps properly , else, if you get confused in between, revert the changes and close the registry editor

Steps :

– First, open the registry editor : Start Menu -> Run : type regedit , You should see the following main keys



– Expand the key, HKEY_CLASSES_ROOT , Then Search for “Desktop” : Expand the key showed below (shell)



Please note that , some of the desktop context menu entries are visible under this key, You can verify if you have selected the correct key by cross checking the sub-keys with the desktop context menu entries, Also this tutorial has been tested in Windows 7, Please use the proper desktop key whatever available in your operating system , and verify the sub-keys.

– Expand Shell, and notice few desktop context menu entries. Right click on Shell, and select NEW->Key



– Name the key as “Shut Down”

– Expand newly created key “Shut Down” and create one more key under “Shut Down” , name this key as “command”



– Double click on command key, on the right panel, you will see “Default” value for this key, Double click on “Default“.

– Change the value to “shutdown -p” as shown in the above picture, and click on OK.



– Close the registry editor.

Now , right click on the desktop, you should see the option for shut down, click the option to shutdown the system.
__________________
http://www.mytechyard.com/

Last edited by nithinks; 13-03-2011 at 06:05 AM. Reason: Icon missing
nithinks is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 09-05-2011, 08:57 PM   #2 (permalink)
FUBAR.
 
KDroid's Avatar
 
Join Date: Mar 2010
Location: Indore
Posts: 727
Default Re: Add right-click context menu entry for shutdown from desktop

Interesting Post!
__________________
Inactive. For a year.
Twitter
KDroid is offline   Reply With Quote
Old 09-05-2011, 09:37 PM   #3 (permalink)
Stuck in Time...
 
Vyom's Avatar
 
Join Date: May 2009
Location: Land of Logic
Posts: 2,278
Default Re: Add right-click context menu entry for shutdown from desktop

I use shortcut to shutdown.

Steps:
1. Just right click on desktop and click New -> Shortcut
2. Enter location as, "shutdown -s -f -t 0" and Click Next
3. Write name for shortcut, like, well, "Shutter Down"
4. Click Finish.

All set to double click, and voila, system shuts down.
__________________
Marty: Hey, Doc, we better back up. We don't have enough road to get up to 88.
Doc Brown: Roads? Where we're going, we don't need, "roads!" :)

──── On the Internet you can be Anything you want. It's Strange that, so many people choose to be Stupid! ────
Vyom is online now   Reply With Quote
Old 23-07-2011, 04:48 PM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: Jul 2011
Posts: 4
Default Re: Add right-click context menu entry for shutdown from desktop

the steps for one are written with reference to VISTA/WINDOWS 7.... wot if i want to do the shutdown feature iN WINDOWS Xp....


i tried the way it was written in the post on my machince which is running on Win Xp... but in HKEY_CLASSES_ROOT ... i didnt find any DESKTOP folder..


please reply...
sarthkhopkar is offline   Reply With Quote
Old 28-08-2011, 07:12 PM   #5 (permalink)
Learn & Earn
 
puneetgarg's Avatar
 
Join Date: Jun 2009
Location: Tutorialization
Posts: 155
Default Re: Add right-click context menu entry for shutdown from desktop

thanks for the info!
__________________
яєѕρє¢т ιѕ єνєяутнιηg
puneetgarg is offline   Reply With Quote
Old 28-08-2011, 07:27 PM   #6 (permalink)
Stuck in Time...
 
Vyom's Avatar
 
Join Date: May 2009
Location: Land of Logic
Posts: 2,278
Default Re: Add right-click context menu entry for shutdown from desktop

Quote:
Originally Posted by sarthkhopkar View Post
the steps for one are written with reference to VISTA/WINDOWS 7.... wot if i want to do the shutdown feature iN WINDOWS Xp....


i tried the way it was written in the post on my machince which is running on Win Xp... but in HKEY_CLASSES_ROOT ... i didnt find any DESKTOP folder..
Assuming that you were referring to MY post, I was referring Desktop, as in Real Computer Desktop, where all your folder and files icons are there. (on which resides the wallpaper, and which comes after you log on).
__________________
Marty: Hey, Doc, we better back up. We don't have enough road to get up to 88.
Doc Brown: Roads? Where we're going, we don't need, "roads!" :)

──── On the Internet you can be Anything you want. It's Strange that, so many people choose to be Stupid! ────
Vyom is online now   Reply With Quote
Old 19-12-2011, 06:35 AM   #7 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default Re: Add right-click context menu entry for shutdown from desktop

^^ sarthkhopkar was not able to find the DesktopBackground key in registry like nithinks has mentioned on his tutorial so he asked for the location of the key in Xp os

@ nithinks - nice tute - Thanks for sharing
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline   Reply With Quote
Old 19-12-2011, 12:39 PM   #8 (permalink)
Off for a while.
 
dashing.sujay's Avatar
 
Join Date: Nov 2009
Location: Bhopal
Posts: 2,653
Default Re: Add right-click context menu entry for shutdown from desktop

Quote:
Originally Posted by vineet369 View Post
I use shortcut to shutdown.

Steps:
1. Just right click on desktop and click New -> Shortcut
2. Enter location as, "shutdown -s -f -t 0" and Click Next
3. Write name for shortcut, like, well, "Shutter Down"
4. Click Finish.

All set to double click, and voila, system shuts down.
I just use win+Z . Too lazy to click shortcut
__________________
Sony Vaio CB35-> i5-2430M | 6630M | 4GB | 1080p | Backlit Keyboard

Read before asking / messaging any moderator for any query: FAQ + answers for new members

Drop Box: Get 500MB free

dashing.sujay is online now   Reply With Quote
Old 20-12-2011, 03:58 AM   #9 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default Re: Add right-click context menu entry for shutdown from desktop

^^ Nice trick but I think that only works on win 7 - will test it when I will be on Win 7 again
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline   Reply With Quote
Old 20-12-2011, 02:42 PM   #10 (permalink)
Off for a while.
 
dashing.sujay's Avatar
 
Join Date: Nov 2009
Location: Bhopal
Posts: 2,653
Default Re: Add right-click context menu entry for shutdown from desktop

^^No it can be made to work on XP also. The thing is AFAIK windows doesn't allows define global hotkeys starting with "windows" key. You can just use Ctrl+Alt+X combination, and that too for a shortcut. So, I use a 3rd party to force global hotkey. Whichever you want. Even you can override Win+R key.

You can try WinHotKey, AutoHotKey.
__________________
Sony Vaio CB35-> i5-2430M | 6630M | 4GB | 1080p | Backlit Keyboard

Read before asking / messaging any moderator for any query: FAQ + answers for new members

Drop Box: Get 500MB free

dashing.sujay is online now   Reply With Quote
Old 21-12-2011, 04:57 AM   #11 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default Re: Add right-click context menu entry for shutdown from desktop

^^ Ok.. thanks for the software names .. will try out these for sure
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline   Reply With Quote
Old 21-12-2011, 03:33 PM   #12 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Add right-click context menu entry for shutdown from desktop

Thanks. Actually you can add any desired program shortcut in Desktop context menu with an icon using this method. I posted a detailed tutorial at AskVG in past about the whole process:

How to Add Program Shortcuts and Useful Shortcuts with Icons in Windows Desktop Context Menu?

It might come very useful many times. You can add shortcut to System Properties, Registry Editor, Task Manager, Web browser, Media player, anything which you frequently use.
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline   Reply With Quote
Old 23-12-2011, 08:01 PM   #13 (permalink)
True Techie
 
nithinks's Avatar
 
Join Date: Apr 2005
Posts: 260
Default Re: Add right-click context menu entry for shutdown from desktop

^^ VG : thanks for the link ! and again, Im a big fan of your blog
__________________
http://www.mytechyard.com/
nithinks is offline   Reply With Quote
Old 23-12-2011, 08:51 PM   #14 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Add right-click context menu entry for shutdown from desktop

^^ Thanks.
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/tutorials/137937-add-right-click-context-menu-entry-shutdown-desktop.html
Posted By For Type Date
Add right-click context menu entry for shutdown from desktop - Digit Technology Discussion Forum This thread Refback 13-03-2011 07:46 AM

 
Latest Threads
- by Who
- by Krow
- by clmlbx
- by Tech&ME
- by icebags

Advertisement




All times are GMT +5.5. The time now is 08:52 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2