Win8右键菜单加关机、重启、注销功能的方法来啦
原理就是在注册表加命令。新建个记事本,把下面内容保存成.reg文件,双击导入就行。
Windows Registry Editor Version 5.00
MUIVerb=Power Menu
SubCommands=lock;logoff;switch;sleep;hibernate;restart;shutdown
Icon=shell32.dll,215″
Position=bottom
@=Lock
@=Rundll32 User32.dll,LockWorkStation
@=Log Off
@=Shutdown -l
@=Switch User
@=tsdiscon.exe
@=Sleep
@=rundll32.exe powrprof.dll,SetSuspendState Sleep
@=Hibernate
@=Shutdown -h
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshell estart]
@=Restart
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshell estartcommand]
@=Shutdown -r -f -t 00″
@=Shut Down
@=Shutdown -s -f -t 00″
原理就是在注册表加命令。新建个记事本,把下面内容保存成.reg文件,双击导入就行。
Windows Registry Editor Version 5.00
MUIVerb=Power Menu
SubCommands=lock;logoff;switch;sleep;hibernate;restart;shutdown
Icon=shell32.dll,215″
Position=bottom
@=Lock
@=Rundll32 User32.dll,LockWorkStation
@=Log Off
@=Shutdown -l
@=Switch User
@=tsdiscon.exe
@=Sleep
@=rundll32.exe powrprof.dll,SetSuspendState Sleep
@=Hibernate
@=Shutdown -h
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshell estart]
@=Restart
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshell estartcommand]
@=Shutdown -r -f -t 00″
@=Shut Down
@=Shutdown -s -f -t 00″