Win8電腦如何在右鍵菜單中添加快速關(guān)機(jī)/重啟/注銷選項(xiàng)

2015-09-29 00:00

    在使用win8電腦的時(shí)候,可能經(jīng)常需要進(jìn)行關(guān)機(jī)或者重啟、注銷等操作,一般都需要點(diǎn)擊開始菜單中的關(guān)機(jī)選項(xiàng)才可以執(zhí)行這些操作,但是大家都知道win8系統(tǒng)已經(jīng)取消了開始菜單,所以這時(shí)候關(guān)機(jī)、重啟、注銷操作就變得很是不方便,那么其實(shí)我們可以在win8系統(tǒng)的右鍵菜單中添加添加快速關(guān)機(jī)/重啟/注銷選項(xiàng)哦,接下來小編就給大家講解一下具體的添加步驟如下。

Win8電腦如何在右鍵菜單中添加快速關(guān)機(jī)/重啟/注銷選項(xiàng)

1、原理就是在注冊表中添加下面命令,新建立記事本,把以下內(nèi)容保存為“win8.1右鍵關(guān)機(jī)菜單.reg”,雙擊導(dǎo)入即可。

2、菜單代碼:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu]

"MUIVerb"="優(yōu)愛酷電源控制"

"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]

@="鎖定"

[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]

@="注銷"

[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]

@="更改用戶"

[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]

@="睡眠"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep\command]

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\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]

@="重啟"

[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]

@="關(guān)機(jī)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown\command]

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

3、菜單內(nèi)容可自行修改。

Win8電腦如何在右鍵菜單中添加快速關(guān)機(jī)/重啟/注銷選項(xiàng)

4、如果想刪除右鍵菜單中這些選項(xiàng)的話,請(qǐng)把以下命令復(fù)制粘貼到記事本中:
  Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu]
  [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock]
  [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff]
  [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\switch]
  [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep]
  [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hibernate]
  [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart]
  [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown]
5、然后把該文本文件重命名為remove.reg,然后用雙擊導(dǎo)入注冊表即可。

網(wǎng)友評(píng)論

相關(guān)閱讀