2016-05-09 12:19作者:chunhua
只要你细心研究的话,你会发现其实Win8系统有很多便捷的小功能,如果我们能利用上这些小功能的话,操作将会便捷很多。今天小编要给大家分享一个便捷的小功能,那就是在Win8系统右键菜单中添加关机/重启等选项的方法,这样我们再也不用去开始菜单中点击关机了。
具体方法如下:
1、原理就是在注册表中添加命令,新建立记事本,把以下内容保存为.reg,双击导入即可。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDesktopBackgroundShellPower Menu]
“MUIVerb”=”Power Menu”
“SubCommands”=”lock;logoff;switch;sleep;hibernate;restart;shutdown”
“Icon”=”shell32.dll,215″
“Position”=”bottom”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllock]
@=”Lock”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorer
CommandStoreshelllockcommand]
@=”Rundll32 User32.dll,LockWorkStation”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllogoff]
@=”Log Off”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorer
CommandStoreshelllogoffcommand]
@=”Shutdown -l”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellswitch]
@=”Switch User”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorer
CommandStoreshellswitchcommand]
@=”tsdiscon.exe”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellsleep]
@=”Sleep”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplore
rCommandStoreshellsleepcommand]
@=”rundll32.exe powrprof.dll,SetSuspendState Sleep”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhibernate]
@=”Hibernate”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorer
CommandStoreshellhibernatecommand]
@=”Shutdown -h”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellrestart]
@=”Restart”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorer
CommandStoreshellrestartcommand]
@=”Shutdown -r -f -t 00″
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellshutdown]
@=”Shut Down”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplore
rCommandStoreshellshutdowncommand]
@=”Shutdown -s -f -t 00″
2、当然你也可以下载现成的注册表文件,包含卸载。
以上就是Win8系统使用注册表在右键菜单中添加关机/重启等选项的方法,不需任何第三方软件即可轻松添加,小伙伴们快点学起来吧!
标签:右键菜单