- C:
- ProgramData
- Microsoft
- Windows Defender
FolderRisk: Do not touch
- Access denied
Windows Defender C:\ProgramData\Microsoft\Windows Defender
Microsoft Defender Antivirus data: definitions, platform versions, quarantine and scan results. Do not edit by hand.
What it’s for
Microsoft Defender Antivirus keeps its definitions, platform versions, quarantine and scan histories here. The Windows Security app shows this data (quarantined threats, protection history, protection updates), so you rarely need to open the folder. The antimalware platform is installed under Platform\<version>, which is where the MpCmdRun.exe command-line tool runs from.
What it contains
Definition Updates: the definitions (signatures) downloaded by protection updates.Platform: one subfolder per antimalware platform version, withMpCmdRun.exe.Quarantine: files isolated after detection, encrypted.ScansandHistory: results and history of scans and detections.
Risks and best practices
- Do not clean this folder by hand: you risk corrupting the antivirus, losing the quarantine or disabling protection. Defender purges its own old definitions.
QuarantineandScanscannot be opened without the SYSTEM account, even by an administrator, and tamper protection reinforces the lock. Manage quarantine through the Windows Security app or withGet-MpThreatandRemove-MpThreat.- Do not add this folder to scan exclusions: malware could settle in it unseen.
Useful commands
# Antivirus status and definitions dateGet-MpComputerStatus | Select-Object AMProductVersion, AntivirusSignatureVersion, AntivirusSignatureLastUpdated
# Installed platform versionsGet-ChildItem "$env:ProgramData\Microsoft\Windows Defender\Platform" -Directory | Select-Object Name
# Detected threats and configured exclusionsGet-MpThreat(Get-MpPreference).ExclusionPath
# Update definitions (as administrator)Update-MpSignature