Skip to content

Commit a483abb

Browse files
authored
Merge pull request #3000 from YongRhee-MSFT/docs-editor/restore-quarantined-files-micr-1741103766
Update restore-quarantined-files-microsoft-defender-antivirus.md
2 parents 2064b55 + 77d00e5 commit a483abb

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

defender-endpoint/restore-quarantined-files-microsoft-defender-antivirus.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ms.localizationpriority: medium
66
author: emmwalshh
77
ms.author: ewalsh
88
ms.custom: nextgen
9-
ms.date: 08/28/2023
10-
ms.reviewer: pahuijbr
9+
ms.date: 03/04/2025
10+
ms.reviewer: yongrhee, pahuijbr
1111
manager: deniseb
1212
ms.subservice: ngp
1313
ms.topic: conceptual
@@ -33,6 +33,8 @@ search.appverid: met150
3333

3434
Depending on how Microsoft Defender Antivirus is configured, it quarantines suspicious files. If you're certain a quarantined file isn't a threat, you can restore it on your Windows device.
3535

36+
### Using the Windows Security app
37+
3638
1. On your Windows device, open **Windows Security**.
3739

3840
2. Select **Virus & threat protection** and then, under **Current threats**, select **Protection history**.
@@ -41,24 +43,33 @@ Depending on how Microsoft Defender Antivirus is configured, it quarantines susp
4143

4244
4. Select an item you want to keep, and choose an action, such as **Restore**.
4345

44-
> [!TIP]
45-
> You can also restore a file from quarantine by using Command Prompt. See [Restore file from quarantine](respond-file-alerts.md#restore-file-from-quarantine).
46+
### Using the MpCmdRun command line
47+
48+
1. Open Command Prompt as an administrator.
49+
50+
2. Type the following command, and then press **Enter**:
51+
52+
```dos
53+
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -Restore -Name <filename>
54+
```
55+
56+
### Download or collect the file
57+
58+
Selecting **Download file** from the response actions allows you to download a local, password-protected .zip archive containing your file. A flyout appears where you can record a reason for downloading the file, and set a password. By default, you should be able to download files that are in quarantine.
59+
60+
The **Download file** button can have the following states:
61+
62+
- **Active** - You're able to collect the file.
63+
- **Disabled** - If the button is grayed out or disabled during an active collection attempt, you might not have appropriate permissions to collect files.
4664

65+
For more information, see [Download or collect file](/defender-endpoint/respond-file-alerts#download-or-collect-file).
4766

4867
## See also
4968

5069
- [Configure remediation for scans](configure-remediation-microsoft-defender-antivirus.md)
5170
- [Review scan results](review-scan-results-microsoft-defender-antivirus.md)
71+
- [Address false positives/negatives in Microsoft Defender for Endpoint](/defender-endpoint/defender-endpoint-false-positives-negatives)
5272

53-
> [!TIP]
54-
> If you're looking for Antivirus related information for other platforms, see:
55-
> - [Set preferences for Microsoft Defender for Endpoint on macOS](mac-preferences.md)
56-
> - [Microsoft Defender for Endpoint on Mac](microsoft-defender-endpoint-mac.md)
57-
> - [macOS Antivirus policy settings for Microsoft Defender Antivirus for Intune](/mem/intune/protect/antivirus-microsoft-defender-settings-macos)
58-
> - [Set preferences for Microsoft Defender for Endpoint on Linux](linux-preferences.md)
59-
> - [Microsoft Defender for Endpoint on Linux](microsoft-defender-endpoint-linux.md)
60-
> - [Configure Defender for Endpoint on Android features](android-configure.md)
61-
> - [Configure Microsoft Defender for Endpoint on iOS features](ios-configure-features.md)
6273

6374
[!INCLUDE [Microsoft Defender for Endpoint Tech Community](../includes/defender-mde-techcommunity.md)]
6475

0 commit comments

Comments
 (0)