System Center Configuration Manager (SCCM) ของ Microsoft เป็นเครื่องมือครบวงจรสำหรับการจัดการการเปลี่ยนแปลงและการกำหนดค่าบนแพลตฟอร์ม Microsoft Windows 7/Vista/XP ช่วยให้องค์กระจกระจายระบบปฏิบัติการ แอปพลิเคชัน และอัปเดตที่เกี่ยวข้องให้ผู้ใช้ Windows ได้อย่างรวดเร็วและคุ้มค่า
สามารถใช้โดยแผนก IT หรือ systems administrators ขององค์กร เพื่อให้พนักงานหรือสมาชิกทีมทุกคนเข้าถึงแอปพลิเคชันและความปลอดภัยที่จำเป็นต่อการทำงานและบทบาทที่ได้รับมอบหมาย ไม่ว่าจะใช้ company device หรือ personal device
SCCM ยังใช้ติดตั้งโปรแกรมและ deploy patches ข้ามเครือข่ายคอมพิวเตอร์ได้ แต่ในบาง environment อาจมีปัญหา
อย่างไรก็ตาม ผู้ใช้หลายคนรายงานว่าเจอ SCCM error 0x80091007 เนื่องจาก task sequence failure Error นี้อาจเกิดขึ้นแบบสุ่ม ทำให้ผู้ใช้ยากที่จะระบุสาเหตุและ troubleshoot สำเร็จ หากคุณเป็นหนึ่งในผู้ใช้ที่ปวดหัวกับ 0x80091007 error คู่มือนี้ควรช่วยอธิบายว่าทำไม error นี้เกิด และคุณสามารถทำอะไรเพื่อแก้ไขได้
เคล็ดลับ: ใช้เครื่องมือเพิ่มประสิทธิภาพ PC เพื่อกำจัดการตั้งค่าผิดปกติ ไฟล์ขยะ แอปมี害 และภัยคุกคามด้านความปลอดภัย
SCCM 0x80091007 Error คืออะไร?
Error 0x80091007 อาจเกิดหลังรัน task sequence ใน SCCM client เมื่อ task sequence ล้มเหลวในการ execute steps ระหว่าง operating system deployment ด้วย Configuration Manager รหัสข้อผิดพลาดนี้จะปรากฏ
ข้อความข้อผิดพลาด:
Task Sequence Error
Running: Install <software title / os title>
Task sequence: Install <software title / os title> has failed with the error code (0x80091007). For more information, please contact your system administrator or helpdesk operator
รูปแบบอื่นของ error:
The task sequence execution engine failed executing the action (Apply Operating System) in the group (Build the Reference Machine) with the error code 2148077575
Action output: zSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3130)
ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3031)
TS::Utility::ResolveSource( this->packageID, this->packagePath, TS::Utility::ResolveSourceFlags::PersistContents ), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installscripted.cpp,160)
installer.install(), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installscripted.cpp,632)
Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\WHATEVER
The user tries to release a source directory C:\_SMSTaskSequence\Packages\WHATEVER that is either already released or we have not connected to it
InstallScripted( g_InstallPackageID, g_ImageIndex, targetVolume, g_ConfigPackageID, g_ConfigFileName ), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\applyos.cpp,397). The operating system reported error 2148077575: The hash value is not correct.
ปกติเกิดเมื่อ Packages และ Applications ที่เกี่ยวข้องกับ task sequence ไม่ได้ถูกกระจายไปยัง distribution point หรือ groups อย่างถูกต้อง ในสถานการณ์นี้ deployment ล้มเหลวติดตั้ง associated package หลัง apply operating system image พร้อม task sequence error code 0x80091007
ขั้นตอนต่างๆ มองเห็นได้จาก task sequence prompt การตรวจสอบ SMSTS.log สำหรับ task sequence failure issues เสมอแนะนำ เพื่อช่วยเข้าใจ failure prompt และ troubleshoot task sequence error 0x80091007
Error นี้ปรากฏในช่วงต้นของ deployment process Task Sequence ถูก terminate หลังการติดตั้ง operating system ในสถานการณ์นี้ Logs ได้จาก C:\Windows\CCM\Logs\Smstslog\smsts.log กด F8 เพื่อเปิด command prompt window
ควรทำหนึ่งในสิ่งต่อไปนี้เพื่อแก้ปัญหา:
- อัปเดต distribution point ด้วย package version ล่าสุด คลิกขวา package > Update Distribution Points อาจใช้เวลานาน ขึ้นกับขนาด package ทั้งหมด 20 นาทีเป็นเรื่องปกติ
- เปลี่ยน advertisement ให้ไฟล์ไม่ถูกดาวน์โหลด locally แต่เข้าถึงโดยตรงจาก DP คลิกขวา advertisement > Properties > Distribution Point tab > เลือก “Access content directly from a distribution point when the running task sequence requires it.“
สาเหตุของ 0x80091007 Error
Error นี้อาจเกิดจากหลายสาเหตุ รวมถึง:
- โฟลเดอร์ CCMCACHE อาจถูกบล็อกโดย anti-virus software
- พื้นที่ดิสก์ว่างอาจไม่เพียงพอ
- อาจไม่มี valid package ที่ distribution point
How to Deal With the Error Code 0x80091007
เมื่อเจอ error นี้ ไม่ต้องกังวล เพราะมี solutions ที่พิสูจน์แล้วว่าทำงานได้สำหรับสถานการณ์แบบนี้ สรุปขั้นตอน troubleshooting ที่ต้องทำ:
- หาก error code 0X80091007 ปรากฏ ให้ลบ package จาก distribution point และ re-distribute ใหม่ เพื่อให้แน่ใจว่า valid package พร้อมใช้งานผ่าน distribution point
- ตรวจสอบ RAM (memory) ว่าเสียหายหรือ corrupt หรือไม่ ดูขี้ขลาดแต่การเปลี่ยน RAM แก้ปัญหานี้ให้หลายคน
- บางคนแก้ hash mismatch error ได้โดยปิด binary differential replication และ redistribute package ไป DP
- รัน PC Repair Tool เช่น Outbyte PC Repair ให้แน่ใจว่า glitches ทั้งหมดแก้ไขและ junk files ถูกล้างออก จะไม่เพียงแก้ common errors แต่เพิ่มประสิทธิภาพ PC ด้วย
มาดูขั้นตอนเหล่านี้ทีละขั้น
วิธีที่ 1: ล้าง CCM Cache
Temporary files ที่ใช้ใน deployment บางครั้งคงอยู่บน networked devices ทำให้ file bloat บน client hard drives และ storage crisis บน deployment server เอง ไฟล์เหล่านี้เก็บอยู่ใน CCM cache ของ Windows (รู้จักว่า CCMCache) Cache นี้ล้างได้ทั้งด้วยตนเองหรือ PowerShell command scripts
หากคุณมีสิทธิ์ administrator บนคอมพิวเตอร์ สามารถล้าง CCM cache ด้วยตนเองผ่าน Settings menus: เปิด Control Panel โดยคลิกใน Start Menu หรือค้นหาใน Windows Search bar ใช้เมนูบนสุดของหน้าต่างแสดง options เป็น icons แล้วเลื่อนไปที่ “Configuration Manager” เลือก > คลิกแท็บ “Advanced” ไปที่ “Cache” คลิก “Configure Settings.” ยืนยันการกระทำโดยคลิก “Delete Files” ปุ่มที่ปรากฏ
หากต้องการล้าง CCMCache folder บนหลายคอมพิวเตอร์พร้อมกันหรือจากระยะไกล ให้ใช้ PowerShell script ก่อน ใน SCCM control panel ไปที่คอมพิวเตอร์ที่ต้องการล้าง > คลิกขวา > Select “Right click tools,” แล้ว “Console Tools,” และสุดท้าย “Interactive PowerShell prompt,” ที่นั่นคุณสามารถใส่ script command ที่ต้องการ มี scripts หลายตัวสำหรับล้าง CCM Cache แต่ละตัวมี complexity ต่างกัน และ intended สำหรับ network environments ต่างกัน อย่างไรก็ตาม ในระบบส่วนใหญ่ การรันโค้ดต่อไปนี้ควรล้าง CCM cache:
- $resman= New-Object -ComObject “UIResource.UIResourceMgr”
- $cacheInfo=$resman.GetCacheInfo()
- $cacheinfo.GetCacheElements() | foreach {$cacheInfo.DeleteCacheElement($_.CacheElementID)}
หลังล้าง cache แล้ว ดูว่า error แก้ไขหรือยัง
วิธีที่ 2: Redistribute the package to the distribution points
โดยปกติ distribute content ไป distribution points เพื่อให้ clients เข้าถึงได้ เมื่อใช้ on-demand content distribution สำหรับ deployment เฉพาะเจาะจง พฤติกรรมนี้ไม่ apply Configuration Manager เก็บ content files ใน package และกระจาย package ไป distribution point เมื่อ distribute content เนื้อหาของ package ดึงมาจาก content library ของ site server
วิธี distribute package ไป DPs:
- ไปที่ Software Library workspace ใน Configuration Manager console > expand Application Management > เลือก Applications node
- เลือก application หรือ package จากรายการ > คลิกขวา package > Update Distribution Points
- ติ๊ก Enable binary differential replication ก่อน redistribute package Applications ใช้ binary differential replication เสมอ
- หาจำเป็น ให้ลบ package จาก distribution point และ distribute ใหม่ ตรวจสอบว่า package distributed ไป DPs สำเร็จ
- ตรวจสอบการกระจายเนื้อหาใน Summary tab, ภายใต้ Content status หากกระจายเนื้อหาสำเร็จ จะเห็นภายใต้ Success tab
หลังทำขั้นตอนข้างต้นเสร็จ รีสตาร์ท target machine และรัน task sequence deployment ใหม่ ควรดำเนินการต่อโดยไม่มี errors
วิธีที่ 3: Refresh the package’s distribution point
หากอัปเดต package’s distribution point ไม่ได้ผล ให้ลอง refresh แทน:
- ไป Site Management > Computer Management
- คลิก Operating System Deployment > Operating System Install Packages > คลิก PACKAGE_NAME
- เลือก Distribution Points > คลิกขวา Distribution Point ที่ใช้ > Refresh Distribution Point
หาไม่ได้ผล ลอง remove และ re-add distribution (ต้อง WAIT ให้ remove เสร็จก่อน re-add ใช้ Package Status เช็คว่า removed แล้ว)
หาทุกอย่างล้มเหลว ไป Site Management –> Computer Management –> Software Distribution –> Advertisements คลิกขวา task sequence advertisement ที่กำลัง deploy > Properties –> Distribution Points –> ติ๊ก Access content directly from a distribution point when the running task sequence requires it.
วิธีที่ 4: ปิด antivirus ชั่วคราว
เพื่อปิด third-party antivirus software ชั่วคราวบน Windows 10/11 ให้คลิกขวา program icon ขวามือของ Windows taskbar > Disable หรือ Exit สามารถเปิดใหม่ได้ภายหลังโดย restart คอมพิวเตอร์
ยังสามารถลอง start Windows 10/11 ใน Safe Mode ซึ่งจะปิด antivirus software ทั้งหมด
ปิด real-time Windows Defender antivirus protection:
- เปิด Windows Settings โดยกด Windows + I
- Select Update and Security -> Windows Security -> Virus and threat protection
- หน้าต่างขวา ไปที่ Virus & threat protection settings > Manage settings
- ปิดตัวเลือกนี้: Real-time protection if turned off, leaving your device vulnerable.
สามารถปิด antivirus บน Windows 10/11 ชั่วคราวได้ด้วยวิธีนี้ หากต้องการเปิด real-time antivirus protection ใหม่ ให้ restart คอมพิวเตอร์ หรือทำ operation เดิมอีกครั้ง หลังปิด antivirus แล้ว ลองรัน task sequence อีกครั้ง หรือทำ action ที่กระตุ้น 0x80091007 SCCM error นี้
สรุป
Error code 0x80091007 ไม่ใช่ Windows error ที่พบบ่อยมาก และไม่มีข้อมูลมากเกี่ยวกับ issue นี้ ผู้ใช้ส่วนใหญ่ที่เจอ error นี้ลองวิธีต่างๆ แก้ และวิธีแก้ข้างต้นเป็นที่สำเร็จมากที่สุดจนถึงตอนนี้ หาก error นี้ขัดขวางประสิทธิภาพและคุณต้องแก้เร็วที่สุด เราแนะนำให้ทำตามขั้นตอนอย่างเป็นระบบเพื่อหาว่าวิธีไหนได้ผลสำหรับคุณ หากมีคำถาม ทิ้งความคิดเห็นด้านล่างได้เลย