Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use commands to quickly invoke Windows Defender

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to use commands to quickly call Windows Defender, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

We usually use system "settings" to call Windows Defender in a click-and-click manner. If you need to customize the special needs kill plan task, or if you need to call the kill task in the software or web page, then it is most convenient to call Windows Defender by command.

Execute Windows Defender as a command, using the program MpCmdRun.exe, which is located in the installation directory of Windows Defender. The essence of the MpCmdRun.exe program lies in its rich running parameters. In this article, we will use several commonly used parameters. More parameter instructions can be obtained directly by running the following command (figure 1):

"% ProgramFiles%\ Windows Defender\ MpCmdRun.exe"

1. Carry out a quick killing.

If you want to perform a quick kill on the system, you can use the following command (figure 2):

"% ProgramFiles%\ Windows Defender\ MpCmdRun.exe"-Scan-ScanType 1

The-Scan parameter in the above command indicates that malware scanning is started, while "- ScanType 1" indicates that the scan type is fast scan.

After the command is executed, you can see that the Scan starting message is displayed in the window, and the program is silently performing a fast scan task. After the scan is completed, the scan results are displayed and the Scan finished completion information is displayed.

two。 Perform a full scan to check and kill

Similar to the previous case, if you want to invoke a full scan instead of a fast scan, simply change the parameter "- ScanType 1" in the above command to "- ScanType 2". "- ScanType 2" means full scan. The complete command is as follows:

"% ProgramFiles%\ Windows Defender\ MpCmdRun.exe"-Scan-ScanType 2

3. Establish a shortcut to check for upgrades

If you need to check for Windows Defender definition updates, you can do so with the following line of command (figure 3):

"% ProgramFiles%\ Windows Defender\ MpCmdRun.exe"-signatureupdate

The parameter "- signatureupdate" means to check for new definition updates.

4. Implement to call in software or web pages

When you want to call the above command in the software or web page, you can directly use the programming language or the function that comes with the web page editing software. For example, the system () function or popen () function can be called in C++, and the runtime.exec () function in jsp scripts can be used in web pages. Just write the above command into the specific function.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report