MsMpEng.exe writes large amounts of data to vmem file

Sourcell 5 Reputation points
2024-06-05T05:43:09.3866667+00:00

I have a VMware Workstation virtual machine stored on an external removable SSD. Every time I start it, VMware Workstation creates a vmem file for it to store the virtual machine's memory data.

At this point, MsMpEng.exe keeps writing a lot of data to this vmem file, causing the SSD to reach 100% active time and my virtual machine to stop responding for a while.

User's image

I have tried to exclude paths, processes, and files related to VMware Workstation and vmem file using the following powershell commands, but it still does not change the behavior of MsMpEng.exe

  • Set-MpPreference -ExclusionPath "F:\Virtual Machines\Kali"
  • Set-MpPreference -ExclusionProcess "C:\Program Files (x86)\VMware\VMware Workstation\*","C:\Program Files (x86)\VMware\VMware Workstation\ x64\*","vmware.exe","vmware-vmx.exe","mksSandbox.exe"
  • Set-MpPreference -ExclusionExtension ".vmem",".vmdk"

So what can I do to prevent MsMpEng.exe from writing large amounts of data to the vmem file?

Also:

  • Why is MsMpEng.exe writing data instead of reading it?
  • I've allocated 32 GB of memory to the VM.
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.