|
本帖最后由 wu733 于 2024-9-7 21:48 编辑
本人是Win7 x64系统,二级菜单各项图标所见即所得,见图一。Win10系统需要修改图标路径,可以参考qq8899399一贴鼠标右键 使用SYSTEM权限打开 CMD窗口 绿色版 44楼。
Windows Registry Editor Version 5.00
;Classes\DesktopBackground
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu]
"Icon"="%windir%\\System32\\shell32.dll,90" ;表示图标路径
"MUIVerb"="常用设置(&A)" ;表示菜单组的名称
"SubCommands"="" ;表示层叠菜单
"Position"="middle" ;指定菜单标题位置(Top/Middle/Bottom)
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\00 appwiz]
"MUIVerb"="添加或删除程序"
"Icon"="%windir%\\System32\\shell32.dll,162"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\00 appwiz\command]
@="control appwiz.cpl /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\01 devmgmt]
"MUIVerb"="设备管理器"
"Icon"="%windir%\\system32\\devmgr.dll,-201"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\01 devmgmt\command]
@="mmc devmgmt.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\02 control]
"Icon"="%windir%\\System32\\control.exe"
"MUIVerb"="控制面板"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\02 control\command]
@="control.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\03 services]
"MUIVerb"="服务"
"Icon"="%windir%\\system32\\filemgmt.dll,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\03 services\command]
@="mmc services.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\04 regedit]
"MUIVerb"="注册表编辑器"
"Icon"="%windir%\\SysWOW64\\regedit.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\04 regedit\command]
@="regedit.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\05 gpedit]
"MUIVerb"="组策略"
"Icon"="%windir%\\System32\\shell32.dll,90"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\05 gpedit\command]
@="mmc gpedit.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\06 CompMgmt]
"MUIVerb"="计算机管理 (&G)"
"Icon"="%windir%\\System32\\shell32.dll,15"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\06 CompMgmt\command]
@="CompMgmtLauncher.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\07 miguiresource]
"MUIVerb"="任务计划"
"Icon"="%windir%\\System32\\miguiresource.dll,1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\07 miguiresource\command]
@="mmc taskschd.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\08 event]
"MUIVerb"="事件查看器"
"Icon"="%windir%\\System32\\miguiresource.dll,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\08 event\command]
@="mmc eventvwr.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\09 hosts]
"MUIVerb"="编辑Hosts"
"Icon"="%windir%\\System32\\shell32.dll,269"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\09 hosts\command]
@="notepad \"C:\\Windows\\System32\\drivers\\etc\\hosts\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\10 msinfo32]
"MUIVerb"="系统信息"
"Icon"="%windir%\\System32\\msinfo32.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\10 msinfo32\command]
@="msinfo32.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\11 VisualEffects]
"MUIVerb"="调整视觉效果"
"Icon"="%windir%\\System32\\shell32.dll,301"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\11 VisualEffects\command]
@="SystemPropertiesPerformance.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\12 VirtualMemory]
"MUIVerb"="设置虚拟内存"
"Icon"="%windir%\\System32\\shell32.dll,-13"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\12 VirtualMemory\command]
@="SystemPropertiesPerformance.exe /pagefile"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\19 ReStartExplorer]
"MUIVerb"="重启资源管理器"
"Icon"="%windir%\\System32\\ReStartExplorer.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\SetMenu\Shell\19 ReStartExplorer\command]
@="ReStartExplorer.exe"
;Classes\Directory
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\SetMenu]
"Icon"="%windir%\\System32\\shell32.dll,90"
"MUIVerb"="常用设置(&A)" ;表示菜单组的名称
"SubCommands"="" ;表示层叠菜单
"Position"="middle" ;指定菜单标题位置(Top/Middle/Bottom)
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\00 appwiz]
"MUIVerb"="添加或删除程序"
"Icon"="%windir%\\System32\\shell32.dll,162"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\00 appwiz\command]
@="control appwiz.cpl /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\01 devmgmt]
"MUIVerb"="设备管理器"
"Icon"="%windir%\\system32\\devmgr.dll,-201"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\01 devmgmt\command]
@="mmc devmgmt.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\02 control]
"Icon"="%windir%\\system32\\control.exe"
"MUIVerb"="控制面板"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\02 control\command]
@="control.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\03 services]
"MUIVerb"="服务"
"Icon"="%windir%\\system32\\filemgmt.dll,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\03 services\command]
@="mmc services.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\04 regedit]
"MUIVerb"="注册表编辑器"
"Icon"="%windir%\\SysWOW64\\regedit.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\04 regedit\command]
@="regedit.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\05 gpedit]
"MUIVerb"="组策略"
"Icon"="%windir%\\System32\\shell32.dll,90"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\05 gpedit\command]
@="mmc gpedit.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\06 CompMgmt]
"MUIVerb"="计算机管理 (&G)"
"Icon"="%windir%\\System32\\shell32.dll,15"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\06 CompMgmt\command]
@="CompMgmtLauncher.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\07 miguiresource]
"MUIVerb"="任务计划"
"Icon"="%windir%\\System32\\miguiresource.dll,1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\07 miguiresource\command]
@="mmc taskschd.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\08 event]
"MUIVerb"="事件查看器"
"Icon"="%windir%\\System32\\miguiresource.dll,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\08 event\command]
@="mmc eventvwr.msc /s"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\SetMenu\Shell\09 hosts]
"MUIVerb"="编辑Hosts"
"Icon"="%windir%\\System32\\shell32.dll,269"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\SetMenu\Shell\09 hosts\command]
@="notepad \"C:\\Windows\\System32\\drivers\\etc\\hosts\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\SetMenu\Shell\10 msinfo32]
"MUIVerb"="系统信息"
"Icon"="%windir%\\System32\\msinfo32.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\SetMenu\Shell\10 msinfo32\command]
@="msinfo32.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\SetMenu\Shell\11 VisualEffects]
"MUIVerb"="调整视觉效果"
"Icon"="%windir%\\System32\\shell32.dll,301"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\SetMenu\Shell\11 VisualEffects\command]
@="SystemPropertiesPerformance.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\SetMenu\Shell\12 VirtualMemory]
"MUIVerb"="设置虚拟内存"
"Icon"="%windir%\\System32\\shell32.dll,-13"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\SetMenu\Shell\12 VirtualMemory\command]
@="SystemPropertiesPerformance.exe /pagefile"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\19 ReStartExplorer]
"MUIVerb"="重启资源管理器"
"Icon"="%windir%\\System32\\ReStartExplorer.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\SetMenu\Shell\19 ReStartExplorer\command]
@="ReStartExplorer.exe"
PS:“重启资源管理器”对应的执行程序ReStartExplorer.exe是批处理转换的,下载链接:https://www.123pan.com/s/jctA-V2p6d。将下载的ReStartExplorer.exe拷贝到C:\Windows\System32下即可。其中的批处理为:“taskkill /f /im explorer.exe & start explorer.exe”,你也可以将执行程序改成批处理。
本来我还弄了个三级菜单 - 常用软件,考虑到萝卜白菜各有所爱,故放弃。见图二
|
|