How to fix Trojan: Win32/Commandrob.A!ml

Артём Иванов 0 Reputation points
2026-11-26T12:06:12.08+00:00

I downloaded the app, but it turned out to be a Trojan. Also, I allowed it in the protection log in the settings. What should I do?

Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
0 comments No comments

2 answers

Sort by: Most helpful
  1. Domic Vo 38,055 Reputation points Independent Advisor
    2026-11-26T13:18:38.2333333+00:00

    Hello,

    If Windows Defender detected the application as a Trojan and you selected Allow on device, you should revoke that permission immediately and treat the system as potentially compromised, especially if you already executed the application. Open Windows Security > Virus & threat protection > Protection history, locate the Trojan detection, and select Remove or Quarantine if available; then go to Allowed threats and select Don't allow to revoke the exception. Next, update Microsoft Defender security intelligence and run a Full scan under Virus & threat protection > Scan options. After that, run Microsoft Defender Offline scan, which restarts the computer and scans for threats before Windows fully loads. If you entered passwords or financial information while the Trojan was active, change those credentials from a different, trusted device and enable multifactor authentication where possible. If Defender cannot remove the threat or it reappears after reboot, please provide the Trojan detection name and its status in Protection History so we can determine whether further remediation is necessary.

    If my answer is useful for you, please click "Accept the answer" to support me.

    Thank you!

    Domic Vo.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-26T12:07:16.15+00:00

    Remove the Trojan from Allowed threats immediately so Microsoft Defender can detect and remediate it again.

    1. Undo “Allow on device”

    1. Disconnect the PC from the Internet.
    2. Open Start → Windows Security → Virus & threat protection.
    3. Under Current threats, select Allowed threats.
    4. Expand Trojan:Win32/Commandrob.A!ml, then select Don’t allow.

    Defender takes no action against an allowed threat; Don’t allow removes that exception so Defender can act when it encounters the file again.^1^

    Do not reopen the application, restore it, or add its folder as an exclusion.

    2. Update Defender and remove the detected files

    1. Go to Windows Security → Virus & threat protection.
    2. Under Virus & threat protection updates, select Protection updates → Check for updates.
    3. Open Protection history and expand the Trojan entry.
    4. Note the affected file path, then choose Remove or Quarantine if offered.
      • Remove deletes the file.
      • Quarantine blocks it from running.
      • Do not select Restore or Allow.^2^
    5. Delete the original downloaded installer and its containing ZIP/RAR archive, if present. Empty the Recycle Bin.
    6. If the application appears under Settings → Apps → Installed apps, remove it after Defender has cleaned the threat.

    Administrator privileges are required to review threat details in Protection history.^2^

    3. Run full and offline scans

    First run:

    Windows Security → Virus & threat protection → Scan options → Full scan → Scan now

    A full scan checks every file and program. After it completes, save all open work and run:

    Scan options → Microsoft Defender Antivirus (offline scan) → Scan now

    The computer will restart and scan outside normal Windows, where persistent malware has more difficulty hiding. After Windows restarts, review Windows Security → Virus & threat protection → Protection history for the result.^1^

    If BitLocker protects the system drive, have the recovery key available before the offline scan; Microsoft documents that BitLocker might otherwise request it during the restart.^3^

    4. If you ran the application

    Treat accounts used on that PC as potentially exposed:

    1. Complete the malware scans first.
    2. From a known-clean device, change passwords for email, Microsoft, banking, work, and other important accounts.
    3. Use unique passwords and enable multifactor authentication.
    4. Review recent sign-ins, forwarding rules, recovery information, and financial transactions.

    Microsoft recommends clearing malware before changing a compromised Microsoft account password, preventing malware on the infected PC from capturing the replacement password.^4^

    If the detection returns

    If the same threat reappears after reboot, repeat only the offline scan, because recurring detection can indicate a hidden component reinstalling it.^5^

    If Defender reports Remediation incomplete, security settings become disabled, unknown startup items appear, or the infection continues after the offline scan:

    • Back up personal documents only—not the suspicious installer or executable files.
    • Use Settings → System → Recovery → Reset this PC and choose Remove everything, or reinstall Windows from installation media. Reinstallation is the appropriate fallback when malware cannot be reliably removed.^6^
    • If this is an organization-managed computer, disconnect it and contact the IT/security team rather than resetting it yourself.

    References

    1. Virus and Threat Protection in the Windows Security App | Microsoft Support
    2. Protection History in the Windows Security App | Microsoft Support
    3. Run and review the results of a Microsoft Defender Offline scan
    4. How to recover a hacked or compromised Microsoft account | Microsoft Support
    5. Troubleshoot problems with detecting and removing malware | Microsoft Support
    6. Recovery options in Windows | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.