Forum Discussion
How to recover files deleted or quarantined by windows defender on Windows 11?
Just in case anyone still got this issue, the method shown in this article https://learn.microsoft.com/en-us/defender-endpoint/restore-quarantined-files-microsoft-defender-antivirus worked for me.
Note that you probably should uninstall the app version of Microsoft Defender in Start Menu (which honestly I don't think perform any better than the system built-in Windows Defender, just that it allow remote access to the protection history without being able to perform any action to it) to prevent it from quarantining the file again, and the command in the article only works in cmd, not PowerShell.
Also, the actual command to restore specific file might not work, so maybe try using
MpCmdRun.exe -Restore -ListAllinstead.
Assuming you remove the app version of Microsoft Defender, after restoring, the built-in version of Windows Defender should kick in and quarantine the file again, and you can allow the file there to actually restore it.