Stop MsMpSvc service or task without uninstalling the product

I need to stop the MsMpSvc service temporarily.
sc stop MsMpSvc /f

Open in new window

does not work due to restrictions by Microsoft and I am unable to kill the process from Task Manager. Anti-Malware service MsMPSvc is running with the options greyed out.

I have sufficient permissions on the machine. I am a domain admin.
 
Is there another way that I can force kill the task from command line? I do not want to uninstall the product.
 
Thanks for your help.
LVL 1
the_omnificAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
That is by design. Microsoft AntiMalware Service had a bug and malware authors took advantage of it. (FAKEAV.EXE) .. Add exclusions (file/directory) .. The simple answer is if you can stop it so can malware.
the_omnificAuthor Commented:
Yeah I am aware that this release is by design. We need to move the scanning logs periodically for archiving and PCI Compliance and I cannot because the MPLog file is in use.
 
I could copy them but ideally a new log file each time would be better.
the_omnificAuthor Commented:
I have solved my own question by using ProcessHacker

ProcessHacker.exe -c -ctype process -cobject MsMpEng.exe -caction terminate

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
the_omnificAuthor Commented:
Solved myself.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Anti-Virus Apps

From novice to tech pro — start learning today.