21st September 2012, 06:55 PM
(Last edited by SkyKOG; 19th October 2012 at 04:51 PM .)
Reason: Added "teh file remover" to remove effects of "teh file" :)
Senior Member -
OP
Thanks Meter
128
Posts: 135
Join Date: Mar 2012
Location: India
Shutdown & Restart on Right Click ...
Well copy this in notepad and save as a .reg file on execution u'll get right Shutdown, Restart, Lock & Sleep in your right click context menu
... avoiding the long hassle of going to the charms bar
....
Flyout Version ...
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Lock Computer]
"icon"="shell32.dll,-325"
"Position"="Bottom"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Sleep Computer]
"icon"="shell32.dll,-331"
"Position"="Bottom"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Computer]
"icon"="shell32.dll,-221"
"Position"="Bottom"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Shutdown Computer]
"icon"="shell32.dll,-329"
"Position"="Bottom"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Lock Computer\command]
@="Rundll32 User32.dll,LockWorkStation"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Sleep Computer\command]
@="rundll32.exe powrprof.dll,SetSuspendState 0,1,0"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Computer\command]
@="shutdown.exe -r -t 00 -f"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Shutdown Computer\command]
@="shutdown.exe -s -t 00 -f"
PS : Attached the .reg file too for lazy ppl :P ...
Hope i could help
...
Update : Added Sleep And Lock Options ... And Flyout Version(Credits : Vishal & Leomate)
Regards
The Following 88 Users Say Thank You to SkyKOG For This Useful Post: [ Click to Expand ]
Волк (3rd November 2012),
a4rocks (6th October 2012),
ac3theone (14th November 2012),
alexvillas (4th October 2012),
AlonB. (30th November 2012),
A_U (5th October 2012),
b0uNz (13th November 2012),
BaKaLaEr0 (16th December 2012),
bielperez (15th October 2012),
bigsmitty64 (5th November 2012),
bloggs (12th October 2012),
capriciousmike (15th October 2012),
caribes1 (4th May 2013),
CHEBURASH (5th October 2012),
Chimpdaddy (6th October 2012),
cx1 (4th October 2012),
Donny1987 (3rd October 2012),
dounowhoiam (5th October 2012),
drziddo (4th October 2012),
Fallon9111 (5th October 2012),
flamenco7641 (22nd November 2012),
flixblixclix (22nd November 2012),
geek4u86 (22nd September 2012),
Ghost (22nd September 2012),
gowthamachandran (25th October 2012),
hanifh (8th November 2012),
HeNaFi (12th November 2012),
hugmys0ul (4th October 2012),
iBuzman (22nd October 2012),
Incoo (4th October 2012),
indiamachi (6th October 2012),
Itanius (11th November 2012),
Jaglicic (22nd September 2012),
jasparagus (14th January 2013),
JonnyPJohnston (27th November 2012),
jpkjpk (4th October 2012),
k7-3d (17th October 2012),
KingWickedd (6th October 2012),
kishankpadiyar (22nd November 2012),
lacer4576 (25th October 2012),
latingonzo86 (11th November 2012),
Leontas (3rd November 2012),
lesscro (5th October 2012),
lordcirus (4th November 2012),
Love Lumia (25th November 2012),
Luca Brasi09 (21st October 2012),
luigi311 (17th October 2012),
m00f (4th November 2012),
m3nster (29th September 2012),
MadJoe (4th December 2012),
maerdance (5th October 2012),
manishrewa (20th November 2012),
martyj999 (31st October 2012),
melander (5th October 2012),
miguel.b (23rd November 2012),
n3xas (5th November 2012),
NuriJ (5th October 2012),
okhandel (21st November 2012),
omegastarr (5th October 2012),
peschka (4th October 2012),
RakOne (5th October 2012),
rommy667 (11th November 2012),
S112 (11th November 2012),
sammael1069 (5th October 2012),
santo.81 (25th November 2012),
shivamchinu (18th October 2012),
Siberian Tiger (13th April 2013),
sihag (3rd January 2013),
Sivaguru (13th April 2013),
sksmohamed (9th June 2013),
soham_sss (6th October 2012),
sonubhardwaj1180 (6th November 2012),
splatoid (18th November 2012),
spond121 (12th February 2013),
sswb27 (4th October 2012),
techops (11th November 2012),
terrormattie (4th October 2012),
TheBohush (5th March 2013),
thedudejdog (11th November 2012),
the_scotsman (25th September 2012),
Tintinnuntius (20th October 2012),
tiwas (13th November 2012),
Turney (9th October 2012),
victorator (7th November 2012),
WaveMaster1406 (14th October 2012),
xadzshock (8th November 2012),
younggeek1 (1st December 2012),
zenosteam (14th December 2012)
21st September 2012, 07:48 PM
Senior Member
Thanks Meter
16
Posts: 272
Join Date: Jan 2011
dude you rock! At last no more charm bar!
The Following User Says Thank You to duk3r For This Useful Post: [ Click to Expand ]
21st September 2012, 11:43 PM
Senior Member -
OP
Thanks Meter
128
Posts: 135
Join Date: Mar 2012
Location: India
Quote:
Originally Posted by
duk3r
dude you rock! At last no more charm bar!
Glad u liked
...
The Following User Says Thank You to SkyKOG For This Useful Post: [ Click to Expand ]
23rd September 2012, 08:17 AM
Member
Thanks Meter
7
Posts: 45
Join Date: Oct 2010
Is it possible to put these into the menu that appears by right clicking in the bottom left corner?
23rd September 2012, 07:09 PM
Senior Member -
OP
Thanks Meter
128
Posts: 135
Join Date: Mar 2012
Location: India
Quote:
Originally Posted by
TotalD3str4ct
Is it possible to put these into the menu that appears by right clicking in the bottom left corner?
Umm ... this is much simple i felt as u can right click conveniently anywhere on the desktop and switch off ...no need for the long process of going through the charms bar or even the metro tiles
...
25th September 2012, 01:14 PM
Assistant Forum Admin / Moderator Committee / XDA News Writer
Thanks Meter
6253
Posts: 20,413
Join Date: Jan 2006
Location: NSW, Australia Likes: Anything alcoholic or caffeinated
DONATE TO ME
Great work! Thanks for this!
The Following User Says Thank You to the_scotsman For This Useful Post: [ Click to Expand ]
25th September 2012, 11:12 PM
Senior Member -
OP
Thanks Meter
128
Posts: 135
Join Date: Mar 2012
Location: India
Quote:
Originally Posted by
the_scotsman
Great work! Thanks for this!
Glad u liked sir
...
Sent from my MB525 using xda premium
4th October 2012, 08:07 PM
Forum Moderator / Recognized Themer
Thanks Meter
6689
Posts: 4,209
Join Date: Sep 2006
Location: Bavaria, close to Munich
DONATE TO ME
Quote:
Originally Posted by
TotalD3str4ct
Is it possible to put these into the menu that appears by right clicking in the bottom left corner?
Though it is possible in principle, it is much more complicated. I read a tutorial somewhere how to add things in that menu, but somehow windows checks some checksums on that menu on every start and it's really hard to put smth there. If you are interested in that topic, google for it. You probably will find a how-to. But be warned, you are in for a treat
.
4th October 2012, 09:06 PM
Senior Member
Thanks Meter
37
Posts: 366
Join Date: Jun 2010
Thank you so much for this.
4th October 2012, 09:24 PM
Senior Member
Thanks Meter
2948
Posts: 893
Join Date: Jan 2012
Location: Rio De Janeiro
DONATE TO ME
thankyou very much
I'm on vacation of xda start 25/01 --xx/03/2013
Visit my blog
whitedroid
The Following User Says Thank You to whitexp For This Useful Post: [ Click to Expand ]
Most Thanked In This Thread
1 Reg hacks for turn-down options ! Super …1 Very nice mod :)
thanks
alot..saves … 1 Really happy u all liked
it :) ...
… 1 thankyou very much 1 Great work! Thanks for this! :good: