We have a Windows Server 2012 installation that we use as an internal web server. Most HTTP requests are very slow on this machine (about 15 seconds for a simple ASP.NET WebAPI request). We noticed that during a request, the process MsMpEng.exe's CPU usage is going to 50-90%.

MsMpEng.exe is Microsoft's Anti-Malware executable, included in Windows Defender, Forefront and Security Essentials. However, none of those products is installed on our server.

Where can we configure the Anti-Malware component of Windows Server 2012?

migrated from superuser.com Jul 8 '14 at 7:35

This question came from our site for computer enthusiasts and power users.

  • start -> type defender. Any luck with that? – Jakke Jul 8 '14 at 7:00
  • Nope, there isn't any Defender entry there.. If I enter Defender and press Enter, Windows Search shows No results found for your search – cheeesus Jul 8 '14 at 10:43

We analyzed the problem with Sysinternals ProcessMonitor, where we saw that MsMpEng.exe consumes much CPU time analyzing the log files of our web application (written by NLog).

Since we could not find a GUI to exclude the log files from MsMpEng.exe's real-time monitoring, we added it using regedit.exe.

The solution was to create a DWORD entry at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths`

where the key of the entry is set to the full path of our log files (C:\inetpub\wwwroot\webapp\logs), and leaving the DWORD value at 0x00000000.


You might find it under Endpoint Protection or System Center Endpoint Protection, there you can set excluded filetypes and such under settings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.