Windows Update Error 0x8007010b, ERROR_DIRECTORY, The directory name is invalid เกิดใน Windows 10 เมื่อ Update Mechanism เสียหาย หมายถึง Windows Update พยายามเข้าถึง Directory ที่ไม่มีหรือชื่อไม่ถูกต้อง

วิธีแก้ 0x8007010b
- Run DISM
- Run Windows Update Troubleshooter
- Download และติดตั้ง Update เอง
- Reset Windows Update Components
ต้องใช้ Admin Permission
1. Run DISM

DISM ซ่อมไฟล์ระบบจาก Windows Image CMD/PowerShell (Admin) รันทีละคำสั่ง:
Dism /Online /Cleanup-Image /ScanHealth Dism /Online /Cleanup-Image /CheckHealth Dism /Online /Cleanup-Image /RestoreHealth
รอเสร็จแต่ละขั้น RestoreHealth จะแก้ Corruption รวมถึง Invalid Directory
2. Run Windows Update Troubleshooter

Win+I > Update and Security > Troubleshoot > Windows Update > Run Troubleshooter > Restart > ลอง Update ใหม่
3. Download และติดตั้ง Update เอง
โหลดจาก Microsoft Download Center หรือ Microsoft Update Catalog หรือ WSUS Offline Update
4. Reset Windows Update Cache/Components
Components: BITS, Windows Update Service, Cryptographic Services, Application Identity Service
สรุปขั้นตอน:
- Stop Windows Update Component Services
- Delete qmgr*.dat files
- Rename SoftwareDistribution และ catroot2 folders
- Reset BITS และ Windows Update Service Security Descriptor
- Re-register BITS files และ Windows Update DLLs
- Delete Incorrect Registry values
- Reset Winsock
(ดูรายละเอียดเต็มในบทความอ้างอิง)
หวังว่าแก้ Error 0x8007010b ได้
