Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Windows 8系統教程 >> win8系統基礎知識 >> 在win8右鍵菜單添加關機,重啟,注銷

在win8右鍵菜單添加關機,重啟,注銷

日期:2017/2/7 16:36:48      編輯:win8系統基礎知識

  在Windows 8右鍵菜單添加關機,重啟,注銷,休眠,睡眠,切換用戶,鎖住。呃呃呃想不到Windows 8的關機把大家給難住了 ……

在windows 8右鍵菜單添加關機,重啟,注銷

  Windows 8右鍵菜單添加關機,重啟,注銷…

  原理就是在注冊表中添加命令,新建立記事本,把以下內容保存為.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″

  當然你也可以下載現成的注冊表文件,包含卸載

Copyright © Windows教程網 All Rights Reserved