How to Use Windows Antivirus & Quarantine Tool to Manage DLL Files

Use Windows Security (Defender) to scan, review quarantine, safely restore legit DLLs, and add temporary exclusions. Verify integrity with hashes and DLLme tools.

5–7 min read Windows
Sponsored

Why antivirus flags DLLs

  • Heuristics: new or uncommon DLLs may trigger “suspicious” behavior detections.
  • Bundled installers: temporary unpacked DLLs under %Temp% look unusual.
  • Tampering or corruption: altered signatures or mismatched versions raise alerts.

Open Windows Security

  1. Open Start → type Virus & threat protection and open it.
  2. Confirm definition updates are current (see Protection updates).
Windows Security menu
Open Windows Security → Virus & threat protection.

Run scans (Quick, Full, Offline)

  1. Click Scan options.
  2. Run a Quick scan first; follow with a Full scan.
  3. If threats persist or files are locked, use Microsoft Defender Offline scan (restarts into a trusted environment).
Windows Security scan options
Choose Quick → Full; use Offline scan for persistent detections.

Review & restore from Quarantine

Inspect blocked items and restore only if you’ve verified they’re safe:

  1. Open Protection history.
  2. Filter to Quarantined/Blocked and check the DLL’s path and threat name.
  3. If legitimate, choose Allow on device or Restore after you validate the file.
Protection history / Quarantine
Review details before restoring.
Tip

If a DLL was blocked during an install/update, temporarily pause real-time protection, finish the install, then re-enable protection and run a scan.

Add a temporary exclusion (advanced)

Use exclusions sparingly and remove them when done.

  1. Go to Virus & threat protection settingsManage settingsExclusionsAdd or remove exclusions.
  2. Click Add an exclusion → choose File (preferred) or Folder and select the DLL or installer folder.
  3. Complete the required action → remove the exclusion.