在win8右键菜单添加关机,重启,注销

来源:win8mi时间:2012-03-07 11:11:23

  在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″

  当然你也可以下载现成的注册表文件,包含卸载

文章内容来源于网络,不代表本站立场,若侵犯到您的权益,可联系我们删除。(本站为非盈利性质网站) 联系邮箱:rjfawu@163.com
多特网友 2014-02-16 22:01:07 回复
导入了,但无法实现该功能
多特网友 2013-09-17 19:01:59 回复
无法导入说只能导入二进位
多特网友 2013-07-16 16:00:12 回复
行不通,不可以
多特网友 2013-04-14 12:54:33 回复
为啥导入了   菜单键还是显示不出来那个
多特网友 2012-07-11 20:15:12 回复
我正在用Win8 关机好麻烦 有了这个太棒了。。。
多特网友 2012-03-27 21:47:11 回复
##右键里有Power Menu,但没有关机、睡眠、重启##
多特网友 2013-04-14 12:54:33 回复
为啥导入了   菜单键还是显示不出来那个
多特网友 2012-03-11 20:40:35 回复
不习惯没有注销。
多特网友 2012-07-11 20:15:12 回复
我正在用Win8 关机好麻烦 有了这个太棒了。。。
多特网友 2013-07-16 16:00:12 回复
行不通,不可以