Tuesday, 27 November 2018

anti virus - 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.



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


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...