remove 2 cmds, fix typo

This commit is contained in:
Joey Caparas 2016-08-01 10:40:36 +10:00
parent 96ab87948f
commit 976ad5a7c7

View File

@ -1,7 +1,7 @@
--- ---
title: Run a scan from the command line in Windows Defender in Windows 10 (Windows 10) title: Learn how to run a scan from command line in Windows Defender (Windows 10)
description: IT professionals can run a scan using the command line in Windows Defender in Windows 10. description: Windows Defender utility enables IT professionals to use command line to run antivirus scans.
keywords: scan, command line, mpcmdrun, defender keywords: run windows defender scan, run antivirus scan from command line, run windows defender scan from command line, mpcmdrun, defender
search.product: eADQiWindows 10XVcnh search.product: eADQiWindows 10XVcnh
ms.pagetype: security ms.pagetype: security
ms.prod: w10 ms.prod: w10
@ -19,19 +19,19 @@ author: mjcaparas
IT professionals can use a command-line utility to run a Windows Defender scan. IT professionals can use a command-line utility to run a Windows Defender scan.
The utility is available in _%Program Files%\Windows Defender\MpCmdRun.exe_ The utility is available in _%Program Files%\Windows Defender\MpCmdRun.exe_.
This utility can be handy when you want to automate the use of Windows Defender. This utility can be handy when you want to automate the use of Windows Defender.
**To run a full system scan from the command line** **To run a quick scan from the command line**
1. Click **Start**, type **cmd**, and press **Enter**. 1. Click **Start**, type **cmd**, and press **Enter**.
2. Navigate to _%ProgramFiles%\Windows Defender_ and enter the following command, and press **Enter**: 2. Navigate to _%ProgramFiles%\Windows Defender_ and enter the following command, and press **Enter**:
``` ```
C:\Program Files\Windows Defender\mpcmdrun.exe -scan -scantype 2 C:\Program Files\Windows Defender\mpcmdrun.exe -scan -scantype 1
``` ```
The full scan will start. When the scan completes, you'll see a message indicating that the scan is finished. The quick scan will start. When the scan completes, you'll see a message indicating that the scan is finished.
The utility also provides other commands that you can run: The utility also provides other commands that you can run:
@ -43,12 +43,12 @@ MpCmdRun.exe [command] [-options]
Command | Description Command | Description
:---|:--- :---|:---
\- ? / -h | Displays all available options for the tool \- ? / -h | Displays all available options for the tool
\-Scan [-ScanType #] [-File <path> [-DisableRemediation] [-BootSectorScan]][-Timeout <days>] | Scans for malicious softare \-Scan [-ScanType #] [-File <path> [-DisableRemediation] [-BootSectorScan]][-Timeout <days>] | Scans for malicious software
\-Trace [-Grouping #] [-Level #]| Starts diagnostic tracing \-Trace [-Grouping #] [-Level #]| Starts diagnostic tracing
\-GetFiles | Collects support information \-GetFiles | Collects support information
\-RemoveDefinitions [-All] | Restores the installed signature definitions to a previous backup copy or to the original default set of signatures \-RemoveDefinitions [-All] | Restores the installed signature definitions to a previous backup copy or to the original default set of signatures
\-AddDynamicSignature [-Path] | Loads a dyanmic signature \-AddDynamicSignature [-Path] | Loads a dynamic signature
\-ListAllDynamicSignature [-Path] | Lists the loaded dynamic signatures \-ListAllDynamicSignature [-Path] | Lists the loaded dynamic signatures
\-RemoveDynamicSignature [-SignatureSetID] | Removes a dynamic signature \-RemoveDynamicSignature [-SignatureSetID] | Removes a dynamic signature
\-EnableIntegrityServices | Enables integrity services
\-SubmitSamples | Submit all sample requests The command-line utility provides detailed information on the other commands supported by the tool.