The source of this tutorial is this website.
If you want to use the BootSectorScan option then this tutorial doesn’t help you.
The command can be found into this folder and all arguments will be shown using the /? for help.
1 2 3 4 5 6 7 8 9 10 | C:\Program Files\Windows Defender>mpcmdrun.exe /? Microsoft Antimalware Service Command Line Utility (c) 2006-2015 Microsoft Corp Use this tool to automate and troubleshoot Microsoft Antimalware Service Usage: MpCmdRun.exe [command] [-options] Command Description -? / -h Displays all available options for this tool |
The main command some with this basically 11 commands:
1 2 3 4 5 6 7 8 9 10 11 | Scan Trace GetFiles RemoveDefinitions SignatureUpdate Restore AddDynamicSignature ListAllDynamicSignature RemoveDynamicSignature EnableIntegrityService SubmitSample |
One example with multiple arguments: -scan -scantype X -path -disableremediation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | scan - as name suggests, it is used to scan file/folder. scantype - defines which type of scan you want, quick scan, full scan or custom scan. ‘X‘ is a number ranging from 0 to 3. All options are explained below: 0 – Default Scan. Is this by default Full Scan for MSE. 1 – Quick Scan. Quick scans your PC. This option scans PC’s critical areas (like critical Windows files, registry, etc.) for all known threats (whether severe or minor) and thereby reduce scan time. 2 – Full Scan. Scan your whole PC and also full scan is only needed when quick scan detects something 3 – Custom Scan. Scan only the file/folder you define in <path>. file - defines the path for custom scan, therefore its needed with -scantype 3. disableremediation - option is catch-everything-do-nothing kind of thing and its available with Custom Scan i.e -scantype 3 only. |