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

วิธีแก้ Windows 11 Update Errors อย่างรวดเร็ว

การเก็บ Windows ให้ Up-to-date สำคัญสำหรับ Performance และ Security ทุกอัปเดตมี Bug fixes เยอะ ช่วยปรับปรุงระบบโดยรวม แต่ถ้าไม่สามารถอัปเดตได้เพราะ Error Encountered ใน Windows Update settings จะติดตั้ง Security patches ล่าสุดไม่ได้ บทความนี้สอนวิธีแก้ Update error encountered ใน Windows 11

วิธีแก้ Update Error Encountered ใน Windows 11

มี 5 วิธีแก้ปัญหานี้ จัดเรียงตาม Effectiveness & User convenience ลองตามลำดับ:

วิธีที่ 1: รัน Inbuilt Windows Troubleshooter

ตรวจสอบว่ามี Troubleshooter สำหรับ Error ที่เจอหรือไม่ ในส่วนใหญ่ Troubleshooter ระบุแหล่งที่มาและแก้ไขได้ดี วิธีใช้:

  1. กด Windows + I เปิด Settings app
  2. แท็บ System เลื่อนลง คลิก Troubleshoot
  3. คลิก Other troubleshooters ภายใต้ Options
  4. เลือก Run สำหรับ Windows Update troubleshooter ให้ระบุและแก้ปัญหา

วิธีที่ 2: อัปเดต Security Intelligence

วิธีนี้แก้ Error encountered ระหว่าง Update Windows ได้ ง่ายกว่าวิธีอื่นๆ:

  1. ค้นหา Windows Security คลิก Open
  2. คลิก Virus & threat protection
  3. คลิก Protection updates ภายใต้ Virus & threat protection updates
  4. เลือก Check for updates
  5. หากมี Updates ให้ทำตาม Prompt ดาวน์โหลดติดตั้ง

วิธีที่ 3: Automate Windows Update Service

Error นี้เกิดบ่อยเมื่อ Service ที่เกี่ยวข้องไม่รันหรือทำงานผิดปกติ ใช้ Elevated Command Prompt รันคำสั่ง Automate Update Services:

  1. กด Windows + X เปิด Quick Link menu
  2. เลือก Windows Terminal (Admin)
  3. คลิก Yes ใน UAC prompt
  4. กด Ctrl + Shift + 2 เปิด Command Prompt ใน Tab ใหม่
  5. พิมพ์ sc config wuauserv start=auto กด Enter
  6. พิมพ์ sc config cryptSvc start=auto กด Enter
  7. พิมพ์คำสั่งต่อไปนี้ทีละคำสั่ง กด Enter ทุกคำสั่ง:
sc config bits start=auto
sc config trustedinstaller start=auto
  1. สุดท้าย Restart คอมพิวเตอร์ ลอง Update ใหม่

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

Windows Update Components โหลด/ติดตั้ง Updates, Security patches, Drivers หากโหลดไม่ได้และวิธีอื่นไม่ได้ Reset Components เป็นทางออกดี:

  1. กด Windows + X เปิด Quick Link menu
  2. เลือก Windows Terminal (Admin)
  3. คลิก Yes ใน UAC prompt
  4. กด Ctrl + Shift + 2 เปิด Command Prompt Tab ใหม่
  5. พิมพ์ net stop bits กด Enter
  6. พิมพ์คำสั่งต่อไปนี้ทีละคำสั่ง กด Enter:
net stop wuauserv
net stop cryptSvc
Ren %Systemroot%\SoftwareDistribution\DataStore DataStore.bak
  1. พิมพ์ Ren %Systemroot%\SoftwareDistribution\Download Download.bak กด Enter (Rename Software Distribution folder)
  2. พิมพ์ Ren %Systemroot%\System32\catroot2 catroot2.bak กด Enter (Rename Catroot folder)
  3. พิมพ์คำสั่งต่อไปนี้ กด Enter:
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
  1. พิมพ์คำสั่งนี้ กด Enter:
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
  1. พิมพ์คำสั่ง regsvr32.exe ต่อไปนี้ทีละคำสั่ง กด 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
  1. รันคำสั่ง Restart Windows network sockets และ Restart update services:
netsh winsock reset
net start bits
net start wuaserv
net start cryptSvc

วิธีที่ 5: Reset PC

หากไม่มีวิธีไหนได้ ให้ Reset Windows (Last resort) ตอน Reset สามารถเลือก Keep my files (ลบ Apps/Settings) หรือ Remove everything (Reinstall Windows):

  1. กด Windows + I เปิด Settings
  2. แท็บ System เลื่อนลง คลิก Recovery
  3. ภายใต้ Recovery options คลิก Reset PC
  4. ในหน้าต่าง Reset this PC คลิก Keep my files
  5. เลือกวิธี Reinstall Windows:
    • Cloud download (ต้องอินเทอร์เน็ต แต่อัพเดทน่าเชื่อถือกว่า)
    • Local reinstall (มีโอกาสไฟล์ Local Corrupt)
  6. หน้าจอ Additional settings สามารถ Change settings ได้
  7. สุดท้าย คลิก Reset

หมายเหตุ: ระหว่าง Reset คอมพิวเตอร์อาจ Restart หลายครั้ง (Normal) อาจใช้เวลาหลายชั่วโมง ขึ้นกับ Spec และ Settings ที่เลือก

บทความแนะนำ:

  • วิธีปิด Sticky Keys ใน Windows 11
  • วิธีเพิ่มความเร็วอินเทอร์เน็ตใน Windows 11
  • วิธีอัปเดต Apps ใน Windows 11
  • วิธี Boot Windows 11 ใน Safe Mode

หวังว่าบทความนี้จะเป็นประโยชน์เกี่ยวกับ วิธีแก้ Windows 11 update error encountered ทิ้งข้อเสนอแนะ/คำถามในความคิดเห็นด้านล่าง