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

วิธีแก้ไขข้อผิดพลาด 'Windows System Components Must Be Repaired' อย่างรวดเร็ว

การอัปเดต Windows อาจปรับปรุงความปลอดภัยและประสบการณ์ผู้ใช้ แต่กระบวนการอัปเดตเองก็มักมีข้อผิดพลาด ขาดส่วนประกอบ หรือใช้เวลานานมาก ลองค้นหา "Windows update memes" รับรองว่าคุณจะหยุดหัวเราะไม่ได้ ครั้งนี้ข้อผิดพลาดเกี่ยวกับ Windows system components หากคุณก็เผชิญปัญหาเดียวกัน คุณมาถูกที่แล้ว เรามีคำแนะนำสมบูรณ์เพื่อแก้ไขข้อผิดพลาด components of Windows operating system

วิธีแก้ไขปัญหา Windows System Components Must be Repaired

ปัญหานี้อาจเกิดจากสาเหตุดังนี้:

  • ไฟล์ระบบเสียหาย
  • Windows update components แยกส่วน (fragmented)
  • ตรวจสอบ Windows installation version ไม่ได้

วิธีที่ 1: ขั้นตอนแก้ไขพื้นฐาน

ก่อนติดตั้งอัปเดตใหม่ ตรวจสอบและทำขั้นตอนพื้นฐานเหล่านี้ แม้ไม่ใช่ทุกครั้ง แต่ปัญหาเล็กๆ นี้อาจนำไปสู่ข้อผิดพลาด components of Windows operating system must be repaired

  • ตรวจสอบว่ามีพื้นที่จัดเก็บเพียงพอ อย่างน้อย 16-20 GB
  • ถอดอุปกรณ์ภายนอกที่ไม่จำเป็น
  • สำรองไฟล์สำคัญ ลบแอป/ไฟล์ที่ไม่ต้องการ
  • ถอนติดตั้งแอนตี้ไวรัสซึ่งอาจรบกวนการติดตั้งอัปเดต

วิธีที่ 2: บูทเข้าสู่ Safe Mode

การบูทใน Safe Mode จะป้องกันแอปพลิเคชันของบุคคลที่สามที่อาจก่อให้เกิดข้อผิดพลาด Safe Mode บูทด้วยโปรแกรมและฟังก์ชันที่จำเป็นเท่านั้น จะช่วยให้กระบวนการอัปเดตเสร็จสมบูรณ์ อ่านคำแนะนำ How to Boot to Safe Mode in Windows 10

หาก Safe Mode ไม่ช่วย ให้ลอง Windows Update troubleshooter ใน Safe Mode จากวิธีถัดไป

วิธีที่ 3: เรียกใช้ Windows Update Troubleshooter

Troubleshooter นี้จะระบุและแก้ไขข้อผิดพลาดที่ป้องกัน Windows Update ขั้นตอน:

  1. เปิด Settings > Update & Security > Troubleshoot
  2. เลือก Windows Update > Run the troubleshooter

ลองอัปเดตใหม่ หากข้อผิดพลาดยังคงอยู่ ไปวิธีต่อไป

วิธีที่ 4: เปลี่ยน Date & Time Zone

วันที่และเวลาผิดบางครั้งก่อให้เกิดข้อผิดพลาด ขั้นตอน:

  1. คลิกขวาไอคอน Windows > Settings
  2. ไป Time & Language
  3. เปิด Set time automatically และ Set time zone automatically
  4. Restart PC แล้วลองติดตั้งใหม่

วิธีที่ 5: ซ่อมแซมไฟล์ระบบ

ข้อผิดพลาดอาจมาจากไฟล์หายหรือเสียหาย System File Checker จะสแกนและซ่อมแซม DISM เป็นเครื่องมือวินิจฉัยและคำสั่ง ช่วยแก้ไขไฟล์เสียหายและซ่อมแซม Windows image รวมถึง Windows update components อ่านคำแนะนำ repair system files on Windows 10

หวังว่าเครื่องมือนี้แก้ปัญหาได้ หากไม่ได้ อาจต้อง reset Windows system components

วิธีที่ 6: Reset Windows System Components

ขั้นตอน reset Windows system components:

  1. กด Windows key พิมพ์ Command Prompt คลิก Run as administrator
  2. คลิก Yes ให้สิทธิ์
  3. รันคำสั่งต่อไปนี้ทีละคำสั่ง เพื่อหยุด BITS, Windows Update, และ Cryptographic services:
    net stop bits
    net stop wuauserv
    net stop cryptsvc

    หมายเหตุ: กด Enter หลังแต่ละคำสั่ง

  4. รันคำสั่งลบไฟล์ qmgr*.dat:
    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
  5. รันคำสั่ง:
    cd /d %windir%\system32
  6. ลงทะเบียน BITS และ Windows Update files ใหม่ โดยวางคำสั่งต่อไปนี้ทีละคำสั่ง กด Enter ทุกคำสั่ง:
    regsvr32.exe atl.dll
    regsvr32.exe urlmon.dll
    regsvr32.exe mshtml.dll
    regsvr32.exe shdocvw.dll
    regsvr32.exe browseui.dll
    regsvr32.exe jscript.dll
    regsvr32.exe vbscript.dll
    regsvr32.exe scrrun.dll
    regsvr32.exe msxml.dll
    regsvr32.exe msxml3.dll
    regsvr32.exe msxml6.dll
    regsvr32.exe actxprxy.dll
    regsvr32.exe softpub.dll
    regsvr32.exe wintrust.dll
    regsvr32.exe dssenh.dll
    regsvr32.exe rsaenh.dll
    regsvr32.exe gpkcsp.dll
    regsvr32.exe sccbase.dll
    regsvr32.exe slbcsp.dll
    regsvr32.exe cryptdlg.dll
    regsvr32.exe oleaut32.dll
    regsvr32.exe ole32.dll
    regsvr32.exe shell32.dll
    regsvr32.exe initpki.dll
    regsvr32.exe wuapi.dll
    regsvr32.exe wuaueng.dll
    regsvr32.exe wuaueng1.dll
    regsvr32.exe wucltui.dll
    regsvr32.exe wups.dll
    regsvr32.exe wups2.dll
    regsvr32.exe wuweb.dll
    regsvr32.exe qmgr.dll
    regsvr32.exe qmgrprxy.dll
    regsvr32.exe wucltux.dll
    regsvr32.exe muweb.dll
    regsvr32.exe wuwebv.dll

    หมายเหตุ: อย่าคัดลอกวางทั้งหมดพร้อมกัน จะไม่ทำงาน ต้องคัดลอก วาง กด Enter ทีละคำสั่ง

  7. พิมพ์คำสั่ง reset Winsock กด Enter:
    netsh winsock reset
  8. รันคำสั่งตั้งค่า proxy หากใช้ Windows Server 2003 หรือ XP:
    proxycfg.exe -d
  9. รีสตาร์ท BITS, Windows Update, Cryptographic services:
    net start bits
    net start wuauserv
    net start cryptsvc
  10. ล้าง BITS queue หากใช้ Windows Server 2008 หรือ Vista:
    bitsadmin.exe /reset /allusers

วิธีที่ 7: Reset Windows Update Components

อ่านคำแนะนำ How to Reset Windows Update Components on Windows 10

วิธีที่ 8: Reset PC

หากลองทุกวิธียังไม่ได้ ให้ลอง reset PC หรือติดตั้งใหม่แบบสะอาด อ่านคำแนะนำ how to reset Windows 10 without losing data

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

  • แก้ Discord Unknown Network Error Windows 10
  • แก้ Scripted Diagnostics Native Host Not Working
  • แก้ Error 42127 Cab Archive is Corrupted
  • แก้ Error 0x3a98 in WlanReport

หวังว่าคำแนะนำนี้ช่วยแก้ไข Windows system components must be repaired error ได้ โปรดแจ้งว่าวิธีไหนใช้ได้ดีที่สุด หากมีคำถามหรือข้อเสนอแนะ ให้แสดงความคิดเห็นด้านล่าง