When Windows Security flags the same threat repeatedly, it usually means the malware is still on your device, a scheduled scan keeps finding it, or the detection is a false positive. This guide walks you through the exact steps to inspect the alert, determine what’s happening, and take the right action—whether that’s removing the threat, excluding a trusted file, or running a deeper scan.
What You’ll Need
- Administrator access to the Windows device (to change protection settings and remove threats).
- Internet connection for updating virus definitions and submitting samples if needed.
- If the alert concerns a file you created or a program you installed, have the file path or the software name handy.
Step-by-Step
- Open Windows Security. Click the Start button, type “Windows Security,” and press Enter. You can also right-click the shield icon in the system tray and select “View security dashboard.”
- Go to the Protection History. In the Windows Security window, click “Virus & threat protection” (the shield with a checkmark). Then, under “Current threats” or “Protection history,” click “Protection history.” This list shows all detections, including the recurring one.
- Identify the specific alert. Look for the most recent entry with a red or yellow icon. Click it to expand the details. Note the following: the threat name (e.g., “Trojan:Win32/Sabsik.FL.A”), the “Affected items” (usually a file path), the “Action taken” (e.g., “Quarantined” or “Blocked”), and the “Detected time.”
- Check the action taken. If the action is “Quarantined” or “Removed,” but the alert keeps coming back, it means the threat is being re-created by something else (like a scheduled task or a malicious script). If the action is “Blocked,” the file is still present but prevented from running—you need to remove it manually.
- Copy the affected file path. In the details, click “Copy” or manually note the full path (e.g., C:\Users\YourName\AppData\Local\Temp\malware.exe). You’ll need this to locate the file.
- Open File Explorer and navigate to the path. Press Win + E, paste the path into the address bar, and press Enter. If you get a permission error, the file may be hidden or protected—enable “Hidden items” in the View tab.
- Check if the file is still there. If it exists, right-click it and select “Properties” to see its size and creation date. If it’s a suspicious file (random name, no publisher, in a temp folder), it’s likely malware. If it’s a legitimate program file, it may be a false positive.
- Remove the threat manually. If the file is malware, delete it. If it’s in use, restart your PC in Safe Mode (Settings > System > Recovery > Advanced startup, then choose Troubleshoot > Advanced options > Startup Settings > Restart, and press 4 for Safe Mode). After restarting, delete the file.
- Run a full scan. Back in Windows Security, go to “Virus & threat protection” and click “Scan options.” Choose “Full scan” and run it. This will catch any remnants that might be re-creating the file.
- Check for scheduled tasks or startup entries. If the alert persists after removal, the malware may be scheduled to re-download. Press Win + R, type “taskschd.msc,” and look for suspicious tasks (names with random letters). Also, press Ctrl + Shift + Esc to open Task Manager, go to the “Startup” tab, and disable anything unknown.
- Update virus definitions. Go to “Virus & threat protection” > “Protection updates” and click “Check for updates.” An outdated definition may cause false positives or miss new variants.
- If the alert is a false positive, add an exclusion. Only do this if you are 100% sure the file is safe (e.g., a custom tool you wrote). Go to “Virus & threat protection” > “Manage settings” (under “Virus & threat protection settings”), scroll to “Exclusions,” click “Add or remove exclusions,” and add the file or folder path.
- Submit the file to Microsoft for analysis. If you believe it’s a false positive, go to the Microsoft Security Intelligence website and submit the file for review. This helps improve detection.
Common Mistakes
- Ignoring the alert because it appears harmless. Even if the file is a false positive, leaving it unaddressed can cause repeated pop-ups and potential risk if it’s real.
- Deleting the file without checking if it’s in use—you may get an “Access denied” error, and the malware stays.
- Adding an exclusion too quickly without verifying the file’s legitimacy. This can allow real malware to run.
- Only running a quick scan instead of a full scan; the threat may be hiding in a different location.
- Forgetting to check for scheduled tasks that re-download the malware—this is the main reason alerts return.
Tips
- Keep a record of the threat name and path—you can search online for the exact name to see if it’s known malware or a false positive.
- Use the “Offline scan” option in Windows Security if the threat is stubborn. It runs outside of Windows and can remove rootkits.
- Check the “Protection history” for multiple entries—if the same file appears many times, the malware is being re-created each time you start your PC.
- Regularly update Windows and your apps to patch vulnerabilities that malware exploits.
- If you have a second antivirus installed, temporarily disable it to see if it’s conflicting with Windows Security and causing false alerts.
Troubleshooting
- Alert keeps appearing after you deleted the file. The malware may have a parent process that re-creates it. Run a full scan, then check scheduled tasks and startup entries. Also, check the registry for run keys (open Regedit, go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run and HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run, and delete suspicious entries).
- You cannot delete the file because it’s in use. Restart in Safe Mode as described earlier. If that fails, use the “Take ownership” feature in File Explorer (right-click > Properties > Security > Advanced > Change owner) or use a command prompt as administrator to delete it with
del /f /q path. - The protection history shows “Action failed.” This often means the file is locked. Run a full scan with “Microsoft Defender Offline” (under “Scan options”).
- The alert is for a file you know is safe, but Windows keeps flagging it. Update definitions first. If it persists, submit the file to Microsoft and add an exclusion temporarily while you wait for a response.
- Windows Security is turned off or not responding. Restart the “Security Center” service (press Win + R, type “services.msc,” find “Security Center,” right-click and restart). Also, check for third-party antivirus that may have disabled it.
Frequently Asked Questions
Why does the same alert keep coming back even after I “Quarantine” it?
Quarantining only isolates the file. If another process (like a scheduled task or a script) re-creates it, the alert will return. You need to remove the source—often by deleting the file and cleaning up startup entries or scheduled tasks.
Can I just ignore the alert if I trust the file?
If you’re sure the file is safe, you can add an exclusion, but it’s better to submit it to Microsoft for analysis. Ignoring the alert without an exclusion means Windows will keep scanning and flagging it, and you might miss a real threat later.
What’s the difference between “Quarantine” and “Remove”?
Quarantine moves the file to a secure folder where it can’t run, but you can restore it if it’s a false positive. Remove deletes the file permanently. If the alert returns, the malware is being re-created, so removal alone isn’t enough.
How do I know if the alert is a false positive?
Check the file’s path and publisher. If it’s in a system folder or a known program’s folder, and the file has a digital signature, it’s likely a false positive. Search the threat name online—if other users report the same false positive, that’s a good sign. You can also upload the file to VirusTotal for a second opinion.
Will a full scan fix the problem?
A full scan will find any remaining copies of the malware, but if the malware is re-created by a remote server or a script, you need to remove the re-creation mechanism. Run a full scan, then check startup and scheduled tasks.
Can I delete the file directly from the protection history?
No, the protection history only shows the alert. You must locate the file using the path provided and delete it manually or use the “Actions” button if available (some versions allow you to “Remove” directly from the history).
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Move Data to a New Samsung Galaxy Phone
- Pixel C vs Surface Pro: Key Differences
- iPhone X vs iPhone: Key Differences Explained
- Chromebook Won’t Charge: How to Fix
- How to Delete Photos on Google Drive
- Firefox Bookmark Management Tips & Tricks