Popular Searches:

#Protection

#Virus

#PC

#Phishing

#Security

#Windows

#Antivirus

#Passwords

Windows Defender Keeps Finding the Same Trojan: What Is Putting It Back?


Windows Defender keeps finding trojan again? Removing it is not enough — something is putting it back. Here is how to find it and stop it.


Did Windows Defender just find the same trojan again?

Yes — and clicking Remove one more time will not fix it. When Windows Defender keeps finding trojan on the same PC, it means the cleanup never finished, something on your PC is reinstalling it, or the file that brought it in is still sitting on your disk. The detection is not the problem anymore. The source is. This post shows you how to find what is putting it back, in the order that wastes the least of your time.

Start with the uncomfortable truth: Defender did its job. It caught the file, quarantined it, and told you about it. If the same name keeps appearing, the file is being replaced after every removal — and a scanner can only remove what is there at the moment it runs. It cannot stop the thing that puts the file back five minutes later. That is your job now, and it is a detective job, not a scanning job.

windows defender keeps finding trojan — what is putting the same trojan back on your PC

Why does Windows Defender keep finding trojan after I remove it?

Because removal and cleanup are two different jobs, and Defender only did the first one. Quarantine isolates the file. Remove deletes it. Neither one touches whatever put the file there in the first place. Think of it like mopping a floor under a leaking pipe: the floor is clean for an hour, then it is wet again, and mopping harder does not fix the pipe.

There are only three buckets the cause falls into, and you can tell which one you are in within five minutes. First, the cleanup did not finish — Defender itself tells you this when a card says “Remediation incomplete.” Second, you put it back yourself without realizing it, usually by clicking Restore instead of Remove, or by allowing the file and forgetting about it. Third, something else on the PC is reinstalling it on a schedule: a startup program, a scheduled task, a browser extension, a USB drive you keep plugging in, or a file that syncs back from the cloud every time you delete the local copy. The rest of this post works through those three buckets in order, because the first two take minutes to rule out and the third is where the real hunt begins.

What do the cards in Protection history actually tell me?

Everything you need to start. Open Windows Security, click Virus & threat protection, then Protection history. You need admin privileges on the device to see the threat details — Microsoft says so on the page itself — so if the details look greyed out, you are signed in to a standard account and need an admin to look with you.

First, check the dates. Protection history only keeps events for two weeks, after which they disappear from the list. If the first detection was more than two weeks ago, the earliest cards are already gone — take a screenshot of what is left now, before the rest expires too. The screenshot matters because a technician, or your bank, may ask for the exact detection name and date later.

Then read the newest card and compare it with the ones before it. The two details that matter are the file path and the status. The status wording is Microsoft’s own: “Threat quarantined” means the file is isolated but not yet removed, “Threat blocked” means Defender already removed it, and “Remediation incomplete” means Defender started cleaning but could not finish — expand that card and follow its extra steps before doing anything else.

What the cards showWhat it usually meansWhat to do next
Same detection name, same file path, every timeThe same file is being restored or re-downloaded to the same place — check Restore, Allowed threats, and the installer in DownloadsRule out the self-inflicted causes in the next section first
Same detection name, different file path each timeSomething is generating fresh copies — a dropper program or a script that rebuilds the file on a scheduleSkip to the startup and scheduled-task hunt — the source is a program, not a file
Newest card says “Remediation incomplete”Defender started cleaning up but could not finish — it is telling you directly that the job is half doneExpand the card and follow the additional steps it lists before doing anything else
Cards appear only after you open a particular program or browserThe trigger is that program — a cracked tool, a game cheat, or an extension that re-downloads the file when it startsUninstall that program or remove that extension, then scan again
No card at all — the “alert” only appears in your browserThere is no Defender detection. That is a scareware web page, not a real alertClose the tab, do not call any number on it — here is what to do when a pop-up says your computer is infected

Could I be putting the trojan back myself?

More often than anyone admits, yes — and the first place to look is the button you clicked. In Protection history, a quarantined threat offers two actions: Remove and Restore. Remove deletes it. Restore puts the file back on your device — and Microsoft’s own page warns that Defender will once again detect it as a threat and create a new “Threat found – action needed” item. If you ever clicked Restore because you thought it meant “put things back to normal,” you built yourself a loop: Defender detects, you restore, Defender detects again. Check the newest card, and if the file path matches a file you restored, that is your answer. Remove it this time, and do not restore it again.

The second self-inflicted cause is the Allowed threats list. When a detection says “Threat found – action needed,” the Actions dropdown offers Quarantine or Allow on device. Choosing Allow tells Defender the file is safe, and Defender will let it run — and keep letting it run — until you undo that choice. Microsoft’s own caution is blunt: if you are not sure the item is safe, choose Quarantine. To undo an Allow, open Windows Security, go to Virus & threat protection, then Protection history, and open the Allowed threats page to remove the file from the allowed list. If the same trojan has been returning for weeks, check that list before you check anything else. A file you allowed months ago and forgot about is a very common cause.

The third is the installer still sitting in Downloads. The trojan post this site published — Windows Defender Found a Trojan: What It Means and What to Do Next — makes this point in its removal steps: deleting the quarantined file while leaving the installer in Downloads is how the same detection comes back next week. Open Downloads and look for the file that brought it in — the cracked program, the game cheat, the “free full version” installer. Delete it. If it was a program you installed, uninstall the program itself from Settings, then Apps, then Installed apps. A trojan that arrives with a program you keep is not a recurrence mystery. It is a program you have not removed yet.

What is reinstalling the trojan while I am not looking?

If the first three checks came back clean, something on the PC is doing the reinstalling on its own. Malware that wants to survive learns to come back, and it has a short list of ways to do it. Here are the six, with how each one gives itself away:

What puts it backHow you spot itWhat to do
A scheduled taskA task in Task Scheduler that runs at login or every hour, pointing at a strange file pathOpen Task Scheduler, check the Task Scheduler Library for tasks created around the first detection date, disable the suspicious one, then delete it
A startup programAn unfamiliar entry in Startup apps that appears after every restart, or a program you do not remember installingPress Ctrl + Shift + Esc for Task Manager, open Startup apps, disable anything you do not recognize — then find it in Autoruns and delete it
A browser extensionA new extension you did not install, or one that appeared after the first detection — often one that promises free movies, free VPN, or couponsChrome or Edge: three-dot menu, Extensions, Manage extensions — remove anything you did not deliberately install, then restart the browser
An infected USB driveDetections appear shortly after you plug in the same drive, or the drive contains a file Defender flags when scannedUnplug the drive, right-click it in File Explorer and choose Scan with Microsoft Defender, and do not plug it into another PC until it is clean
A cloud-synced fileThe file lives in a OneDrive, Google Drive, or Dropbox folder — you delete the local copy and it syncs back from another devicePause syncing, delete the file from the synced folder on every device that has it, then resume syncing and scan again
An old restore pointThe detections return after you use System Restore to roll the PC backDo not use System Restore to fix this — a restore point made while the malware was already present can bring its registry entries and services back with it

Two of those deserve a closer look, because they are the ones people miss. The first is the browser extension. An extension runs every time the browser opens, with permission to download files — and a malicious one can quietly re-download the trojan every time you start Chrome or Edge. If your detections appear shortly after you open the browser, or the file path points at a browser cache or downloads folder, check extensions before you check anything else. Remove anything you did not deliberately install, and anything installed on the same day as the first detection.

The second is the cloud-synced file. This one fools careful people. You find the file, delete it, scan, and everything is clean — then tomorrow it is back. What happened is that the file also lives in a folder that syncs to the cloud, and another device still has its copy. The sync service sees the file is missing locally and helpfully restores it. Pause syncing first, delete the file from the synced folder on every device, and check the other devices before you turn syncing back on. If you only clean one device, the cloud will keep handing the file back.

How do I find what is starting it?

The tool for this job is Autoruns, a free utility from Microsoft’s own Sysinternals team. It shows everything configured to run when Windows starts or when you sign in — startup programs, registry Run keys, services, browser helper objects, and scheduled tasks — in one list. That is exactly the list a persistent trojan has to appear on, because something has to launch it after every restart.

Here is how to use it without breaking anything. Download Autoruns from Microsoft’s Sysinternals site — search “Microsoft Sysinternals Autoruns” and take the official Microsoft Learn page. Run it as administrator. In the Options menu, turn on “Hide Signed Microsoft Entries” — that hides everything Microsoft itself put there and leaves only third-party items, which is where your trojan’s launcher will be. Then look at two tabs: Logon, which shows what starts when you sign in, and Scheduled Tasks, which shows what runs on a timer. Look for entries with no publisher, entries pointing at files in strange places like a Temp folder or a hidden folder in your user profile, and entries created around the date of the first detection. To test a suspect entry, uncheck its box — that disables it without deleting it. Restart, and see whether the detection stops. If it does, you found it: go back and delete the entry, then delete the file it pointed at. If you are not sure about an entry, uncheck it and ask someone who knows — disabling is reversible, deleting is not.

If you would rather stay inside Windows itself, Task Scheduler is the built-in version of the same check. Press Start, type Task Scheduler, and open it. Click Task Scheduler Library in the left panel. Look for a task that runs at logon or every hour, created on the same day as your first detection, with an action pointing at an unfamiliar file. Right-click it, choose Disable, restart, and see if the detections stop. If they do, delete the task. While you are there, check Task Manager’s Startup apps tab too — press Ctrl + Shift + Esc, click Startup apps, and disable anything you do not recognize.

A note on what not to do here: do not delete startup entries at random. Most of them belong to programs you use — your audio driver, your cloud sync, your printer software. The rule is simple: if you recognize the publisher and the program, leave it alone. If you do not recognize it, cannot find it in Settings under Installed apps, and it points at a file in a Temp folder or a hidden folder, it is a suspect. When in doubt, disable first and delete later.

When does the offline scan finish the job?

After you have removed the source — the task, the startup entry, the extension, the installer — the offline scan is the closer. Microsoft Defender Antivirus (offline scan) restarts your PC and scans before Windows loads, in the Windows Recovery Environment, where persistent malware has a harder time hiding. That is the whole point: a trojan that protects itself while Windows is running cannot protect itself before Windows starts.

Run it only after the source hunt, not instead of it. The offline scan removes the file that is there right now; it does not remove the scheduled task that will put a fresh copy there tomorrow. The order is: find and disable the source, delete the file, then run the offline scan to catch anything the source left behind. To run it, open Windows Security, click Virus & threat protection, then Scan options, choose Microsoft Defender Antivirus (offline scan), and click Scan now. Save any open files first — the restart is immediate. When it finishes, your PC restarts again, and you read the results in Protection history, where the scan records what it found.

Then run a Full scan as the confirmation pass. A full scan checks every file and program on the device and takes a while — let it finish. If both scans come back clean and no new card appears in Protection history over the next few days, the loop is broken. If a new card appears, read it the way the table above describes: same path means the source is still there, different path means something is still generating copies. Go back to the hunt with the new path as your clue. And for the general steps that apply to any detection — not just a returning trojan — here is what to do when Windows Defender finds a threat, including the second-opinion scan that confirms a PC is actually clean.

What if it still comes back after all that?

Stop repeating the same scans. If you have removed the source, run the offline scan and a full scan, and the same trojan still returns, the problem is beyond what a home cleanup can reach — it may be hiding in a place scans do not look, or it may have changed something on the PC that keeps rebuilding it. Repeating the same scan a sixth time will not find what the first five missed.

Take the PC to a local repair shop you trust — a real shop with a real address, not a phone number from a pop-up and not a remote-access offer from a stranger. Bring the screenshot of the Protection history card with the exact detection name and the file path. A technician can look at what starts with Windows, what is scheduled to run, and what is hiding in places a scan does not reach. That is the right call at this point, and it is cheaper than living with a trojan that steals a little more every week.

Two final checks before you go. First, if the PC still runs Windows 10, know that Microsoft ended support for it on 14 October 2025 — it no longer receives security updates, and an unpatched system is easier to reinfect than a patched one. The full answer — upgrade or Extended Security Updates — is in Is Windows Defender Enough to Protect Your PC? The Honest Answer. Second, if you opened the trojan file before Defender first caught it, change your passwords from a different device — your phone, not the infected PC — starting with email and banking. The trojan post walks through exactly which accounts and in what order, so I will not repeat its table here: Windows Defender Found a Trojan: What It Means and What to Do Next.

My position is simple: when Windows Defender keeps finding trojan, it is not a Defender failure. Defender is catching it every single time — that is the protection working. The failure is the source still sitting on your PC, putting the file back after every removal. Find the source, delete it, run the offline scan, and watch Protection history for a few days. If nothing new appears, you fixed it. If it comes back after all of that, get hands-on help instead of scanning again.

How I checked this

I did not infect a PC or run a trojan for this post, and nothing in it claims a test I did not run. Here is what I actually did, on 22 November 2026: I opened Microsoft Support’s Protection History page and read the exact meanings of all four alert statuses, the two-week retention note, and the admin-privilege requirement — including Microsoft’s own warning that restoring a quarantined file puts it back where Defender will detect it again. I opened Microsoft Learn’s Autoruns page and read what the tool shows and how its Hide Signed Microsoft Entries filter, disable checkbox, and delete action work. I also read this site’s own trojan post and threat-found refresh so this post does not repeat their removal steps or steps table. The offline-scan behavior in this post was verified live on 20 November 2026, when the trojan post’s research opened Microsoft’s Virus & threat protection page and read the four scan options and the offline scan’s restart and Windows Recovery Environment behavior; the page’s URL returned 404 on re-check on 22 November 2026, so this post links out only to the Protection History page, which was verified live the same day. Figures in this post are Microsoft’s own, dated, and linked below.

Frequently asked questions

Why does Windows Defender keep finding the same trojan?

Something is putting the file back after every removal. The three usual causes are a cleanup that never finished, a file you restored or allowed yourself, or another program reinstalling it — a scheduled task, a startup entry, a browser extension, an infected USB drive, or a file syncing back from the cloud. Clicking Remove again will not fix it; you have to find the source.

I removed it from quarantine — why did it come back?

Because quarantine and removal only deal with the file itself, not with whatever put it there. If a scheduled task, a startup program, or a browser extension reinstalls the file, Defender will find it again the next time it runs. Check Protection history for the file path, then hunt for the source — a task, a startup entry, or an extension created around the date of the first detection.

Does “Remediation incomplete” mean the trojan is still there?

It means Defender started cleaning up but could not finish. Expand the card in Protection history and follow the additional steps it lists before doing anything else. That status is Defender telling you directly that the cleanup failed — it is not a new infection, and it is the first thing to rule out.

Can a browser extension reinstall a trojan?

Yes. An extension runs every time the browser opens and can download files, so a malicious one can quietly re-download the trojan each time you start Chrome or Edge. If detections appear shortly after you open the browser, check your extensions — Chrome or Edge, three-dot menu, Extensions, Manage extensions — and remove anything you did not deliberately install.

Can a USB drive or cloud sync bring a trojan back?

Yes, both. An infected USB drive can reintroduce the file every time you plug it in — scan the drive with Microsoft Defender before using it again. A file in a synced folder can come back from another device through OneDrive, Google Drive, or Dropbox — pause syncing, delete the file from the synced folder on every device, then resume syncing and scan again.

Will the offline scan remove a trojan that keeps coming back?

It removes the file that is there right now, but it does not remove the source that puts it back. Run the offline scan after you have found and disabled the source — it restarts the PC and scans before Windows loads, in the Windows Recovery Environment, where persistent malware has a harder time hiding. Then run a Full scan to confirm, and watch Protection history for a few days.

Should I reset my PC if Defender keeps finding the same trojan?

Only as a last resort, after the source hunt and the offline scan have both failed. Back up your files first, then use Settings, System, Recovery, Reset PC. Before that step, consider a local repair shop you trust — a technician can find a persistent source faster than a reset, and a reset will not help if the file comes back from a USB drive or a cloud folder you plug back in afterwards.

Sources: Microsoft Support, “Protection History in the Windows Security App,” checked 22 November 2026; Microsoft Learn, “Autoruns – Sysinternals,” published 17 June 2026, checked 22 November 2026; Microsoft Support, “Virus and threat protection in the Windows Security app,” checked 20 November 2026; Microsoft Security Intelligence, Trojan:Script/Wacatac, published 6 September 2023, updated 8 January 2026. Read Microsoft’s own explanation of the alert statuses here: Microsoft Support: Protection History in the Windows Security App.