mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-28 13:17:23 +00:00
remove 2 cmds, fix typo
This commit is contained in:
parent
96ab87948f
commit
976ad5a7c7
@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Run a scan from the command line in Windows Defender in Windows 10 (Windows 10)
|
||||
description: IT professionals can run a scan using the command line in Windows Defender in Windows 10.
|
||||
keywords: scan, command line, mpcmdrun, defender
|
||||
title: Learn how to run a scan from command line in Windows Defender (Windows 10)
|
||||
description: Windows Defender utility enables IT professionals to use command line to run antivirus scans.
|
||||
keywords: run windows defender scan, run antivirus scan from command line, run windows defender scan from command line, mpcmdrun, defender
|
||||
search.product: eADQiWindows 10XVcnh
|
||||
ms.pagetype: security
|
||||
ms.prod: w10
|
||||
@ -19,19 +19,19 @@ author: mjcaparas
|
||||
|
||||
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.
|
||||
|
||||
**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**.
|
||||
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:
|
||||
@ -43,12 +43,12 @@ MpCmdRun.exe [command] [-options]
|
||||
Command | Description
|
||||
:---|:---
|
||||
\- ? / -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
|
||||
\-GetFiles | Collects support information
|
||||
\-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
|
||||
\-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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user