今天小编在某论坛看到一篇在Win8右键菜单添加关机,重启,注销,休眠,睡眠,切换用户,锁住等功能,众多用户叫好,所以这里整理下,分享给大家,算是补充,先看效果吧。
Win8右键快捷菜单关机效果
Win8系统给右键添加关机、重启、注销的教程如下:
原理就是在注册表中添加命令,新建立记事本,把以下内容保存为.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″
懒人包:如果你不想制作注册表文件,那么请点击:Win8右键菜单关机注册表文件 下载,然后运行注册表文件导入即可。
当然你也可以下载现成的注册表文件,包含卸载,以上操作需要对注册表有一定了解哦,对注册表不懂的朋友不妨阅读下以下的扩展链接吧。
本文地址:http://www.45fan.com/dnjc/7316.html