Antimalware Service Executable (MsMpEng.exe) เป็นกระบวนการของ Windows Defender ที่ทำงานสแกนไฟล์และกิจกรรมแบบเรียลไทม์ สาเหตุหลักของ CPU สูงคือ:
- Real-time protection: สแกนไฟล์ การเชื่อมต่อ และแอปพลิเคชันตลอดเวลา
- Full Scan: สแกนไฟล์ทั้งหมดเมื่อคอมพิวเตอร์喝醒จากโหมดสลีป เชื่อมต่อเครือข่าย หรือตามตารางเวลา
ระหว่าง Full Scan ระบบอาจล่าช้า ควรปล่อยให้สแกนเสร็จสิ้น (อาจใช้เวลาหลายชั่วโมง) แต่ Full Scan ไม่ควรทำทุกวัน
วิธีแก้ไข
1. ปรับตารางการสแกน Windows Defender ให้เหมาะสม
- เปิด Task Scheduler (ค้นหา "Task Scheduler" ใน Start Menu)
- ไปที่ Task Scheduler Library > Microsoft > Windows > Windows Defender
- คลิกขวา Windows Defender Scheduled Scan > Properties
- แท็บ General: ยกเลิกติ๊ก Run with highest privileges
- แท็บ Conditions: ยกเลิกติ๊กทุกอย่างภายใต้ Idle, Power, Network
- แท็บ Triggers: สร้าง Trigger ใหม่ ตั้งเป็น Weekly หรือ Monthly ตามต้องการ
- ทำซ้ำกับ Windows Defender Cache Maintenance, Cleanup, Verification
2. ปิด Windows Defender (สำหรับ Windows 10 Pro/Enterprise)
ผ่าน Group Policy Editor:
- กด Win+R พิมพ์ gpedit.msc
- ไปที่ Computer Configuration > Administrative Templates > Windows Components > Windows Defender
- ดับเบิลคลิก Turn off Windows Defender เลือก Enabled > OK
ผ่าน Registry (ทุก Edition):
- กด Win+R พิมพ์ regedit
- ไปที่ HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
- สร้าง/แก้ไข DWORD DisableAntiSpyware = 1
- รีสตาร์ทคอมพิวเตอร์
3. เพิ่ม MsMpEng.exe ในรายการข้อยกเว้น (Exclusion)
- เปิด Task Manager (Ctrl+Shift+Esc) หา Antimalware Service Executable
- คลิกขวา > Open file location คัดลอกพาธเต็มของ MsMpEng.exe
- ไป Settings > Update & Security > Windows Security > Virus & threat protection > Manage settings > Add or remove exclusions
- คลิก Add an exclusion > Process วางพาธและเพิ่ม \MsMpEng.exe
4. สแกนมัลแวร์ด้วย Malwarebytes/AdwCleaner
มัลแวร์อาจทำให้ MsMpEng.exe ทำงานผิดปกติ ให้สแกนด้วยโปรแกรมต่อต้านมัลแวร์เฉพาะทาง
5. ลบอัปเดต Definitions ที่เสียหาย
- เปิด Command Prompt (Admin)
- รันคำสั่ง:
"%PROGRAMFILES%\Windows Defender\MPCMDRUN.exe" -RemoveDefinitions -All
- จากนั้นรัน:
"%PROGRAMFILES%\Windows Defender\MPCMDRUN.exe" -SignatureUpdate
6. ปิด Exploit Protection (Process Mitigations)
- เปิด PowerShell (Admin)
- รันคำสั่ง:
powershell "ForEach($v in (Get-Command -Name 'Set-ProcessMitigation').Parameters['Disable'].Attributes.ValidValues){Set-ProcessMitigation -System -Disable $v.ToString().Replace(' ', '').Replace('\n', '') -ErrorAction SilentlyContinue}" - รีสตาร์ทคอมพิวเตอร์
7. ใช้แอนติไวรัสทางเลือก (เช่น Malwarebytes)
ติดตั้งแอนติไวรัสภายนอกจะปิด Windows Defender อัตโนมัติ ลดภาระ CPU
คำถามที่พบบ่อย (FAQ)
Q: สามารถ End Process Antimalware Service Executable ได้ไหม?
A: ไม่ได้ตราบใดที่ใช้ Windows Defender อยู่ แต่หากปิด Real-time protection หรือเปลี่ยนแอนติไวรัส กระบวนการนี้จะหายไป
Q: ทำไม Antimalware Service Executable จึงใช้ CPU สูง?
A: เพราะสแกนกิจกรรมระบบแบบเรียลไทม์
Q: แก้ไข CPU สูงจาก Antimalware Service Executable ยังไง?
A: ทำตามวิธีข้างต้นทั้งหมด