Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
+1 on the fact that you explained why you want to do it. – alex Dec 14 '09 at 14:39
Or else we would have though he was making a virus. – Elmo Apr 8 '13 at 20:41
up vote 11 down vote accepted

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

share|improve this answer
I'm getting "System error 5 has occurred. Access is denied." (I ran command prompt as admin). – BornToCode Feb 8 at 20:06
Hi @BornToCode - if you are running as an admin, and, your machine doesn't have multi admin levels/domain with further restrictions, this should work... I have a busy day, but, my contact details are in my profile - feel free to send me an email and I can take a quick look for you later to see if anything weird is going on/see if there is something I can do quick. – William Hilsum Feb 10 at 9:44

You must log in to answer this question.

protected by BinaryMisfit Dec 2 '10 at 16:33

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .