将设置集成到右键联级菜单

Posted on 2019-05-20 19:25  努力成长静待花开  阅读(225)  评论(0编辑  收藏  举报

实现效果:

  

 

实现代码:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell]

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings]
"Position"="Middle"
"Icon"="SystemSettingsBroker.exe"
"SubCommands"=""

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell]

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\01subcmd]
"Icon"="SystemSettingsBroker.exe"
"MUIVerb"="Settings"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\01subcmd\command]
@="explorer ms-settings:"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\02subcmd]
"CommandFlags"=dword:00000020
"MUIVerb"="System"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\02subcmd\command]
@="explorer ms-settings:display"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\03subcmd]
"MUIVerb"="Devices"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\03subcmd\command]
@="explorer ms-settings:bluetooth"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\04subcmd]
"MUIVerb"="Network && Internet"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\04subcmd\command]
@="explorer ms-settings:network"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\05subcmd]
"MUIVerb"="Personalization"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\05subcmd\command]
@="explorer ms-settings:personalization"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\06subcmd]
"MUIVerb"="Apps"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\06subcmd\command]
@="explorer ms-settings:appsfeatures"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\07subcmd]
"MUIVerb"="Accounts"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\07subcmd\command]
@="explorer ms-settings:yourinfo"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\08subcmd]
"MUIVerb"="Time && language"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\08subcmd\command]
@="explorer ms-settings:dateandtime"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\09subcmd]
"MUIVerb"="Gaming"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\09subcmd\command]
@="explorer ms-settings:gaming-gamebar"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\10subcmd]
"MUIVerb"="Ease of Access"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\10subcmd\command]
@="explorer ms-settings:easeofaccess-narrator"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\11subcmd]
"MUIVerb"="Cortana"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\11subcmd\command]
@="explorer ms-settings:cortana"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\12subcmd]
"MUIVerb"="Privacy"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\12subcmd\command]
@="explorer ms-settings:privacy"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\13subcmd]
"MUIVerb"="Update && security"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\13subcmd\command]
@="explorer ms-settings:windowsupdate"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\14subcmd]
"MUIVerb"="Mixed Reality"

[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Settings\shell\14subcmd\command]
@="explorer ms-settings:holographic"
View Code