win10系統(tǒng)右鍵添加重啟選項(xiàng)的方法

windows 10的桌面上,除了系統(tǒng)默認(rèn)提供的右鍵菜單功能外,我們還可以自行添加或刪除一些自定義的功能。例如,我們可以在右鍵菜單中添加重啟和關(guān)機(jī)等功能,從而實(shí)現(xiàn)更快速的操作。接下來,我們將分享如何通過簡單的步驟在win10右鍵菜單中添加重啟選項(xiàng)的方法。

win10系統(tǒng)右鍵添加重啟選項(xiàng)的方法

操作步驟如下:

  1. 首先,在桌面上創(chuàng)建一個新的文本文檔,并在其中輸入以下代碼:
 windows Registry Editor Version 5.00   [HKEY_CLASSES_ROOTDesktopBackgroundShellPower Menu]  "MUIVerb"="電源"  "SubCommands"="lock;logoff;switch;sleep;hibernate;restart;shutdown"  "Icon"="shell32.dll,215"  "Position"="bottom"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllock]  @="鎖定"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllockcommand]  @="Rundll32 User32.dll,LockWorkStation"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllogoff]  @="注銷"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllogoffcommand]  @="Shutdown -l"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellswitch]  @="更改用戶"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellswitchcommand]  @="tsdiscon.exe"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellsleep]  @="睡眠"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellsleepcommand]  @="rundll32.exe powrprof.dll,SetSuspendState Sleep"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhibernate]  @="休眠"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhibernatecommand]  @="Shutdown -h"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellrestart]  @="重啟"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellrestartcommand]  @="Shutdown -r -f -t 00"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellshutdown]  @="關(guān)機(jī)"   [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellshutdowncommand]  @="Shutdown -s -f -t 00"
  1. 將文件保存為注冊表文件。將保存類型設(shè)置為“所有文件”,并命名為“右鍵重啟.reg”,然后點(diǎn)擊確定。

win10系統(tǒng)右鍵添加重啟選項(xiàng)的方法

  1. 雙擊剛剛保存的“右鍵重啟.reg”文件,在彈出的確認(rèn)窗口中點(diǎn)擊“是”。完成后,您會發(fā)現(xiàn)桌面上右鍵菜單中新增了“重啟”、“關(guān)機(jī)”等選項(xiàng)。

win10系統(tǒng)右鍵添加重啟選項(xiàng)的方法

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點(diǎn)贊13 分享