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

แก้ Windows 10 Error 80240020 (Failed to Install)

Error 80240020 หมายความว่า Windows Update ติดตั้งล้มเหลว มีบางอย่างผิดปกติในระบบ

2 วิธีแก้ไข

วิธีที่ 1: แก้ Registry Allow OS Upgrade

⚠ เตือน: แก้ Registry ผิดอาจทำลายระบบ → Backup Registry หรือสร้าง Restore Point ก่อน

  1. Win + R → regedit
  2. ไปที่: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
  3. ไม่มีโฟลเดอร์ OSUpgrade → คลิกขวา WindowsUpdate → New → Key → ชื่อ OSUpgrade
  4. ใน OSUpgrade → คลิกขวา New → DWORD (32-bit) → ชื่อ AllowOSUpgrade → Value: 0x00000001 (หรือ 1)
  5. ปิด Registry → Reboot → ลอง Update ใหม่

วิธีที่ 2: ลบไฟล์ใน SoftwareDistribution\Download

  1. ไปที่ C:\Windows\SoftwareDistribution\Download (เปลี่ยน Drive Letter ตามจริง)
  2. ลบไฟล์ทั้งหมดภายใน (อย่าลบโฟลเดอร์)
  3. Win + X → Command Prompt (Admin)
  4. รัน: wuauclt.exe /updatenow
  5. Control Panel → Windows Update → ควรเริ่มดาวน์โหลดใหม่

หมายเหตุ: วิธีเหล่านี้แก้ Error 0x8007000D และ 80240020 ได้