How to disable/enable Microsoft Security Essentials from the command line?

I would like to know how to disable and enable Microsoft Security Essentials from the command line.

This is a common procedure on build machines in order to speed-up the build process.

2

1 Answer

To disable from the (elevated) command line:

net stop MsMpSvc

To start from the (elevated) command line:

net start MsMpSvc

However, you may get similar results by simply going in to the configuration and disable scanning on your solutions/build folder

2

You Might Also Like