Hello There, Guest! RegisterLogin with Facebook
Login with Facebook

New Anna University Nov / Dec 2016 Examination Important Questions
New Anna University (UG / PG) Nov/Dec 2016 and Jan 2017 Theory , Practical Exam Timetable
>>> Anna University Sixth Semester Question Bank Collection (R2013) ECE,MECH,CSE,IT,EEE,CIVIL,EIE
>>> Anna University November/December 2015 Examination Question Papers
>>> Anna University Study Materials for all Departments
>>> Anna University Question Papers : April May June 2015 Question Papers | Nov Dec 2014 and Jan 2015 Question Papers

Register or Login to Submit Study Materials , Shoutbox and also to access Many Features !!

Vidyarthiplus Shop :: Handwritten Premium Lecture Notes
Share your Study Materials with us
Share your Study Materials with us : Click Here

Lock,Sleep,Restart,Shutdown your system via Right Click Context menu
#1


Just think of it when you got all things like 
[ul][li]Lock,[/li][li]Sleep,[/li][li]Restart,[/li][li]Shutdown [/li][/ul]
of your system in Right Context menu!
It will be awesome uh?

If yes then we can do this in two methods
Manual
Using Windows registry file.
To do in Manual do the following
1.Create a new text document in Desktop. (Right Click-->New-->Text Document)
[Image: ZLfX9.png]
2.Open it by double click it or Right click-->Open
[Image: MerqV.png]
3.Now copy the below code and paste it in text document and save it.
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"
4.Now rename it to any name with .reg extension.
Note: It will open a prompt windows Click Yes.
5.Double click on .reg file which was created now.
6.UAC will open and ask for permission click on Yes.
7.Now registry editor will ask for conformation so Click on Yes
[Image: ZfaNm.png]
8.It will display successful message.
[Image: zjGdN.png]
9.Now right click and see.
[Image: I1amy.png]
If you are not ready to do this in manual you got another method which can be done using Windows Registry file.
1.Attachment the Registry File.

.rar   sleep shutdown restrat on right click context menu.rar (Size: 399 bytes / Downloads: 53)

2.Extract the reg file from it.
3.Now double click on it.
4.UAC will open and ask for permission click on Yes.
5.Now registry editor will ask for conformation so Click on Yes
[Image: ZfaNm.png]
6.It will display successful message.
[Image: zjGdN.png]
7.Now right click and see.
[Image: I1amy.png]

[Image: jRHNJwz.gif]
Interest-Involvement-Implementation
Share-Learn-Respect-Repute-Thank


Reply
#2

wow wat an idea sir ji....

#Praise the creator not the creations#
-Mr.lonely


Reply

Subscribe


Recommend on Google