A connected backup drive should be treated as potentially exposed, but you can recover it with substantially lower risk by updating Windows, keeping real-time protection enabled, scanning the entire drive before opening anything, and restoring only non-executable personal files.
There is no meaningful percentage that can be calculated from the information available. “Hacked” could mean an online-account compromise that never affected the drive, or malware/ransomware with access to every mounted drive. Manual backups reduce exposure between backup sessions, but they do not protect the drive while it is connected.
Safest recovery procedure
- Prepare the new computer before connecting the drive
- Install all available Windows security updates.
- Open Windows Security → Virus & threat protection → Manage settings.
- Ensure Real-time protection is On. Real-time protection scans files as they are accessed; if another antivirus product is installed, verify under Who’s protecting me? → Manage providers that it is active instead.^1^
- Do not add the backup drive to Defender’s exclusions.
- Connect the drive, but do not open files from it
- Close any prompt offering to open the drive or run software.
- In File Explorer, right-click the drive itself and select Scan with Microsoft Defender. On Windows 11, first select Show more options if necessary.^1^
- Microsoft’s removable-drive instructions similarly specify right-clicking the drive and selecting Scan or Scan with your security software’s name.^2^
- Verify the result
- Open Windows Security → Virus & threat protection → Protection history.
- If threats were found, allow Defender to quarantine or remove them. Do not restore or allow a detected item merely because its filename appears familiar.
- If remediation fails, disconnect the drive rather than opening its contents.
- Recover only personal data
- Initially copy documents, photos, videos, music, and similar data into a newly created folder on the new computer.
- Avoid restoring programs or opening executable and script-like content from the old backup, including installers and files such as
.exe, .msi, .bat, .cmd, .scr, .js, .vbs, or .ps1.
- Treat Office files containing macros as higher risk; do not enable macros or “Enable Content” unless the file and its source are unquestionably trusted.
- Right-click the recovered folder and run Scan with Microsoft Defender again before using the files.
Do not rely on an ordinary full-system scan alone
For checking a particular USB drive, Microsoft recommends a Custom scan targeting that drive. A Defender full scan includes removable drives only when removable-drive scanning has been configured; it is not enabled for full scans by default.^3^
If the drive’s right-click scan is unavailable, use:
- Windows Security → Virus & threat protection → Scan options.
- Select Custom scan → Scan now.
- Select the external drive as the target.
If anything suspicious is detected
After removing or quarantining the detected items:
- Disconnect the backup drive.
- Save all open work.
- Open Windows Security → Virus & threat protection → Scan options.
- Select Microsoft Defender Antivirus (offline scan) and start the scan.
The computer restarts and scans from the Windows Recovery Environment, making it harder for persistent malware to hide or defend itself. Review the result afterward under Protection history.^4^
No antivirus scan can prove that every file is harmless. If Defender repeatedly detects malware, cannot remediate it, or the backup contains irreplaceable data affected by ransomware, stop accessing the drive and use a reputable malware-removal or data-recovery professional. Preserve the original drive unchanged until recovery is complete.
References
- Scan an item with Windows Security | Microsoft Support
- Antivirus and antimalware software: FAQ | Microsoft Support
- About scheduled quick or full Microsoft Defender Antivirus scans
- Virus and Threat Protection in the Windows Security App | Microsoft Support