如何在Win8右键菜单上添加电源选项

编辑:系统城 2015-03-27 17:25:01 来源于:系统城 1. 扫描二维码随时看资讯 2. 请使用手机浏览器访问: http://wap.xtcheng.cc/xtjc/1661.html 手机查看

如何在Win8右键菜单上添加电源选项

  Win8右键菜单添加电源选项的步骤:

  原理:在注册表中添加命令,新建立记事本,把以下内容保存为”win8右键关机菜单.reg“,双击导入即可。

  菜单代码:

  Windows Registry Editor Version 5.00

  [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu]

  "MUIVerb"="电源控制"

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

  @="关机"

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

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

  Win8右键菜单添加电源选项的方法很简单,只要简单的命令注入到注册表中,修改相应的数据就可以实现了。

分享到:

热门图文

热门搜索

返回顶部