Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

DCOM Error Event ID 10016 หมายถึง โปรแกรมพยายามเริ่ม DCOM Server ผ่าน DCOM Infrastructure แต่ User ไม่มี Permission เพียงพอ Error นี้มาจาก Windows รุ่นเก่า และยังคงอยู่ใน Windows 8, 10

จะได้ System Error พร้อม CLSID และ APPID Error นี้อาจไม่เป็นอันตราย แต่รบกวน ต้องมี CLSID และ APPID จาก Error Message แล้วทำตามวิธีด้านล่าง

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

วิธีที่ 1: ให้ Permission ให้ App ที่ทำ Error (แก้ผ่าน Registry & Component Services)

CLSID และ APPID เป็น Unique ID ของ App ช่วยระบุ App ที่ทำปัญหา ให้ Permission ให้เพียงพอ:

  1. Win + R พิมพ์ RegEdit Enter เปิด Registry Editor

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. ขยาย HKEY_CLASSES_ROOT > CLSID หาโฟลเดอร์ที่ตรง CLSID จาก Error

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. คลิกขวาโฟลเดอร์ > Permissions > Advanced

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. บนสุด Owner เปลี่ยนเป็น Group Administrators
  2. ล่างสุด ติ๊ก Replace all child object permission entries > OK > Yes (Security Warning)

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. กลับหน้าต่าง Permissions หลัก > Add > พิมพ์ Everyone > OK
  2. เลือก Everyone ในรายการบน > ใต้ Allow ติ๊ก Full Control > OK

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. ขยาย HKEY_LOCAL_MACHINE > Software > Classes > AppID

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. หาโฟลเดอร์ APPID จาก Error คลิกขวา > Permissions > Advanced ทำซ้ำขั้น 4-7
  2. ขณะดูโฟลเดอร์ CLSID/APPID จะเห็น Registry Key ชื่อ Service ที่ทำปัญหา
  3. Win Key > Control Panel > View Large Icons > Administrative Tools

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. เปิด Component Services

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. คลิก Computer > My Computer

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. หา Service ที่ทำปัญหา (จากชื่อใน Registry) คลิกขวา > Properties > แท็บ Security
  2. ถ้า Permission ใน Registry ตั้งถูกต้อง จะเลือก Customize ได้ทั้ง 3 หมวด: Launch and Activation Permissions, Access Permissions, Configuration Permissions หากมีอันไหนมอด (Greyed) ทำซ้ำขั้นตั้ง Registry Permission
  3. เลือก Customize ทั้ง 3 > คลิก Edit บน Launch and Activation Permissions

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. หา System ในรายการ User บนสุด ไม่มีให้ Add > พิมพ์ System > OK
  2. เลือก System > ใต้ Allow ติ๊ก Local Launch และ Local Activation (หรือ Local Access) > OK
  3. ทำซ้ำกับ Access Permissions และ Configuration Permissions
  4. ทำซ้ำสำหรับ CLSID/APPID อื่นๆ ใน Event Logs
  5. Reboot เพื่อให้มีผล

แม้จะยาวแต่นี่คือวิธีที่รายงานว่าทำงานได้กับผู้ใช้ส่วนใหญ่ ทำตามขั้นตอนละเอียด จะแก้ DCOM Error 10016 ได้

วิธีที่ 2: ลบ Registry Keys ที่ขัดแย้ง

Registry Keys บางตัว (แม้จะเป็นของ Microsoft) ก่อให้เกิดปัญหา ลบออกอาจช่วยได้

คำเตือน: แก้ Registry ต้องมีความรู้ ผิดอาจทำลายระบบ Backup Registry ก่อน

  1. Win > พิมพ์ Registry Editor คลิกขวา > Run as Administrator

แก้ไข: DCOM Error 10016 บน Windows 7, 8, 10

  1. ไป:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole
  2. ลบ Keys 4 ตัวนี้:
    1. DefaultAccessPermission
    2. DefaultLaunchPermission
    3. MachineAccessRestriction
    4. MachineLaunchRestriction
  3. Save และ Restart
  4. หลังลบ Default Permissions จะถูกเขียนใหม่ ให้ App ที่ต้องการ DCOM Server เข้าถึงได้