Check Microsoft Defender’s Protection history before trying file recovery. A quarantined item may still be available through Windows Security, while a permanently removed item may require a clean replacement, backup, or recovery of residual data. Restore only a file you have assessed as safe; recovering it does not establish that the original detection was wrong.
Determine what Defender actually did
Open Windows Security, select Virus & threat protection, and inspect Protection history. Match the detection to the missing file’s path and time. Expand the relevant entry and read the action rather than inferring it from a notification that has disappeared.
Microsoft’s quarantine restoration instructions describe restoring eligible quarantined items through this interface. Available actions depend on the item and your permissions. On a managed work device, involve the administrator responsible for the detection.
Write down whether the item remains quarantined, was removed, or refers to a different file than the one you need. Do not expect a recovery scan to reproduce the antivirus program’s protected quarantine interface.
Choose a safe version of the file
For an installer or executable, obtain a fresh copy from its official publisher when possible. Check the publisher, version, and digital signature. A matching filename from an unrelated download site is not equivalent evidence.
For an important document, ask its sender for a clean copy or use a known backup. A file can contain both valuable content and a malicious component; the business value of the content does not make it safe to open on the affected machine.
If you believe a detection is incorrect, use the vendor or organization’s review process. Do not disable protection for the whole device merely to make a file stay in place. Keep the detection name and original path available for that assessment.
Restore an eligible quarantined item
After establishing that restoring the item is appropriate, select its matching entry in Protection history and use the available restore action. Recheck the destination afterward. If Defender detects it again, review the detection rather than repeatedly restoring the same object.
A restore action is not a general undo for every file deletion. If the original entry concerns a container or archive, verify exactly which file has returned. If the action is unavailable, the item may no longer be retained or the device policy may require an administrator.
If no retained quarantine copy is available
Check backups, authorized cloud copies, email attachments, or the original publisher. Distinguish your edited document from an unmodified original: a replacement download may not contain your local changes.
When the only relevant copy was deleted from a readable local drive, recovery software may find surviving file data. Reduce writes to that storage and save recovered files to a different device. XRecovery can scan readable storage and preview supported file types, but its recovery function does not certify that recovered content is free of malware.
Search the original partition by name, path, type, and approximate time. Export only the necessary material to a controlled destination appropriate to your environment. Have recovered content assessed before opening or distributing it, particularly where the original detection has not been resolved.
Separate restoration, safety, and completeness
A restored file may be the correct size yet still be harmful or incomplete. Security assessment and content validation are separate checks. For a document, establish that it is safe to examine, then confirm that the pages or records you need are present. Avoid enabling macros or active content simply to test whether a file opens.
When contacting your security team or administrator, provide the detection name, action, timestamp, application version, and a redacted path. Share suspected malware only through the receiving security team’s designated channel. Ordinary support correspondence should not contain malware samples, license keys, or unrelated personal documents.
If neither quarantine nor another retained copy provides the missing content, recovery depends on what remains on the original storage. No restore button or file scanner can guarantee recovery after the data has been overwritten or otherwise cleared.