Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

แก้ไข Windows Update ค้างที่ "Copying packages to the Windows Update cache"

ปัญหาการติดตั้ง Windows Updates ไม่ใหม่ แต่มีวิธีลดและป้องกันผลกระทบต่อประสบการณ์ผู้ใช้ เมื่อ Windows Update Standalone Installer ค้างที่ขั้นตอน Copying packages to the Windows Update cache ทุกครั้ง ทำตามขั้นตอนแก้ไขนี้

แก้ไข Windows Update ค้างที่  Copying packages to the Windows Update cache

Copying packages to the Windows Update cache

Update Cache เป็นโฟลเดอร์พิเศษเก็บไฟล์ติดตั้งอัปเดต หากมี Error เกี่ยวกับ Cache อาจดาวน์โหลด/ติดตั้ง Updates แบบ Manual ไม่ได้ และค้างที่ 10% หรือ 25%

แก้ไข: เปิด Command Prompt ด้วยสิทธิ์ Admin ค้นหา CMD ใน Taskbar คลิกขวา Run as Administrator

รันคำสั่งตามลำดับ:

net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
del /f /q "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
del /f /s /q %SystemRoot%\SoftwareDistribution\*.*
del /f /s /q %SystemRoot%\system32\catroot2\*.*
del /f /q %SystemRoot%\WindowsUpdate.log
ren c:\windows\winsxs\pending.xml pending.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver

เรากำลัง Reset SoftwareDistribution และ catroot2 Folders เปลี่ยนชื่อ pending.xml ลบ Data และ Log Files หลัง Stop/Start Services

หลังจากนี้ ลองติดตั้ง Update ใหม่

คำถามที่พบบ่อย

catroot2 Folder คืออะไร?

Catroot และ catroot2 เป็นโฟลเดอร์สำคัญ 2 โฟลเดอร์ใน Windows สำหรับ Windows Update Process เมื่อรัน Windows Update หลังดาวน์โหลด โฟลเดอร์ catroot2 จะเก็บ Signatures ของ Package และช่วยในการติดตั้ง

เกี่ยวข้อง: Windows Update fails to install or will not download.

การ Clear Windows Update Cache ทำอะไร?

Clear Windows Update Cache จะลบไฟล์อัปเดตเก่า และดาวน์โหลดไฟล์อัปเดตใหม่จาก Microsoft Server ช่วยติดตั้ง Updates ที่ล้มเหลวก่อนหน้านี้จากปัญหาไม่ทราบสาเหตุ

แก้ไข Windows Update ค้างที่  Copying packages to the Windows Update cache