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

แก้ 0x80004005: Fix Developer Mode Package Installation Errors บน Windows 10

Fix Developer Mode package failed to install Error code 0x80004005: Error นี้บ่งบอกว่า Components เพิ่มเติมที่ OS ต้องการสำหรับ Debugging features ใน Windows Device Portal หรือ Visual Studio ติดตั้งอัตโนมัติไม่ได้ ใน Windows 10 Developer Mode ใช้ทดสอบแอปที่พัฒนาเอง สามารถเปิดได้ที่ Settings > Update & Security > For developers > Developer mode แต่บางคนเจอข้อผิดพลาด:

Developer Mode package failed to install. Error code: 0x80004005

ปัญหานี้บล็อกการทดสอบแอป กีดกั้นนักพัฒนา มา Troubleshoot กัน

Fix Developer Mode package failed to install Error code 0x80004005

ควรสร้าง Restore Point ก่อน

วิธีที่ 1: ติดตั้ง Developer Mode ด้วยตนเอง

  1. Windows Key + I เปิด Windows Settings
  2. คลิก System เลือก Apps & features
  3. เลือก Manage Optional features บนสุด
  4. คลิก Add a feature
  5. เลื่อนหา Windows Developer Mode package คลิก Install
  6. รีบูท
  7. Windows Key + X เลือก Command Prompt (Admin)
  8. พิมพ์คำสั่งใน cmd Enter:
sc config debugregsvc start=auto
sc start debugregsvc
  1. กลับไปหน้า For Developers Settings จะยังเห็น Error 0x80004005 แต่ควรเปิดใช้งาน Windows Device Portal และ Device Discovery ได้แล้ว

วิธีที่ 2: ปิด Custom Microsoft Software Update Services (SUS)

  1. Windows Key + R พิมพ์ regedit Enter เปิด Registry Editor
  2. ไป Registry Key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
  1. ดับเบิลคลิก UseWUServer ด้านขวา ตั้งค่าเป็น 0 เพื่อ Disable UseWUServer
  2. Windows Key + X คลิก Command Prompt (Admin)
  3. พิมพ์คำสั่งทีละบรรทัด Enter:
net stop wuauserv
net stop bits
net stop cryptsvc
net start wuauserv
net stop bits
net stop cryptsvc
  1. ปิด Command Prompt รีบูท

แนะนำเพิ่มเติม:

  • Fix Office Activation Error Code 0xC004F074
  • Perform Clean boot in Windows
  • Fix Windows 10 Update error 0x8000ffff
  • Windows Explorer has stopped working [SOLVED]

เสร็จสิ้น Fix Developer Mode package failed to install Error code 0x80004005 หากยังมีข้อสงสัย ถามได้ในส่วนความคิดเห็น