時間:2016-05-10 來源:互聯網 瀏覽量:
win8右鍵菜單我們在工作中會經常用到,有些用戶為了方便關機,想直接將關機鍵添加在右鍵菜單中,那麼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右鍵菜單怎麼添加關機項了吧,還有其他關於win8係統的操作疑問的話歡迎上係統粉查看。