คุณรู้ไหมว่า การล้าง Windows Update cache สามารถแก้ปัญหาดาวน์โหลดและติดตั้ง Windows Update ได้ส่วนใหญ่? เช่น Windows 10 update ค้างดาวน์โหลด, ติดตั้งล้มเหลวพร้อมข้อผิดพลาดต่างๆ และอื่นๆ เมื่อตรวจสอบ Windows updates ระบบจะแคชไฟล์ติดตั้งอัปเดตทั้งหมด ซึ่งใช้งานได้ตอนต้องการติดตั้งอัปเดตซ้ำ แต่บางครั้งอัปเดตที่มีบั๊ก หรือการเสียหายบนโฟลเดอร์แคช ทำให้ Windows updates ค้างดาวน์โหลดนานชั่วโมง หรือติดตั้งล้มเหลวพร้อมข้อผิดพลาด
ถ้าคุณมีปัญหาบางอัปเดตโหลดไม่ได้หรือติดตั้งไม่ได้บน Windows 10 laptop ล้าง Windows update cache อาจเป็นวิธีแก้ที่ดี นี่คือ 3 วิธีที่แตกต่างกันในการล้าง Windows update cache หรือ reset Windows update components
Windows Update cache folder อยู่ที่ไหน?
Update Cache เป็นโฟลเดอร์พิเศษเก็บไฟล์ติดตั้งอัปเดต ตั้งอยู่ที่รากของ system drive: C:\Windows\SoftwareDistribution\Download
ลบไฟล์ Windows Update ที่ดาวน์โหลดแล้ว Windows 10
ลบไฟล์แคชอัปเดตทั้งหมดได้ง่ายบน Windows ทุกเวอร์ชันที่รองรับ: Windows 7, 8.1, 10 นี่คือ 3 วิธี:
ลบไฟล์ Windows Update ที่ดาวน์โหลดแล้ว
- กด Windows + R เปิด Run
- พิมพ์ services.msc กด OK เปิดคอนโซลบริการ Windows
- เลื่อนหา Windows Update service คลิกขวา Stop
- หา Background Intelligent Transfer Service คลิกขวา Stop
- เปิด Windows Explorer (Windows + E)
- ไปที่ C:\WINDOWS\SoftwareDistribution\Download
- เลือกไฟล์ทั้งหมดในโฟลเดอร์ download (กด Windows + A)
- กด Delete บนคีย์บอร์ด
- กลับไปที่คอนโซลบริการ Windows
- หา Windows Update service คลิกขวา Start
- ทำซ้ำกับ BITS service
เสร็จแล้ว รีสตาร์ท PC ครั้งหน้าตรวจสอบอัปเดต จะดาวน์โหลดไฟล์อัปเดตใหม่จากเซิร์ฟเวอร์ Microsoft น่าจะไม่มีข้อผิดพลาด ดาวน์โหลดและติดตั้งได้ปกติ
ล้าง Windows Update cache จากบรรทัดคำสั่ง
สามารถล้าง Windows Update cache จาก command line ได้ด้วย:
- เปิด Command Prompt แบบ Administrator
- ยอมรับ UAC prompt
- รันคำสั่งต่อไปนี้ กด Enter ทีละบรรทัด:
- net stop wuauserv (หยุด Windows Update service)
- cd %Windir%\SoftwareDistribution (เปลี่ยนไปไดเรกทอรี SoftwareDistribution)
- del /f /s /q Download (ลบโฟลเดอร์ Download พร้อม /f — บังคับลบไฟล์ read-only, /s — รวม subdirectories, /q — quiet mode ไม่ถามยืนยัน)
- net start wuauserv (เริ่ม Windows Update service)
รีเซ็ต Windows Update Components
ยังสามารถ reset Windows Update components แก้ปัญหา Windows Update รับ security patches, drivers, features ดาวน์โหลดใหม่ได้
- เปิด Command Prompt แบบ Administrator
- หยุด BITS, Cryptographic, MSI Installer และ Windows Update Services พิมพ์คำสั่งทีละอัน กด Enter:
- net stop wuauserv
- net stop cryptSvc
- net stop bits
- net stop msiserver
- เปลี่ยนชื่อโฟลเดอร์ SoftwareDistribution และ Catroot2 พิมพ์คำสั่งใน Command Prompt กด Enter ทีละอัน:
- ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
- ren C:\Windows\System32\catroot2 Catroot2.old
เริ่มบริการ BITS, Cryptographic, MSI Installer และ Windows Update Services อีกครั้ง พิมพ์คำสั่ง กด Enter ทีละอัน:
- net start wuauserv
- net start cryptSvc
- net start bits
- net start msiserver
พิมพ์ Exit ปิด Command Prompt รีสตาร์ทคอมพิวเตอร์ เสร็จแล้ว ครั้งหน้าตรวจสอบ Windows update จะดาวน์โหลดไฟล์อัปเดตใหม่จากเซิร์ฟเวอร์ Microsoft
- Fix Service Registration Is Missing Or Corrupt In Windows 10, 8.1 and 7
- How to Fix ntoskrnl.exe High Memory Usage In Windows 10
- Microsoft Edge Crashes or Not Working after Windows 10 1909 update !!!
- Solved: Windows 10 Automatic Repair Loop "Your PC Did Not Start Correctly"
- Solved: Unknown Hard Error on Windows 10 / 8 / 7 (5 Working Solutions)