11

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.

ᔕᖺᘎᕊ
  • 6,393
sorin
  • 12,189

1 Answers1

11

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

William Hilsum
  • 117,648