เครื่องมือรีเซ็ตการอัปเดต SCCM - เครื่องมือ CMUpdateReset.EXE
เครื่องมือ CMUpdateReset ช่วยคุณเมื่อการอัปเดต SCCM ของคุณมีปัญหาในการดาวน์โหลด เครื่องมือรีเซ็ตการอัปเดต SCCM นี้เรียกอีกอย่างว่าเครื่องมือ CMUpdateReset.exe เมื่อการอัปเดต SCCM ติดอยู่ในการดาวน์โหลดหรือการจำลองสถานะ เครื่องมือในการรีเซ็ตการอัปเดตตัวจัดการการกำหนดค่า
ฉันมักจะได้รับคำถามมากมายจากผู้คนเกี่ยวกับการติดตั้งการอัปเดตสาขาปัจจุบันของ ConfigMgr โดยเฉพาะอย่างยิ่งเมื่อมีการเปิดตัวการอัปเดต SCCM 1810 คนส่วนใหญ่รายงานว่าการดาวน์โหลดการอัปเดต SCCM ติดขัด
คำแนะนำทั่วไปที่คุณอาจเห็นในฟอรัมคือการเริ่มบริการ SMS_EXECUTIVE ใหม่ อย่างไรก็ตามสำหรับส่วนใหญ่ที่ไม่ได้ผล
เมื่อคุณเปิด dmpdownloader.log คุณอาจเห็นโค้ดบรรทัดต่อไปนี้
ข้อผิดพลาด: ไม่สามารถดาวน์โหลด redist สำหรับ 454b3508-4387-4106-9441-283495dec3ec ด้วยคำสั่ง /RedistUrl
ข้อผิดพลาด: ไม่สามารถดาวน์โหลดไฟล์ที่ต้องการได้
ดังนั้นเรามาทำความเข้าใจว่าเครื่องมือรีเซ็ตการอัปเดต CM สำหรับ SCCM คืออะไร และวิธีใช้เครื่องมือ CMUpdateReset เพื่อแก้ไขปัญหาการดาวน์โหลดการอัปเดตตัวจัดการการกำหนดค่า
เครื่องมือรีเซ็ตการอัปเดต SCCM/CMUpdateReset คืออะไร?
เริ่มต้นด้วย SCCM 1706 Microsoft ได้รวมเครื่องมือรีเซ็ตการอัปเดต CM สำหรับทั้ง CAS และไซต์หลัก เครื่องมือนี้สามารถช่วยคุณแก้ไขปัญหาเมื่อการอัปเดตในคอนโซลมีปัญหาในการดาวน์โหลดหรือการจำลอง
ตำแหน่งของเครื่องมือรีเซ็ตการอัปเดต CM
CMUpdateReset.exe เป็นเครื่องมือบรรทัดคำสั่ง พบ เครื่องมือรีเซ็ตการอัปเดต CM ในโฟลเดอร์ \cd.latest\SMSSETUP\TOOLS ของเซิร์ฟเวอร์ไซต์
เมื่อใดจึงควรใช้ CM Update Reset Tool ?
ก่อนอื่นคุณต้องรู้ว่าเมื่อใดจึงควรใช้เครื่องมือรีเซ็ต คุณต้องใช้เครื่องมือนี้เมื่อยังไม่ได้ติดตั้งการอัปเดตในคอนโซลและอยู่ในสถานะล้มเหลว
สถานะล้มเหลวคืออะไร - สถานะล้มเหลวหมายความว่าการดาวน์โหลดการอัปเดตอยู่ระหว่างดำเนินการ แต่ค้างหรือใช้เวลานานเกินไป ในขั้นตอนนี้ เมื่อคุณคลิกขวาที่การอัปเดต คุณจะเห็นตัวเลือกทั้งหมดเป็นสีเทา
ก่อนที่จะใช้เครื่องมือนี้ ให้ลองรีสตาร์ทบริการผู้บริหาร SMS แต่หากไม่ได้ผลและคุณยังคงเห็นว่าการอัปเดต SCCM ติดค้างอยู่ที่สถานะการดาวน์โหลด ให้ใช้ CMUpdateReset
เครื่องมือรีเซ็ตการอัปเดตจะทำงานกับการอัปเดตที่คุณระบุ จุดสำคัญอีกประการหนึ่งคือเครื่องมือนี้ไม่สามารถลบการอัปเดตที่ติดตั้งหรือดาวน์โหลดได้สำเร็จ
ข้อกำหนดเบื้องต้นของเครื่องมือ CMUpdateReset
เครื่องมือรีเซ็ตการอัปเดต CM ต้องการให้บัญชีมีสิทธิ์ดังต่อไปนี้เพื่อให้ทำงานได้อย่างถูกต้อง: -
- บัญชีต้องมีสิทธิ์ในการอ่านและเขียนไปยังฐานข้อมูลของไซต์ - CAS และไซต์หลักแต่ละแห่งในลำดับชั้นของคุณ เครื่องมือนี้ใช้ไม่ได้กับไซต์รอง
- หากต้องการตั้งค่าสิทธิ์เหล่านี้ คุณสามารถเพิ่มบัญชีผู้ใช้เป็นสมาชิกของบทบาทฐานข้อมูลคงที่ db_datawriter และ db_datareader ในฐานข้อมูล SCCM ของแต่ละไซต์
- ผู้ดูแลระบบท้องถิ่นบนไซต์ระดับบนสุดของลำดับชั้นของคุณ
- ผู้ดูแลระบบท้องถิ่นบนคอมพิวเตอร์ที่โฮสต์จุดเชื่อมต่อบริการ
- คุณต้องเรียกใช้เครื่องมือนี้บนไซต์ระดับบนสุดของลำดับชั้น
วิธีใช้เครื่องมือรีเซ็ตการอัปเดต SCCM
ตอนนี้คุณรู้เกี่ยวกับเครื่องมือรีเซ็ตการอัปเดตตัวจัดการการกำหนดค่าแล้ว คุณต้องรู้วิธีใช้เครื่องมือรีเซ็ตการอัปเดต SCCM การใช้เครื่องมือรีเซ็ตการอัปเดต SCCM คุณสามารถรีเซ็ตการอัปเดตที่มีปัญหาในการดาวน์โหลดหรือบังคับให้ลบแพ็คเกจการอัปเดต SCCM ที่มีปัญหาได้
ฉันขอนำเสนอสองสถานการณ์ที่จะช่วยคุณตัดสินใจว่าจะรันคำสั่งใด
สถานการณ์ที่ 1 - คุณสังเกตเห็นว่าการอัปเดตติดอยู่ในสถานะการดาวน์โหลด ดังนั้นวิธีที่ง่ายที่สุดในการรีเซ็ตการอัปเดตในสถานการณ์นี้คือการใช้คำสั่งด้านล่าง P คือ GUID ของแพ็คเกจ
CMUpdateReset.exe -S SQLServerFQDN -D CM_SiteCode -P 706e6a13-d541-4f7e-bf82-3b14efaed35fสถานการณ์ที่ 2 - คุณเรียกใช้คำสั่งที่กล่าวถึงในสถานการณ์ที่ 1 แต่คุณยังคงเห็นว่าปัญหายังคงอยู่ หน่วยคำสั่งด้านล่างจะลบแพ็คเกจการอัปเดตที่มีปัญหา P คือ GUID ของแพ็คเกจ
CMUpdateReset.exe -FDELETE -S SQLServerFQDN -D CM_SiteCode -P 706e6a13-d541-4f7e-bf82-3b14efaed35fหมายเหตุ - หากแพ็คเกจการอัปเดตอยู่ในสถานะหลังการดาวน์โหลด เครื่องมือจะไม่ล้างแพ็คเกจ
วิธีแก้ไขการอัปเดต SCCM ที่ค้างอยู่ในสถานะการดาวน์โหลด
ฉันสังเกตเห็นว่าการอัปเดต SCCM ค้างอยู่ที่สถานะการดาวน์โหลดในขณะที่ฉันกำลังติดตั้ง Configuration Manager Technical Preview 1905
ฉันตรวจสอบโฟลเดอร์ EasySetupPayload และสังเกตเห็นไฟล์ cab ขนาด 438MB ในโฟลเดอร์อื่นฉันไม่เห็นไฟล์ใด ๆ
หลังจากรอนานกว่า 30 นาที คอนโซลยังคงแสดงสถานะการอัปเดตเป็น กำลังดาวน์โหลด
ดังนั้นฉันจึงตัดสินใจเรียกใช้เครื่องมือ CMUpdateReset ฉันแค่อยากรีเซ็ตการอัปเดต ดังนั้นฉันจึงรันคำสั่งด้านล่าง
CMUpdateReset.exe -S SQLServerFQDN -D CM_SiteCode -P 706e6a13-d541-4f7e-bf82-3b14efaed35f
[Warning] You can use this tool when an in-console update has not yet installed and is in a failed state. A failed state can mean the update download remains in progress but is stuck and taking an excessively long time, perhaps hours longer than your historical expectations for update packages of similar size. It can also be a failure to replicate the update to child primary sites. When you run the tool, it runs against the update that you specify. If the package is in pre-installation state, it will delete it. If package is in replicating state, it will reinitiate replication. Are you sure you want to run the tool? Enter Y for Yes and N for No.
Y
Running CMUpdateReset.exe tool
Verified that the SQL server FQDN belongs to the top level site.
Verified that the site servers run version 1606 or later.
Verified that replication is active.
Package is in pre-installation state. Attempting to clean up the package.
Verified that the service connection point is installed on the top level site.
Verified that the account has permission to service connection point share.
Verified that the account has permission to the inboxes\hman.box folder.
Service SMS_EXECUTIVE is Running on machine corpsccm.prajwal.org.
Verified that service SMS_EXECUTIVE is running on machine corpsccm.prajwal.org.
Service CONFIGURATION_MANAGER_UPDATE is Running on machine corpsccm.prajwal.org.
Verified that service CONFIGURATION_MANAGER_UPDATE is running on machine corpsccm.prajwal.org.
Verified that the package is not in post-replication state for all the child sites (if any).
Marking package in the package distribution list as deleted.(0 row(s) affected.)
Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.(1 row(s) affected.)
Marked package in the package distribution list as deleted.
Deleting update package 6B4F84B7-5555-48B0-AECC-74FB5A8AA24B from EasySetupSettings table on site server corpsccm.prajwal.org.(0 row(s) affected.)
Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.
(1 row(s) affected.)Update package is deleted from EasySetupSettings table.
Deleting update package 6B4F84B7-5555-48B0-AECC-74FB5A8AA24B from cm_updatepackageSiteStatus table on site server corpsccm.prajwal.org.(0 row(s) affected.)
Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.(1 row(s) affected.)
Update package is deleted from cm_updatepackageSiteStatus table.
Deleting update package 6B4F84B7-5555-48B0-AECC-74FB5A8AA24B from CM_UpdatePackage_MonitoringStatus table on site server corpsccm.prajwal.org.(0 row(s) affected.)
Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.(1 row(s) affected.)
Update package is deleted from cm_updatepackageSiteStatus table.
Deleting update package 6B4F84B7-5555-48B0-AECC-74FB5A8AA24B from cm_updatepackages table on site server corpsccm.prajwal.org.(1 row(s) affected.)
Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.(1 row(s) affected.)
Update package is deleted from CM_UpdatePackage_MonitoringStatus table.
Verifying whether the table entries for package 6B4F84B7-5555-48B0-AECC-74FB5A8AA24B is deleted on site server corpsccm.prajwal.org.
Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.(1 row(s) affected.)
Deleting \corpsccm.prajwal.org\sms_P01\EasySetupPayLoad\6B4F84B7-5555-48B0-AECC-74FB5A8AA24B.cab.
\corpsccm.prajwal.org\sms_P01\EasySetupPayLoad\6B4F84B7-5555-48B0-AECC-74FB5A8AA24B.cab does not exist to delete.
Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.(1 row(s) affected.)
Deleting \corpsccm.prajwal.org\sms_P01\EasySetupPayLoad\Offline\6B4F84B7-5555-48B0-AECC-74FB5A8AA24B.cab.
\corpsccm.prajwal.org\sms_P01\EasySetupPayLoad\Offline\6B4F84B7-5555-48B0-AECC-74FB5A8AA24B.cab does not exist to delete.
Deleting \corpsccm.prajwal.org\sms_P01\EasySetupPayLoad\Offline\ConfigMgr.Update.Manifest.cab.
\corpsccm.prajwal.org\sms_P01\EasySetupPayLoad\Offline\ConfigMgr.Update.Manifest.cab does not exist to delete.
Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.(1 row(s) affected.)
Deleting \corpsccm.prajwal.org\sms_P01\EasySetupPayLoad\6B4F84B7-5555-48B0-AECC-74FB5A8AA24B.
\corpsccm.prajwal.org\sms_P01\EasySetupPayLoad\6B4F84B7-5555-48B0-AECC-74FB5A8AA24B does not exist to delete.
Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.(1 row(s) affected.)
Deleting cmupdate notifications. Adding entry in CM_UpdatePackageSiteStatus_HIST for history tracking.(1 row(s) affected.)
[Success]Successfully ran the CMUpdateReset.exe tool. If the tool deleted the package (check Updates and Servicing to see if the package is listed), you must restart the SMS_EXECUTIVE service on the top level site. Or, use Check for Update in console to redownload the package.
If the package is reinitiating replication or installation, DO NOT restart the SMS_EXECUTIVE service. You can use the flowchart to troubleshoot additional issues.การอัปเดตหายไปจากคอนโซล ตอนนี้รีสตาร์ทบริการ SMS exec เมื่อฉันตรวจสอบการอัปเดต ฉันพบว่ามีการอัปเดตอีกครั้งในคอนโซลที่แสดง พร้อมให้ดาวน์โหลด คราวนี้ดาวน์โหลดการอัปเดตสำเร็จแล้ว




