添加Win10桌面右键菜单,简化关机重启等操作
1、Windows10系统添加桌面右键菜单,简化关机重启等操作的方法制作一个【电源】陴查哉厥右键菜单,添加到注册表中。将下面的内容复制到记事本中:—————————————————斑从腧笮———————————————Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu]"MUIVerb"="电源""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]@="锁定"[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]@="注销"[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]@="更改用户"[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]@="睡眠"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep\command]@="rundll32.exe powrprof.dll,SetSuspendState Sleep"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\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]@="重启"[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]@="关机"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown\command]@="Shutdown -s -f -t 00"

3、在打开的另存为窗口,我们点击【桌面】,在文件名栏中输入:电源.reg;

5、我们点击【是】以后,又弹出一个注册表编辑器对话框:C:\Users\xyz75\Desktop\电源.reg 中包含的项和值已成功添加到注册表中。点击:确定;

7、如果不需要右键菜单中的【电源】菜单,我尺攵跋赈们可以制作一个【删除电源】的注册表文件添加到注册表中,则添加的【电源】菜单则被删除。将下面有内容复制到记事本中:——————————————————斑从腧笮——————————————Windows Registry Editor Version 5.00[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hibernate][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\switch]


9、我们把【删除电源】的注册表文件添加到注册表中以后,再右键点击系统桌面空白处,则可以看到【电源】菜单已删除。

10、以上即:Windows10系统添加桌面右键菜单,简化关机重启等操作的方法,新测有效,供朋友们参考使用。