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

แก้ไข Windows Update Error 80072ee2

Error 80072ee2 เป็นข้อผิดพลาด Windows Update เกิดจากไฟล์ระบบเสียหาย หรืออัปเดตค้างอยู่ วิธีแก้นี้ใช้ได้กับ Error 8024400A และ 8024400D ด้วย

ก่อนเริ่ม: ตรวจสอบว่าอินเทอร์เน็ตทำงานปกติบนเครื่องที่มีปัญหา เพราะต้องเชื่อมต่อ Windows Update Server

วิธีแก้ Windows Update Error 80072ee2

วิธีที่ 1: แก้ไข Registry

วิธีที่ได้ผลดีที่สุดคือแก้ Registry และลบ Key บางตัว หมายเหตุ: ผู้ใช้ Home Edition (ไม่ได้อยู่ใน Domain) อาจไม่มี Key นี้

  1. กด Windows + R
  2. พิมพ์ services.msc Enter
  3. หา Service ชื่อ Windows Update คลิกขวา → Stop
  4. หยุด Service ก่อนแก้ Registry เพื่อป้องกันความเสียหาย
  5. กด Windows + R อีกครั้ง
  6. พิมพ์:
    C:\Windows\SoftwareDistribution
    Enter
  7. ลบไฟล์ทั้งหมดในโฟลเดอร์นี้
  8. กลับไป Services Console คลิกขวา Windows Update → Start
  9. กด Windows + R พิมพ์ regedit Enter
  10. ไปที่:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
  11. ใน果กขวา หา Key ชื่อ WUServer และ WUStatusServer
  12. คลิกขวาแต่ละ Key → Delete
  13. กลับ Services Console ตรวจสอบ Windows Update Service ว่ายัง Run อยู่
  14. ทดสอบ Windows Update ใหม่ ควรทำงานได้

วิธีที่ 2: รัน Windows Update Troubleshooter

Troubleshooter จะตรวจสอบ Settings และ Registry ทั้งหมด เปรียบเทียบกับเงื่อนไข Windows Update แล้วเสนอวิธีแก้ ต้องใช้ Account Administrator

  1. กด Windows + S พิมพ์ "troubleshoot" คลิกผลลัพธ์แรก
  2. ในเมนู Troubleshoot เลือก Windows Update → Run the troubleshooter (Win 7 ใช้ Control Panel)
  3. Windows จะเริ่ม Troubleshoot อาจขอสิทธิ์ Admin → คลิก Try troubleshooting as an administrator
  4. หลังแก้ไขเสร็จ รีสตาร์ทคอมพิวเตอร์ ทดสอบ

หมายเหตุ: ต้องมีอินเทอร์เน็ต ให้รัน Troubleshooter หลายครั้ง ไม่ใช่แค่ครั้งเดียว

วิธีที่ 3: ลบโฟลเดอร์ Software Distribution

SoftwareDistribution เป็นโฟลเดอร์เก็บไฟล์ชั่วคราวสำหรับ Windows Update จัดการโดย WUagent หมายเหตุ: วิธีนี้จะลบ Update History ทั้งหมด

  1. กด Windows + S พิมพ์ "command prompt" คลิกขวา → Run as administrator
  2. ใน CMD พิมพ์คำสั่งทีละบรรทัด:
    net stop cryptSvc
    net stop wuauserv
    net stop msiserver
    net stop bits

แก้ไข Windows Update Error 80072ee2

  1. เปิด File Explorer ไปที่:
    C:\Windows\SoftwareDistribution
  2. ลบทุกอย่าง ในโฟลเดอร์ SoftwareDistribution (หรือ Cut ไปเก็บที่อื่นไว้ก่อนก็ได้)

แก้ไข Windows Update Error 80072ee2

หมายเหตุ: หรือเปลี่ยนชื่อโฟลเดอร์เป็น "SoftwareDistributionold" ก็ได้

  1. เปิด Elevated CMD รันคำสั่งเริ่ม Service ใหม่:
    net start cryptSvc
    net start wuauserv
    net start msiserver
    net start bits

แก้ไข Windows Update Error 80072ee2

  1. รีสตาร์ทคอมพิวเตอร์ ลอง Windows Update ใหม่

คำสั่งแบบรวม (รันใน Elevated CMD):

net stop wuauserv
rmdir /q /s c:\windows\softwaredistribution\.
wuauclt /detectnow

ถ้าปัญหาเกี่ยวกับ Network Settings:

netsh int tcp set global autotuninglevel=disabled

วิธีที่ 4: ตรวจสอบเอกสาร Microsoft อย่างเป็นทางการ

หากใช้ Windows Server ควรเช็คเอกสาร Microsoft อย่างเป็นทางการ บางอัปเดตถูกแทนที่ด้วยอัปเดตใหม่กว่า มีเอกสารทางการสอนวิธีแก้ ให้ทำตาม แล้วรีสตาร์ทเต็มรูปแบบ

วิธีที่ 5: รีเซ็ต Windows Update Modules ทั้งหมด

หากวิธีข้างต้นไม่ได้ผล ลอง Force Reset ทุก Module ของ Windows Update แล้วรันใหม่ผ่านการรีสตาร์ท Error นี้แพร่หลายมาก เกิดจาก Microsoft เปลี่ยน Validity Date ในไฟล์ XML หลักที่ Server side ทำให้ Digital Signature ไม่ตรง Microsoft แก้ที่ Server แล้วแต่อาจยังคง Error อยู่ การ Reinitialize ทุก Module อาจช่วยได้

  1. เปิด Elevated Command Prompt (Windows + S → command prompt → Run as administrator)
  2. รันคำสั่งทีละบรรทัด:
    net stop wuauserv
    cd %systemroot%
    ren SoftwareDistribution SoftwareDistribution.old
    net start wuauserv
    net stop bits
    net start bits
    net stop cryptsvc
    cd %systemroot%\system32
    ren catroot2 catroot2.old
    net start cryptsvc
    regsvr32 Softpub.dll /s
    regsvr32 Wintrust.dll /s
    regsvr32 Initpki.dll /s
    regsvr32 Mssip32.dll /s
  3. รีสตาร์ทคอมพิวเตอร์เต็มรูปแบบ ตรวจสอบว่าปัญหาแก้ไขหรือยัง