雙擊盤符無法打開、右鍵選單多出「自動播放」、圖示變成光碟/資料夾圖示,典型的 AutoRun 病毒殘留或檔案關聯錯誤。不用重裝,組策略/註冊表雙管齊下 1 分鐘修復。
gpedit.msc → 回車。gpupdate /force 強制生效。regedit → 回車。HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2MountPoints2 下所有以 {...} 開頭的子鍵(記錄了每個磁碟的自動播放行為)。HKEY_CLASSES_ROOT\Drive\shell → 確認預設值為 none 或空。HKEY_CLASSES_ROOT\Drive\shell\open\command → 預設值應為 explorer.exe %1。explorer.exe(工作管理員重新啟動)或重啟電腦。rem 關閉所有磁碟自動播放
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 255 /f
rem 修復磁碟開啟動作
reg add "HKCR\Drive\shell" /ve /d "none" /f
reg add "HKCR\Drive\shell\open\command" /ve /d "explorer.exe %%1" /f
rem 重啟資源管理器
taskkill /f /im explorer.exe & start explorer.exe
複製上述內容存為 fix_autoplay.bat,右鍵「以系統管理員身分執行」即可一鍵修復。
autorun.inf + 惡意執行檔,利用 Windows 自動播放機制傳播。autorun.inf、*.exe、Recycler 資料夾立即刪除。修復後雙擊盤符應直接打開資源管理器視窗,右鍵選單恢復「開啟」「在新視窗開啟」等標準項目。若仍異常,請全盤殺毒並檢查 HKCR\Applications\explorer.exe 關聯鍵值。