Restore the classic Windows 10 style Explorer context menu on Windows 11.
On launch (or when called), the script:
- Checks the registry to determine whether the classic context menu is currently enabled or not
- Displays a status dialog:
- Already enabled →
"Status: ENABLED — Do you want to re-apply it anyway?"(Yes / No) - Not enabled →
"Status: NOT ENABLED — Do you want to restore the classic menu?"(Yes / No)
- Already enabled →
- Yes → writes the required registry key and restarts Explorer to apply changes
- No → exits with no changes made
Just run ExplorerClassicContextMenu.exe (or ExplorerClassicContextMenu.ahk). The status prompt appears automatically.
Add to your AHK library path, then call from your main script:
#Include <ExplorerClassicContextMenu>
; Default — no tray notifications
ExplorerClassicContextMenu()
; With tray notifications
ExplorerClassicContextMenu(true)| Hotkey | Action |
|---|---|
Ctrl+Alt+Win+E |
Run / re-apply classic context menu |
Ctrl+Shift+Win+R |
Restart Explorer |
Ctrl+S |
Reload script |
The script writes an empty REG_SZ value to:
HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32
This is the standard, documented method to re-enable the classic context menu — no third-party tools required.
- Windows 11
- AutoHotkey v2.0+