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 does Windows 10 execute Windows Defender on the command line

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

Share

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

This article mainly introduces how Windows 10 executes Windows Defender on the command line. It is very detailed and has a certain reference value. Friends who are interested must read it!

Everyone knows that Windows Defender is an anti-virus and anti-malware tool built into Windows 10. Usually, it only silently protects the user environment in the background. Of course, when users need it, they can also update the definition and manually check and kill through its concise GUI graphical interface.

However, did you know that Windows Defender actually supports working on the command line? Someone must have thought that as long as we support the command line, we can use its features to perform custom or scheduled tasks.

MSASCui.exe

MSASCui.exe is an executable file for Windows Defender with GUI, and of course it itself contains a lot of command line shortcut (parameter) switches.

Quick scan after update:

"% ProgramFiles%\ Windows Defender\ MSASCui.exe"-UpdateAndQuickScan

Quick scan:

"% ProgramFiles%\ Windows Defender\ MSASCui.exe"-QuickScan

Full scan:

"% ProgramFiles%\ Windows Defender\ MSASCui.exe"-FullScan

Update the definition:

"% ProgramFiles%\ Windows Defender\ MSASCui.exe"-Update

Hidden mode execution

When performing the above tasks, you can also directly add the-hide parameter so that it does not display the graphical interface.

MpCmdRun.exe

MpCmdRun.exe is the console command of Windows Defender, which includes a wealth of command-line parameter switches, as long as you have a good imagination, you should be able to construct a lot of clever uses.

Quick scan after update:

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

Quick scan:

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

Full scan:

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

Scan a file or directory:

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

Scan the boot sector:

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

Update the definition:

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

View the complete list of parameters:

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

With such a complete command line switch, I believe you have been able to easily create a variety of Windows Defender automatic update and scan tasks, and it is also very useful for enterprise administrators' batch scripts.

The above is all the contents of the article "how Windows 10 executes Windows Defender on the command line". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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