Windows Defender 內建於 Win10/8.1/8,提供即時防護與手動掃描。為方便右鍵快速掃描特定檔案/資料夾,可透過修改註冊表在檔案總管右鍵選單加入「使用 Windows Defender 掃描」指令。
regedit 開啟登錄編輯器。HKEY_CLASSES_ROOT\Folder\shell。shell → 新增 → 項目 → 命名為 WindowsDefender。WindowsDefender,右側空白處右鍵 → 新增 → 字串值 → 命名 Icon,數值資料設為:%ProgramFiles%\Windows Defender\EppManifest.dllMUIVerb,數值資料:使用 Windows Defender 掃描。WindowsDefender 下新增項目 Command。Command,修改預設值,數值資料設為:"C:\Program Files\Windows Defender\MpCmdRun.exe" -scan -scantype 3 -SignatureUpdate -file "%1"-scan -scantype 3:執行完整掃描(自訂掃描)。-SignatureUpdate:掃描前先更新病毒碼。-file "%1":掃描右鍵選取的目標路徑。此法同樣適用於 Win8/8.1。修改註冊表前建議匯出備份對應分支,以便還原。