Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michele-tn/c7d37a8cd1429cf8cb7cb44e8f9f0521 to your computer and use it in GitHub Desktop.
Save michele-tn/c7d37a8cd1429cf8cb7cb44e8f9f0521 to your computer and use it in GitHub Desktop.

๐Ÿ–ฑ๏ธ Windows 11 - Restore Classic Context Menu

This GITS provides batch scripts to enable and disable the classic right-click context menu in Windows 11.


๐Ÿ“‹ Description

Windows 11 introduced a new modern-style context menu. If you prefer the classic Windows 10-style menu, these scripts modify the Windows Registry to bring it back.


โš ๏ธ Warning

  • Editing the Windows Registry can cause issues if done improperly.
  • Scripts must be run as Administrator.
  • A restart of Windows Explorer is required (handled automatically by the scripts).

โ–ถ๏ธ How to Use

โœ… Enable Classic Context Menu

Run enable_classic_menu.bat as Administrator.

reg add "HKCU\SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /ve /f
taskkill /im explorer.exe /f
start explorer.exe

โŒ Disable Classic Context Menu (Restore Default)

Run disable_classic_menu.bat as Administrator.

reg delete "HKCU\SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
taskkill /im explorer.exe /f
start explorer.exe

โœ… Compatibility

  • Tested on all versions of Windows 11 (as of 2025).

๐Ÿ“Ž Reference

The modification is based on the known CLSID key:

{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}

Adding this key enables the legacy context menu behavior.


๐Ÿ›  License

This project is released under the MIT License.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment