How to use Windows Defender with Command Prompt on Windows 10

Windows Central

WinC Bot
Staff member
Dec 17, 2013
73,604
63
0
Visit site
You can use Windows Defender with command lines to run the antivirus manually or to automate certain tasks, and in this guide, we show you how.
windows-defender-command-prompt.jpg

Windows Defender is the free antivirus software that Microsoft has created to offer the first line of defense against malware on PCs. The security software comes built-in on Windows 10 and Windows 8.1, and it identifies and removes viruses, spyware, rootkits and bootkits, and a number of other malicious code.
The software most of the time runs quietly in the background, and it includes a very easy to use interface. However, what you probably didn't know is that you can also use Windows Defender with command lines, which can come in handy in a number of scenarios, including when you're trying to automate certain tasks using Task Scheduler.
Interesting enough, there are at least two ways to use Windows Defender with Command Prompt: You can either use MSASCui.exe, which allows you to control the antivirus Graphical User Interface (GUI) using command lines. Or you can use MpCmdRun.exe, which is the official command line utility with more options and commands run silently in the background by default.

Full story from the WindowsCentral blog...
 

Members online

Forum statistics

Threads
323,183
Messages
2,243,404
Members
428,036
Latest member
Tallgeeselll05