桌面/資源管理器右鍵選單無反應、卡頓、項目缺失,主因通常為 NoViewContextMenu 原則被誤啟用、殼層擴充套件 (Shell Extension) 掛掛、或 explorer.exe 狀態異常。本文提供「原則解除」與「強制重置總管」雙軌修復方案。

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoViewContextMenu" /t REG_DWORD /d 0 /f
taskkill /f /im explorer.exe && start explorer.exe
將以下內容存為 ResetContextMenu.reg,雙擊匯入 → 重開機:
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell]
[-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers]
[-HKEY_CLASSES_ROOT\Folder\shell]
[-HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers]
[-HKEY_CLASSES_ROOT\*\shell]
[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers]
; 重建預設項目 (僅核心項目,完整範本極長,建議用方案二)
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command]
@="cmd.exe /s /k pushd \"%V\""
⚠ 警告:此操作會移除所有第三方右鍵選單擴充 (如 7-Zip、Git、Notepad++、雲端同步等),請謹慎使用並預先匯出登錄備份。
右鍵選單失效優先嘗試「方案一:解除原則限制 + 重啟總管」,30 秒解決 80% 案例。若為第三方擴充套件衝突,「方案二:ShellExView 逐一排查」最精準安全。僅在系統嚴重受損時才考慮「方案三:登錄重置」。