In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.