Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

Program exe หรือ COM Surrogate หยุดทำงานใน Windows 11/10

Error "Program exe or COM Surrogate has stopped working" เกิดจาก dllhost.exe (COM Surrogate) ค้าง/แครช สาเหตุหลัก: ไฟล์เสีย, UAC, Malware, DEP Settings, Driver ไม่เข้ากัน

COM Surrogate (dllhost.exe) คืออะไร?

Process สำหรับ COM Objects (Component Object Model) Explorer ใช้สร้าง Thumbnails ถ้า Thumbnail Extractor Crash แค่ COM Surrogate ตาย ไม่ท้อน Explorer

วิธีแก้ COM Surrogate Has Stopped Working

1. UAC Settings / Run as Administrator

  • คลิกขวา Executable > Run as administrator
  • หรือ Properties > Compatibility > ติ๊ก Run this program as administrator
  • ตรวจ Compatibility Mode: ถ้าโปรแกรมรองรับ Windows 10/11 อยู่แล้ว อย่าเปิด Compatibility Mode (อาจทำ Crash)

2. สแกน Malware

Error หลายโปรแกรมพร้อมกัน = โอกาสติดไวรัสสูง Boot Safe Mode > สแกนด้วย Antivirus นอกตัว (Standalone)

3. DEP (Data Execution Prevention) Settings

  1. This PC > Properties > Advanced system settings > Advanced > Performance > Settings > Data Execution Prevention
  2. เลือก Turn on DEP for essential Windows programs and services only
  3. หรือเลือก "Turn on DEP for all programs except..." > Add:
    • 32-bit: C:\Windows\System32\dllhost.exe
    • 64-bit: C:\Windows\SysWOW64\dllhost.exe
  4. Apply > OK > Reboot

4. Re-register DLL Files

CMD Admin รัน:

regsvr32 vbscript.dll
regsvr32 jscript.dll

5. ถ้ายังไม่ได้

  • Reinstall โปรแกรมที่ Error
  • ถ้าเป็น Windows Component: รัน sfc /scannow

Tip: หากเจอ "The action cannot be completed because the file is open in COM Surrogate" อ่านบทความแยก