1. Home
  2. Windows

Command Line Utility MpCmdRun.exe – Microsoft Security Essentials

Microsoft Security Essential is the latest anti-virus and anti-spyware application from Microsoft. It has a very user friendly basic interface but you can also use a command line utility called MpCmdRun.exe to handle it.

This utility is included within Microsoft Security Essentials and the core benefit of using it is that you can have more control over the scanning task. This utility lets you perform all of the operations of Microsoft Security Essentials  from command line, but it comes handy if  you want to update MSE using some Script or build-in Task Scheduler.

Go to %ProgramFiles%\Microsoft Security Essentials path and locate this utility there. Open the command prompt, go inside the Security essential folder, run the MpCmdRun.exe command, and it will display all options.

MpCmdRun

You can use Scan 0 switch (option) with MpCmdRun command to start the default scanning process, Scan 1 initiate quick scan and Scan 2 performs the Full system scan. In order to update MSE from the command line, use SignatureUpdate option with it. Enjoy!

Leave a comment