Skip to content

v1.0.0

Choose a tag to compare

@simonwen-oss simonwen-oss released this 06 Oct 13:38
· 133 commits to main since this release

First public release. PowerShell only - no compiled binary.

Tools

  • scripts/manage-context-menu.ps1 - lists every Explorer context-menu component across both registry views, grouped by the owning DLL/executable, numbered and classified as third-party or Windows built-in. Pick by number and it removes all registrations of that component.
  • scripts/remove-vendor-context-menu.ps1 - pattern-driven removal configurable via scripts/vendors.json (7 vendors, 25 patterns).
  • scripts/enumerate-context-menu.ps1 - read-only audit that reveals the real registry key names, including space-padded ones.
  • scripts/validate.ps1 - self-check; no administrator rights needed.

Why this exists

Vendors pad the registry key name with leading spaces (" sgshellext"), so an exact-name delete matches nothing while reg still reports "The operation completed successfully." Apps also register both a static verb and a COM handler, and the 32-bit and 64-bit registry views are separate stores. This project handles all three causes, exports a .reg backup before every delete, and verifies each removal instead of trusting an exit code.

Verified on

Windows 10 Pro 22H2 (build 10.0.19045.6466) with Windows PowerShell 5.1.19041.6456, system locale zh-CN, ANSI code page 936. PowerShell 7+ is designed for but not tested. See the "Test environment" section in the README.

Notes

  • Both English and Chinese documentation included (README.md / README.zh.md).
  • No dependencies beyond Windows itself.
  • A compiled native executable is under development in src/ and is not part of this release.