How does Windows 10 execute Windows Defender on the command line?

  

As we all know, Windows Defender is an anti-virus and anti-malware tool built into Windows 10. Normally, it only protects the security of the user environment in the background. Of course, when the user needs it, it can also update the definition and manually kill and kill through its simple and clear GUI graphical interface. So, how does Windows 10 execute Windows Defender on the command line? Below, Xiaobian introduces the way Windows 10 executes Windows Defender on the command line.

However, did you know that Windows Defender is in fact to support the work at the command line it? Some people have already thought of it. As long as we support the command line, we can use its features to perform unlimited customization or planning tasks.

MSASCui.exe

MSASCui.exe is an executable file for Windows Defender with GUI. Of course, it also 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 Definition :

“%ProgramFiles%\\Windows Defender\\MSASCui.exe” –Update

Hidden Mode Execution

When performing the above tasks, you can also add - The hide parameter causes it to not display graphical interface execution.

MpCmdRun.exe

MpCmdRun.exe is a console command for Windows Defender. It includes a very rich set of command line parameters. As long as you have a good imagination, you should be able to construct a lot of clever usage.

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 files or directories:

“%ProgramFiles%\\Windows Defender\\MpCmdRun.exe” -Scan -ScanType 3 -File Path

Scan Boot Sector:< Br>

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

Update Definition:

“%ProgramFiles%\\Windows Defender\\MpCmdRun .exe” –SignatureUpdate

View full parameter list:

“%ProgramFiles%\\Windows Defender\\MpCmdRun.exe”

The above is a small series for everyone to introduce Windows 10 executes Windows Defender on the command line Method. Users who don't know how to execute Windows Defender on the command line may try to follow the steps above.

Copyright © Windows knowledge All Rights Reserved