查看: 2408|回复: 15
收起左侧

[一般话题] MpCmdRun.exe 命令行几个新参数。

[复制链接]
ELOHIM
发表于 2019-8-15 10:01:21 | 显示全部楼层 |阅读模式
本帖最后由 ELOHIM 于 2019-8-15 10:08 编辑

全部用户可用参数如下:



Microsoft Antimalware Service Command LineUtility (c) 2006-2018 Microsoft Corp

Use this tool to automate and troubleshootMicrosoft Antimalware Service



##

##Usage:

##MpCmdRun.exe [command] [-options]

##

##Command Description

##  -? / -h                                    Displaysall available options

##                                             for this tool

##  -Scan [-ScanType #] [-File <path> [-DisableRemediation][-BootSectorScan]]

##        [-Timeout <days>]

##        [-Cancel]

##                                             Scans for malicious software

##  -Trace [-Grouping #] [-Level #]            Starts diagnostic tracing

##  -GetFiles                                  Collects supportinformation

##  -GetFilesDiagTrack                         Same as Getfiles butoutputs to

##                                             temporary DiagTrack folder

##  -RemoveDefinitions [-All]                  Restores the installed

##                                              signaturedefinitions

##                                             to a previous backup copy or to

##                                             the original default set of

##                                              signatures

##                      [-Engine]               Restore the installed engine to

##                                             the previous version saved

##                      [-DynamicSignatures]    Removes only the dynamically

##                                              downloadedsignatures

##  -SignatureUpdate [-UNC | -MMPC]            Checks for new definition updates

##  -Restore  [-ListAll | [[-Name<name>] [-All] | [-FilePath <filePath>]] [-Path <path>]]  Restore or list

##                                                               quarantineditem(s)

##  -AddDynamicSignature [-Path]               Loads a dynamic signature

##  -ListAllDynamicSignatures                  List the loaded dynamicsignatures

##  -RemoveDynamicSignature [-SignatureSetID]  Removes a dynamic signature

##  -CheckExclusion -path <path>               Checks whether path is excluded

##

##Additional Information:

##

##Support information will be in thefollowing directory:

##C:\ProgramData\Microsoft\WindowsDefender\Support

##

##  -Scan [-ScanType value]

##       0  Default, according to yourconfiguration

##       1  Quick scan

##       2  Full system scan

##       3  File and directory custom scan

##

##          [-File <path>]

##                Indicates the file ordirectory  to be scanned, only valid forcustom scan.

##

##          [-DisableRemediation]

##                This option is valid only forcustom scan.

##                When specified:

##                  - File exclusions areignored.

##                  - Archive files are scanned.

##                  - Actions are not appliedafter detection.

##                  - Event log entries are notwritten after detection.

##                  - Detections from the customscan are not displayed in the user interface.

##                  - The console output willshow the list of detections from the custom scan.

##

##          [-BootSectorScan]

##                Enables boot sector scanning;only valid for custom scan.

##

##          [-Timeout <days>]

##                Timeout in days; maximum valueis 30.

##                If this parameter is notspecified, default value is 7 days for full scan and 1 day for all other scans.

##

##          [-Cancel]

##                Try to cancel any ongoing quickor full scan.

##

##     Return code is

##     0    if no malware is found ormalware is successfully remediated and no additional user action is required

##     2    if malware is found and notremediated or additional user action is required to complete remediation orthere is error in scanning.  Please checkHistory for more information.

##

##  -Trace [-Grouping value] [-Level value]

##       Begins tracing Microsoft Antimalware Service's actions.

##       You can specify the components for which tracing is enabled and

##       how much information is recorded.

##       If no component is specified, all the components will be logged.

##       If no level is specified, the Error, Warning and Informational levels

##       will be logged. The data will be stored in the support directory

##       as a file having the current timestamp in its name and bearing

##       the extension BIN.

##

##       [-Grouping]

##       0x1    Service

##       0x2    Malware Protection Engine

##       0x4    User Interface

##       0x8    Real-Time Protection

##       0x10   Scheduled actions

##       0x20   WMI

##       0x40   NIS/GAPA

##       0x80   Windows Security Center

##

##       [-Level]

##       0x1    Errors

##       0x2    Warnings

##       0x4    Informational messages

##       0x8    Function calls

##       0x10   Verbose

##       0x20   Performance

##

##  -GetFiles

##       Gathers the following log files and packages them together in a

##       compressed file in the support directory

##

##       - Any trace files from Microsoft Antimalware Service

##       - The Windows Update history log

##       - All Microsoft Antimalware Service events from the System event log

##       - All relevant Microsoft Antimalware Service registry locations

##       - The log file of this tool

##       - The log file of the signature update helper tool

##

##  -GetFilesDiagTrack

##       Same as GetFiles, but outputs the CAB file to the temp DiagTrack

##       directory

##

##  -RemoveDefinitions

##       Restores the last set of signature definitions

##

##       [-Engine]

##       Restores the last saved engine

##       Use this option if the latest engine contains a known issue.

##

##       [-All]

##       Removes any installed signature and engine files. Use this

##       option if you have difficulties trying to update signatures.

##

##       [-DynamicSignatures]

##       Removes all Dynamic Signatures.

##

##  -SignatureUpdate

##       Checks for new definition updates

##

##       [-UNC [-Path <path>]]

##       Performs update directly from UNC file share specified in <path>

##       If -Path is not specified, update will be performed directly from the

##             preconfigured UNC location

##

##       [-MMPC]

##       Performs update directly from Microsoft Malware Protection Center

##

##  -Restore

##       [-ListAll]

##       List all items that were quarantined

##

##       [-Name <name>]

##       Restores the most recently quarantined item based on threat name

##       One Threat can map to more than one file

##

##       [-All]

##       Restores all the quarantined items based on name

##

##       [-FilePath <filePath>]

##       Restores quarantined item based on file path

##

##       [-Path]

##       Specify the path where the quarantined items will be restored.

##       If not specified, the item will be restored to the original path.

##  -AddDynamicSignature -Path <path>

##       Adds a Dynamic Signature specified by <path>

##

##  -ListAllDynamicSignatures

##       Lists SignatureSet ID's of all Dynamic Signatures added to the client

##       via MAPS and MPCMDRUN -AddDynamicSignature

##

##  -RemoveDynamicSignature -SignatureSetID <SignatureSetID>

##       Removes a Dynamic Signature specified by <SignatureSetID>

##

##  -CheckExclusion -path <path>

##       Checks whether <path> is excluded. It can be either a path, or afile.




你的WD云足够稳定吗?

评分

参与人数 2人气 +5 收起 理由
HEMM + 3 看不懂!请重写一遍
为你心碎 + 2

查看全部评分

为你心碎
发表于 2019-8-15 10:45:06 | 显示全部楼层
普通使用者,看不懂

评分

参与人数 1人气 +1 收起 理由
ELOHIM + 1 感谢解答: )

查看全部评分

Nokia8
头像被屏蔽
发表于 2019-8-15 11:12:32 | 显示全部楼层
命令行最好别用,交给WD更安心
静影沉璧
发表于 2019-8-15 11:29:42 | 显示全部楼层
我jio得挺稳的,毕竟我这边网络环境不好,现在这样不错了
ELOHIM
 楼主| 发表于 2019-8-15 12:31:14 | 显示全部楼层
为你心碎 发表于 2019-8-15 10:45
普通使用者,看不懂

你又谦虚了,下次给大家讲一下怎么开发驱动程序好不好。。
ELOHIM
 楼主| 发表于 2019-8-15 12:31:43 | 显示全部楼层
Nokia8 发表于 2019-8-15 11:12
命令行最好别用,交给WD更安心

我对你的话无话可说。
回贴表示一下。
ELOHIM
 楼主| 发表于 2019-8-15 12:32:09 | 显示全部楼层
静影沉璧 发表于 2019-8-15 11:29
我jio得挺稳的,毕竟我这边网络环境不好,现在这样不错了


可是我的不稳。。。。。。。
静影沉璧
发表于 2019-8-15 12:33:23 | 显示全部楼层
ELOHIM 发表于 2019-8-15 12:32
可是我的不稳。。。。。。。

有云杀就好
可以开零容忍
为你心碎
发表于 2019-8-15 13:13:23 | 显示全部楼层
ELOHIM 发表于 2019-8-15 12:31
你又谦虚了,下次给大家讲一下怎么开发驱动程序好不好。。

不会,可以讲下怎么安装和卸载程序
HEMM
发表于 2019-8-15 15:23:05 | 显示全部楼层
本帖最后由 HEMM 于 2019-8-15 15:29 编辑

使用系统默认设置,默认默认默认,发现也没什么不好的,不作死中标几率低,反正最近也没啥想玩的游戏...........野站逛的少了,好奇心收敛了,中标率大降。
参数有嘛用......好麻烦哦....
要是BUG10的游戏兼容参数我可能会复制一遍,虽然指不准什么时候来个一崩,记录然后反馈啦,等个上百万年,当程序员看到成海的反馈内其中有一粒是你的反馈并在程序员心情极佳,有闲心并且唤醒了工作之魂,那么可能有一丝兼容的希望,记住不要放弃!希望虽然飘渺但是这是欺骗自己,让自己好过一点儿的最佳理由。
那个反馈记录体积有点儿酷哦~
您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2024-4-25 13:03 , Processed in 0.134105 second(s), 18 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表