Nothing Special   »   [go: up one dir, main page]

แสดงบทความที่มีป้ายกำกับ error แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ error แสดงบทความทั้งหมด

17/01/2567

การอัปเดตความปลอดภัยของ Windows 10 KB5034441 ล้มเหลว โดยแสดงข้อผิดพลาด 0x80070643


    ผู้ใช้ Windows 10 ทั่วโลกประสบปัญหาในการติดตั้งการอัปเดต Patch Tuesday เดือน มกราคมของ Microsoft โดยพบข้อผิดพลาด 0x80070643 ขณะพยายามติดตั้งแพตซ์อัปเดตความปลอดภัย KB5034441 สำหรับ BitLocker
    ส่วนหนึ่งของ Patch Tuesday เดือนมกราคม 2024 ของ Microsoft ได้มีการอัปเดตความปลอดภัย (KB5034441) สำหรับ CVE-2024-20666 ซึ่งเป็นช่องโหว่ bypass การเข้ารหัส BitLocker ที่อนุญาตให้ผู้ใช้เข้าถึงข้อมูลที่เข้ารหัสไว้ ผู้ใช้ Windows 10 จำนวนมาก รายงานว่าพบข้อผิดพลาด 0x80070643 และพบการติดตั้งการอัปเดตล้มเหลว


    โดยหลังจากรีสตาร์ท ผู้ใช้งานจะพบหน้าจอ Windows Update ที่แสดงข้อความแจ้งว่าเกิดข้อผิดพลาดขึ้น และให้ลองอีกครั้งในภายหลัง ข้อความแสดงข้อผิดพลาดของ Windows Update จะแสดงข้อความว่า
"There were some problems installing updates, but we'll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070643),"


    Microsoft ได้แจ้งเตือนว่า เมื่อติดตั้งการอัปเดต KB5034441 ผู้ใช้บางรายอาจพบข้อความแสดงข้อผิดพลาด "Windows Recovery Environment servicing failed, (CBS_E_INSUFFICIENT_DISK_SPACE)"
ซึ่งเกิดขึ้นเมื่อ Windows Recovery Partition บนอุปกรณ์มีขนาดไม่เพียงพอที่จะรองรับการอัปเดต
    อย่างไรก็ตาม มีข้อผิดพลาดในการเขียนโค้ดที่ทำให้ Windows Update แสดงข้อความแจ้งข้อผิดพลาดทั่วไป "0x80070643 - ERROR_INSTALL_FAILURE" ไม่ถูกต้อง

WinRE partition มีขนาดเล็กเกินไป
    เมื่อติดตั้งการอัปเดตความปลอดภัย KB5034441 Microsoft จะติดตั้ง Windows Recovery Environment (WinRE) เวอร์ชันใหม่ที่แก้ไขช่องโหว่ BitLocker แต่เนื่องจาก Windows 10 สร้าง partition การกู้คืน ซึ่งโดยปกติจะอยู่ที่ประมาณ 500MB ซึ่งไม่ใหญ่พอที่จะรองรับไฟล์อิมเมจ Windows RE ใหม่ (winre.wim) ทำให้เกิดข้อผิดพลาด 0x80070643 เมื่อพยายามติดตั้งการอัปเดต


วิธีแก้ไขจากทาง Microsoft แนะนำ
1. เปิดหน้าต่าง Command Prompt window (cmd) ในฐานะ admin
2. เพื่อตรวจสอบสถานะของ WinRE ให้รันคำสั่ง reagentc /info ใน Command Prompt หาก WinRE ถูกติดตั้งไว้ จะมีรายการ "Windows RE location" พร้อมเส้นทางไปยังไดเรกทอรีของ WinRE ตัวอย่างเช่น 

"Windows RE location: file://%3f/GLOBALROOT/device/harddisk0/partition4/Recovery/WindowsRE?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE"

โดยตัวเลขหลัง "harddisk" และ "partition" คือหมายเลขของดิสก์ และ partition ที่ WinRE ตั้งอยู่

3. หากต้องการปิดการใช้งาน WinRE ให้รันคำสั่ง reagentc /disable
4. ย่อขนาด OS partition และเตรียมพื้นที่บนดิสก์สำหรับ partition การกู้คืนใหม่
a. รันคำสั่ง diskpart เพื่อเริ่มเครื่องมือจัดการดิสก์
b. รันคำสั่ง list disk
c. รันคำสั่ง sel disk <OS disk index> เพื่อเลือกดิสก์ที่ติดตั้งระบบปฏิบัติการ โดยหมายเลขดิสก์ควรเป็นหมายเลขเดียวกับที่ WinRE ตั้งอยู่
d. เพื่อตรวจสอบ partition ใน OS disk และค้นหา OS partition ให้รันคำสั่ง list part
e. รันคำสั่ง sel part <OS partition index> เพื่อเลือก OS partition
f. รันคำสั่ง shrink desired=250 minimum=250
g. รันคำสั่ง sel part <WinRE partition index> เพื่อเลือก WinRE partition
h. รันคำสั่ง delete partition override เพื่อลบ WinRE partition
5. สร้าง partition การกู้คืนใหม่
a. ขั้นแรก ตรวจสอบว่ารูปแบบ Partition ของดิสก์เป็น GUID Partition Table (GPT) หรือ Master Boot Record (MBR) โดยทำตามขั้นตอนต่อไปนี้ รันคำสั่ง list disk ในคอลัมน์ "Gpt" ตรวจสอบว่ามีเครื่องหมายดอกจัน * อยู่หรือไม่ หากมีเครื่องหมายดอกจัน * แสดงว่าดิสก์นั้นใช้รูปแบบพาร์ติชัน GPT หากไม่มีเครื่องหมายดอกจัน * แสดงว่าดิสก์นั้นใช้รูปแบบพาร์ติชัน MBR
i: หากดิสก์ของคุณเป็น GPT, ให้รันคำสั่ง "create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac" ตามด้วยคำสั่ง "gptattributes=0x8000000000000001"
ii: ถ้าดิสก์ของคุณเป็น MBR, ให้รันคำสั่ง "create partition primary id=27"
b . หากต้องการฟอร์แมต partition ให้รันคำสั่ง format quick fs=ntfs label="Windows RE tools"
6. เพื่อยืนยันว่า WinRE partition ถูกสร้างแล้ว ให้รันคำสั่ง "list vol"
7. เพื่อออกจาก DiskPart ให้รันคำสั่ง "exit"
8. เพื่อเปิดใช้งาน WinRE อีกครั้ง ให้รันคำสั่ง "reagentc /enable"
9. เพื่อยืนยันที่ WinRE ถูกติดตั้ง ให้รันคำสั่ง "reagentc /info"

    หลังจากทำตามขั้นตอนเหล่านี้สำเร็จแล้ว ให้รีบูต Windows และตรวจสอบการอัปเดตใน Windows Update เพื่อลองติดตั้งการอัปเดตความปลอดภัย KB5034441 อีกครั้ง
    แต่ BleepingComputer ยังได้รับข้อมูลจากผู้ใช้ Windows 10 ว่าการอัปเดตนี้ยังคงล้มเหลวบนอุปกรณ์ของพวกเขา แม้จะมี WinRE partition ที่มีขนาด 1 GB แล้ว ดังนั้นไม่มีการรับประกันว่าขั้นตอนเหล่านี้จะแก้ไขปัญหาได้ เหมือนกับที่ได้ระบุไว้ก่อนหน้านี้ หากไม่มั่นใจในการทำตามขั้นตอนนี้ ควรรอจนว่า Microsoft จะนำเสนอวิธีที่ง่าย และอัตโนมัติมากขึ้นในการอัปเดตติดตั้ง

Microsoft เผยเเพร่สคริปต์เพื่อติดตั้งการแก้ไข (11/01/2024)
    Microsoft ได้เผยแพร่สคริปต์ PowerShell เพื่อทำให้การติดตั้งโปรแกรมรักษาความปลอดภัย BitLocker CVE-2024-20666 บน Windows 10 Windows Recovery Environment (WinRE) เป็นไปโดยอัตโนมัติ
สคริปต์เหล่านี้ไม่ได้ติดตั้งการอัปเดต KB5034441 โดยตรง แต่จะทำการติดตั้งโดยเชื่อมต่อกับ WinRE partition คัดลอก images จาก Dynamic Update และยกเลิกการเชื่อมต่อกับ partition
    WinRE partition จะประกอบด้วยไฟล์ล่าสุด ซึ่งรวมถึงโปรแกรมแก้ไข BitLocker จึงไม่จำเป็นต้องติดตั้งการอัปเดต KB5034441 บนเครื่องเหล่านี้อีก


    สคริปต์เหล่านี้สามารถดาวน์โหลดได้โดยตรงจาก Microsoft โดยจะมีให้สำหรับ Windows 10 เวอร์ชัน 2004 ขึ้นไป และอีกเวอร์ชันสำหรับ Windows 1909 และเวอร์ชันก่อนหน้า

    แต่ถ้าได้ทดลองทำตามคำแนะนำของทาง Microsoft แล้วยังไม่สามารถแก้ไขได้ ควรซ่อนการอัปเดต KB5034441 โดยใช้เครื่องมือ Show or Hide ของ Microsoft เพื่อให้ Windows Update ไม่เสนอการอัปเดตนี้บนระบบอีกต่อไป

22/12/2563

การลบ Workbook ออกจาก Excel

 User แจ้งปัญหาว่าเปิด Excel มาแล้วพบว่า Excel ค้าง เสมอ (ไฟล์รับมาจากหน่วยงานภายนอก)

ตรวจสอบเบื้องต้น พบกว่า มีการใช้งาน Workbook ในเอกสาร

 

มีการแจ้งเตือน ให้กดดูรายละเอียด

11/01/2560

การอัพ Firmware Polycom SoundStation Duo จากอาการ boot loop

ที่บริษัท ได้ซื้อตัว Polycom SoundStation Duo มาใช้งาน ปีกว่า ๆ ก็ใช้งานได้ดี
มาวันหนึ่ง พบว่าไม่สามารถใช้งานได้ มีอาการ Boot Loop (บูทวน อยู่กับที่ไม่สามารถเข้าใช้งานได้)
จึงไม่สามารถเข้าจัดการผ่าน web management ได้

มาดูตัวเครื่องกันครับ หน้าตาประมาณนี้
คู่มือ




อาการที่พบคือ Boot Loop
อาการจะเป็นดังภาพนะครับ














โดยอาการจะวนไปเรื่อย ๆ
จึงหาข้อมูลพบว่าเราสามารถทำการอัพเดต Firmware ผ่าน FTP ได้
เราจึงต้อง ทำการติดตั้ง FTP Server และ Download Firmware มาครับ
FTP Server ที่เลือกใช้คือ FileZilla Server
และทำการ Download Firmware ที่ http://downloads.polycom.com/voice/voip/sip_sw_releases_matrix.html

เมื่อทำการติดตั้ง File Zilla แล้ว ก็ทำการติดตั้ง และทำการ ตั้งค่า File Zilla ให้ อุปกรณ์สามารถเช้าใช้งาน FTP ได้ดังนี้
  1. เปิดใช้งาน Fill Zilla
  2. ตั้งค่า Username และ Password Account เป็น
    Username : PLcmSpIp
    PAssword : 
    PlcmSpIp
    (‘Polycom Soundpoint Ip’.)
  3. กำหนด Dir ที่ จะให้ FTP ไป
  4. แตกไฟล์ Driver ที่ Download มาไว้ที่ Dir ดังกล่าว
  5. ตั้งค่า ที่ อุปกรณ์ กด Setup
  6. เข้าไปตั้งค่า Server โดยให้ชี้ไปที่ FTP Server ที่ตั้งค่าไว้
  7. ทำการ Reboot อุปกรณ์อีกครั้ง

ก็จะได้ หน้าจอที่เปลี่ยนไป


ที่ FTP Server จะมี Log ขั้นว่ากำลังมีการเข้าใช้งานจากอุปกรณ์ที่ตั้งค่าไว้






ได้เจอกันแล้วครับหน้าจอ Welcome พร้อมแสดง Firmware ที่เราทำการอัพเดตไป



ให้เลือกประเทศที่ใช้งาน


เลือก Thailand


ภาษา ยังไม่มีภาษาไทย ก็ต้องเลือกภาษาอังกฤษครับ



หน้าจอพร้อมใช้งาน ครับ ยังไม่ได้อัพเดตเวลา




Web Management


หน้า Web UI สามารถใช้งานได้แล้วครับ


เพียงเท่านี้ก็สามารถใช้งานได้แล้วครับ
แหล่งข้อมูล
Quick Start Guide
http://support.polycom.com/global/documents/support/setup_maintenance/products/voice/ssduo_Quick_Start_Guide_UCS_4_0_0.pdf

Deflaut Password : Username = Polycom (case sensitive)
Admin Password = 456
User Password = 123
http://community.polycom.com/t5/VoIP/FAQ-What-is-the-Standard-Username-and-Password-for-a-Polycom/td-p/4217

FTP Server
http://community.polycom.com/t5/VoIP/FAQ-How-can-I-setup-my-Phone-Provisioning-Download-Upgrade/td-p/4203

การตั้งค่า Device Config
http://community.polycom.com/t5/VoIP/FAQ-I-get-the-error-Message-application-not-present-on-my-phones/td-p/21406

อื่น ๆ
http://blog.schertz.name/2013/05/provisioning-polycom-sip-phones/

10/01/2560

วิธีลบ epel-release.noarch ที่ลงเกิน Version (ปัญหาใช้งาน yum ไม่ได้)

ปัญหาที่พบคือ เมื่อนำ epel-release.noarch ของรุ่นที่ใหม่กว่ามาลงในรุ่นที่เก่ากว่า จะเกิดปัญหาไม่สามารถภ yum ได้ โดยจะมี Error ประมาณนี้
[root@chi ~]# yum update Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds from cached hostfile epel/metalink | 4.9 kB 00:00 * base: mirror1.ku.ac.th * epel: mirror01.idc.hinet.net * extras: mirror1.ku.ac.th * updates: mirror1.ku.ac.th * webtatic: uk.repo.webtatic.com epel | 4.3 kB 00:00 http://mirror01.idc.hinet.net/EPEL/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 http://mirror.rise.ph/fedora-epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 http://repo.fedoralinux.ir/repos/centos/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 https://free.nchc.org.tw/fedora-epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 https://mirrors.tuna.tsinghua.edu.cn/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 https://epel.mirror.angkasa.id/pub/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 https://mirrors.thzhost.com/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 http://mirrors.bestthaihost.com/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 4.3 kB 00:00 http://mirror2.totbb.net/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
เจอครั้งแรก ยังไม่เข้าใจ ยอมแพ้ ต้องลง OS ใหม่เลยทีเดียว พอหลาย ๆ ครั้งเริ่มจะเข้าใจ (ติดปัญหานี้ ตั้งแต่ 6 โมงเย็น ตอนนี้ ตีหนึ่งกว่าแล้ว) สามารถแก้ไขได้ตามนี้ครับ http://www.cyberciti.biz/faq/centos-redhat-fedora-linux-remote-yum-repo-configuration/ ตรวจสอบไฟล์ repo
# cd /etc/yum.repos.d/ # ls -l
จะพบ
-rw-r--r-- 1 root root 954 Aug 11 2010 epel.repo -rw-r--r-- 1 root root 1054 Aug 11 2010 epel-testing.repo -rw-r--r-- 1 root root 561 Dec 14 2010 rhel-debuginfo.repo -rw-r--r-- 1 root root 222 Dec 14 2010 rhel-source.repo -rw-r--r-- 1 root root 235 Jan 16 15:27 srpm.repo
สั่งลบ
# rm epel.repo epel-testing.repo ### ***************************** ### ### make sure you delete GPG keys also ### ### ***************************** ### # rm /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL # yum clean all
ตรวจสอบว่าเป็นรุ่นไหน แล้วก็การลบ
# [root@chi ~]# rpm -qa | grep epel epel-release-6-8.noarch [root@chi ~]# yum remove epel-release-6-8.noarch Loaded plugins: fastestmirror Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package epel-release.noarch 0:6-8 will be erased --> Finished Dependency Resolution
แล้วทดสอบ ทำการ yum ใหม่อีกครั้ง คราวนี้จะสามารถใช้งานได้ตามปกติแล้วครับบ