Hi guys, here I’ve found a way to shutdown your computer with right click. The windows 8 users who are yet to familier with windows 8 shortcuts face mass trouble in shutting down their PCs.

This is a small registry hack add turn off options (shutdown, restart, sleep, switch user, lock and ect.)

Just open your notepad.exe and type the below

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDesktopBackgroundShellTurn Off Options]

"MUIVerb"="Turn Off Options"

"SubCommands"="lock;logoff;switch;sleep;hibernate;restart;shutdown;hybridshutdown"

"Icon"="shell32.dll,215"

"Position"="bottom"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllock]

@="Lock"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllockcommand]

@="Rundll32 User32.dll,LockWorkStation"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllogoff]

@="Log Off"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllogoffcommand]

@="Shutdown -l"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellswitch]

@="Switch User"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellswitchcommand]

@="tsdiscon.exe"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellsleep]

@="Sleep"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellsleepcommand]

@="rundll32.exe powrprof.dll,SetSuspendState Sleep"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhibernate]

@="Hibernate"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhibernatecommand]

@="Shutdown -h"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellrestart]

@="Restart"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellrestartcommand]

@="Shutdown -r -f -t 00"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellshutdown]

@="Shut Down"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellshutdowncommand]

@="Shutdown -s -f -t 00"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhybridshutdown]

@="Shut Down (Hybrid)"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhybridshutdowncommand]

@="Shutdown -s -f -t 00 -hybrid"

Then save it as “Add turn off option.REG” with-out quotes in your fav location.

After it just double click the saved file and windows asks for a small confirmation, then press Yes and you are done 🙂

Now right click on ur desktop see the changes. No need of restart

DO IT ON YOUR OWN RISK because playing with Registry will harm your OS very much.

To remove this menu

Open the notepad.exe again and type

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOTDesktopBackgroundShellTurn Off Options]

[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllock]

[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllogoff]

[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellswitch]

[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellsleep]

[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhibernate]

[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellrestart]

[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellshutdown]

[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhybridshutdown]

Save the file as ‘Remove turn off menu.REG” without quotes and run it…

Advertisements