A Windows context menu editor in one PowerShell file
说明与用途
Windows 上下文菜单编辑器将所有菜单来源合并为单个 PowerShell 脚本,允许统一查看、禁用和调整 shell 动词、扩展和打包应用项。
问题
Windows right‑click menus are built from multiple sources and tools only cover one part, making it hard to view or edit all entries in one place.
结果
The editor consolidates context menu entries, reduces startup time to under 1s, and enables scripted manipulation without affecting real menus.
工作流
- Download and execute the script via "irm https://rocisapps.com/cme | iex"
- The script reads shell verbs, shell extension handlers, and packaged items into one list
- Users can toggle entries on/off using the appropriate registry modifications
- Optional tweaks can be applied from a preset list
- Send‑to shortcuts are created using a compiled C# helper
- The UI displays progress and updates the view after scanning
- The script can be run with -LibraryOnly for scripted testing
证据
Windows builds the menu from three different places, and each one is switched off differently:
The short URL is a redirect on my own domain to the latest GitHub release asset, so a new release is live as soon as it is published.
The first version took about two seconds before any window appeared, and most of that was reading the registry.
- 记录日期: 2026-10-03T21:41:11.621Z