windows8的關機方法把大部分用戶給難住了,上次已經介紹一篇“windwos8的關機方法”中介紹了7種關機方法。現在介紹一個更為快捷的windows8的關機方法,一起參詳下吧。
windows8種把關機、重啟、注銷等操作添加進右鍵菜單欄。
原理就是在注冊表中添加命令,新建立記事本,把以下內容保存為.reg,雙擊導入即可。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu]
“MUIVerb”=”Power Menu”
“SubCommands”=”lock;logoff;switch;sleep;hibernate;restart;shutdown”
“Icon”=”shell32.dll,215″
“Position”=”bottom”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock]
@=”Lock”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
\CommandStore\shell\lock\command]
@=”Rundll32 User32.dll,LockWorkStation”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff]
@=”Log Off”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
\CommandStore\shell\logoff\command]
@=”Shutdown -l”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\switch]
@=”Switch User”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
\CommandStore\shell\switch\command]
@=”tsdiscon.exe”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep]
@=”Sleep”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explore
r\CommandStore\shell\sleep\command]
@=”rundll32.exe powrprof.dll,SetSuspendState Sleep”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hibernate]
@=”Hibernate”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
\CommandStore\shell\hibernate\command]
@=”Shutdown -h”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart]
@=”Restart”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
\CommandStore\shell\restart\command]
@=”Shutdown -r -f -t 00″
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown]
@=”Shut Down”
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explore
r\CommandStore\shell\shutdown\command]
@=”Shutdown -s -f -t 00″