How to Remove a Virus from a Memory Card
Step-by-Step Removal
- Isolate: Remove the card from all devices (camera, phone, etc.).
- Scan: Insert into a card reader on a computer with updated antivirus (Windows Defender, Malwarebytes, Bitdefender, etc.).
- Full scan: Run a deep scan on the drive letter (e.g., E:\).
- Quarantine/Delete: Let the antivirus handle detections.
- Format (nuclear option): If infections persist, format the card (FAT32/exFAT) — erases all data.
- Verify: Re-scan after cleaning or formatting.
Prevention
- Only use the card in trusted devices.
- Don't download files to the card from unverified sources.
- Keep antivirus software current.
- Scan periodically.
- Enable the write-protect switch (if the SD card has one) when transferring.
Warning: Formatting destroys photos and videos. Backup first if possible. Some malware hides in firmware—rare but may survive a format.