Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win8 右鍵選單新增快速關機、重新開機、登出指令

編輯:Win8 系統應用技巧

想在 Windows 8 桌面環境下快速關機、重開機或登出,卻不想安裝第三方軟體?只需修改登錄檔即可將這些指令加入滑鼠右鍵選單,操作簡單且即時生效。

匯入登錄檔快速部署

  1. 開啟記事本,貼上下列登錄檔內容(完整碼請參考原文附件):
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Shutdown]
"MUIVerb"="關機"
"Icon"="shell32.dll,27"
"Position"="Top"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Shutdown\command]
@="shutdown.exe -s -t 00"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Restart]
"MUIVerb"="重新開機"
"Icon"="shell32.dll,238"
"Position"="Top"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Restart\command]
@="shutdown.exe -r -t 00"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Logoff]
"MUIVerb"="登出"
"Icon"="shell32.dll,44"
"Position"="Top"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Logoff\command]
@="shutdown.exe -l"
  1. 另存為 AddQuickPowerMenu.reg(副檔名必須為 .reg)。
  2. 雙擊該檔案,按「是」匯入登錄檔。
  3. 在桌面空白處按滑鼠右鍵,即可看到「關機」、「重新開機」、「登出」三個新選項。
右鍵選單示意圖 登錄檔匯入示意

選單項目順序可自行調整登錄檔中的 Position 值或刪除不需要的項目。

Copyright © Windows教程網 All Rights Reserved