在这篇教程中,韩博士要教大家一种别开生面的win10系统关机技巧——右键关机,感兴趣的朋友快跟韩博士一起学习了解下吧!

win10右键关机具体方法如下:

1、在桌面空白处新建一个文本文档,在里面输入以下代码:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDesktopBackgroundShellPower Menu]

MUIVerb=电源

SubCommands=lock;logoff;switch;sleep;hibernate;restart;shutdown

Icon=shell32.dll,215

Position=bottom

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllock]

@=锁定

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllockcommand]

@=Rundll32 User32.dll,LockWorkStation

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllogoff] 

@=注销

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshelllogoffcommand]

@=Shutdown -l

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellswitch] 

@=更改用户 

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellswitchcommand]

@=tsdiscon.exe

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellsleep]

@=睡眠

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellsleepcommand]

@=rundll32.exe powrprof.dll,SetSuspendState Sleep

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhibernate]

@=休眠

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellhibernatecommand]

@=Shutdown -h

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellrestart]

@=重启

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellrestartcommand]

@=Shutdown -r -f -t 00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellshutdown]

@=关机

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellshutdowncommand]

@=Shutdown -s -f -t 00

1.png

2、另存为文件,将保存类型修改为“所有文件”,文件名为“右键关机.reg”,点击确定;

2.png

3、双击刚保存的右键关机.reg文件,在弹出的窗口中,点击“是”即可。

 3.png

通过上述步骤,win10设置右键关机就完成了,是不是很简单呢。赶快去与为此烦恼的小伙伴分享吧。