Windows 7 64 位元系統滑鼠右鍵點擊桌面/資料夾/工作列無反應、選單不彈出,常因登錄檔 NoViewContextMenu 被惡意軟體/優化工具誤設為 1。單一 CMD 指令即可修復。

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
pause
| 指令 | 作用 |
|---|---|
reg add ... /v "NoViewContextMenu" /d 0 | 將禁止右鍵選單的原則值改為 0 (允許顯示) |
taskkill /f /im explorer.exe | 強制結束檔案總管進程 |
start explorer.exe | 重新啟動檔案總管套用新設定 |
pause | 暫停視窗讓你確認訊息 |
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 同鍵值。HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers 僅保留 New,其餘暫時刪除測試。sfc /scannow。一條指令、十秒搞定,恢復滑鼠右鍵選單正常運作。