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

วิธีแก้ Windows 10 Update ล้มเหลว: Error Code 0xc000021a

Windows Updates ปกติมี Feature Enhancements และ Security Updates ป้องกัน Malware/Attacks รวม Bug Fixes สำหรับปัญหาที่รายงานมา ติดตั้ง Latest Windows Update ไม่เพียงปลอดภัย แต่ยังมี Features ใหม่ และ Optimize Performance Security Updates สำคัญมาก มักดาวน์โหลด/ติดตั้งอัตโนมัติ แต่บางครั้งเจอ Windows 10 Updates Failed to Install หรือค้างดาวน์โหลด 100 ชั่วโมง

Windows 10 Update Failed? วิธีแก้ไข

หลายสาเหตุทำให้ Windows Updates Failing ซ้ำๆ: Internet ช้า/VPN, Multiple Updates Queued, Corrupt/Missing System Files, Windows Update Service Issue

Restart Windows Update Services, Reset Windows Update Components, รัน Windows Update Troubleshooter Tool แก้ Failed/Stuck Download ส่วนใหญ่ และ Manual Download Windows 10 KB5019959 Offline Installer ติดตั้งได้

แต่วิธีแก้ด่วนที่ทำงานสำหรับผม!

  • Windows + S → cmd → Right Click Command Prompt → Run as Administrator
  • พิมพ์: SC config trustedinstaller start=auto → Enter
  • ปิดทุกอย่าง → Reboot PC

วิธีแก้ Windows 10 Update ล้มเหลว: Error Code 0xc000021a

เสร็จแล้ว เปิด Settings → Update & Security → Check for Updates

Clear Update Database Cache

หาก Windows 10 KB5019959 Stuck Download 0% หรือ 99% หรือ Fail อาจเป็นไฟล์ Update เอง ล้างโฟลเดอร์เก็บ Update Files จะบังคับให้ Windows Update ดาวน์โหลดไฟล์ใหม่

  • พิมพ์ services.msc Start Menu Search → Enter
  • หา Windows Update Service → Right Click → Stop
  • ทำซ้ำกับ BITS (Background Intelligent Transfer Service)

วิธีแก้ Windows 10 Update ล้มเหลว: Error Code 0xc000021a

  • Windows + E → File Explorer → ไป C:\Windows\SoftwareDistribution\Download
  • ลบทุกอย่างใน Download Folder (อย่าลบโฟลเดอร์ตัวมัน) Ctrl + A → Delete

วิธีแก้ Windows 10 Update ล้มเหลว: Error Code 0xc000021a

เปิด Services Console ใหม่ → Restart Services (Windows Update, BITS) ที่หยุดไว้

รัน Windows Update Troubleshooter

หลังล้างไฟล์ Update เก่า/บั๊ก ให้รัน Windows Update Troubleshooter Tool ที่ออกแบบมา Detect/Fix ปัญหาป้องกัน Windows 10 Updates ดาวน์โหลด/ติดตั้ง

  • Windows + I → Settings
  • Update & Security → Troubleshoot → Additional Troubleshooters Link
  • Select Windows Update → Run the Troubleshooter

วิธีแก้ Windows 10 Update ล้มเหลว: Error Code 0xc000021a

  • ระหว่าง Diagnosis: Check Update Service/Services Running, Check Update Database Corruption
  • Restart หลังเสร็จ → Check Updates อีกครั้ง Settings → Update & Security
  • ตรวจสอบว่าช่วย Download/Install Updates ได้โดยไม่มี Error

ปิด Security Software & Clean Boot

ปิด Firewall และ Antivirus ชั่วคราว Check/Install Updates → เปิด Antivirus กลับ

Clean Boot ช่วยหาก Third-party Software Conflict Download/Install Updates:

  1. Search Box → msconfig
  2. System Configuration → Services Tab
  3. Hide All Microsoft Services → Disable All

วิธีแก้ Windows 10 Update ล้มเหลว: Error Code 0xc000021a

Startup Tab → Open Task Manager → Disable Unnecessary Services → Restart → Check Updates

ตรวจสอบ Internet Connection

ตรวจสอบ Internet เสถียรสำหรับ Download KB5019959 จาก Microsoft Server Speed Test: fast.com, speedtest.net

Windows + R → ping google.com -t → OK ตรวจสอบ Ping ต่อเนื่อง หากขาด ต้อง Troubleshoot Internet ก่อน

หากเชื่อม VPN แนะนำ Disconnect → Check Updates ใหม่

ปลดพื้นที่ Disk Space

สาเหตุทั่วไปของ Failed Updates: ขาดพื้นที่ Drive ตรวจสอบ System Drive (มัก C:) มี Free Space พอสำหรับ Download/Apply Updates วิธีปลดพื้นที่:

  • ย้ายไฟล์ใหญ่ไป External Devices หรือลบไฟล์/โฟลเดอร์ไม่ใช้
  • Uninstall Games/Apps ไม่ใช้ที่กินพื้นที่มาก
  • รัน Disk Cleanup หรืออ่านวิธี Clear Temp Files Auto Windows 11

เปลี่ยนเป็น Google DNS

มีประโยชน์สำหรับบางคน โดยเฉพาะ Windows Update Stuck Download Hours หรือ Fail ซ้ำๆ

  • Windows + R → ncpa.cpl → OK เปิด Network Connections
  • Right Click Active Adapter → Properties
  • Internet Protocol Version 4 (TCP/IPv4) → Properties
  • เลือก Use Following DNS Server Addresses → Preferred: 8.8.8.8 Alternate: 8.8.4.4
  • OK → Save → Reboot → ลอง Install Updates

วิธีแก้ Windows 10 Update ล้มเหลว: Error Code 0xc000021a

ติดตั้ง Windows Update ด้วยตนเอง (Manual)

หาวิธีข้างต้นล้มเหลวหมด ให้ติดตั้ง Windows Updates Manual

  • ไป Windows 10 Update History Webpage ดู Log Updates ก่อนหน้า
  • บันทึก KB Number ของ Update ล่าสุด
  • Windows Update Catalog Website ค้นหา KB Number → Download (32-bit=x86, 64-bit=x64)
  • รันไฟล์ที่ดาวน์โหลดติดตั้ง

(วันนี้ KB5019959 Latest Patch Windows 10 22H2, KB5019966 Latest Patch Windows 10 1809)

  • ติดตั้งเสร็จ → Restart ใช้การเปลี่ยนแปลง

หาก Windows Update ค้างขณะ Upgrade ใช้ Media Creation Tool Official Upgrade Windows 10 21H2 โดยไม่มี Error

รัน System File Checker (SFC) Scan

ไฟล์ระบบเสียอาจป้องกัน Apply Updates ทำให้ Stuck/Fail Microsoft แนะนำรัน DISM (Deployment Image & Servicing Management) Fix Windows Corruption Errors

  • CMD Admin → DISM.exe /Online /Cleanup-Image /RestoreHealth
  • เพิ่ม sfc /scannow สแกนลึก แทนที่ไฟล์เสีย วิธีเร็วที่สุดแก้ไฟล์ระบบเสีย Windows 10

วิธีไหนช่วยแก้ปัญหาได้? แจ้งในความคิดเห็นด้านล่าง

  • แก้ Windows 10 Blue Screen Error 0xC000021A Permanently
  • 15 Tips Optimize Windows 10 Better Performance
  • ขยาย 10-Day Limit Go Back Previous Windows Version
  • Enable และ Perform System Restore Point Windows 10
  • ความต่างระหว่าง Windows 10 และ Windows 11