หลายสัปดาห์ก่อนทดสอบ Macrium Reflect free system imaging software ใช้ Windows PE bootable live media ทำ backup/restore operations กับ system imaging software testing restores สำคัญที่สุด ทดสอบ physical hardware และ VM
จุดที่เจอปัญหา: boot PE image ใน VirtualBox ได้ error E_FAIL (0x80004005) details ใน VBoxHardening.log พบหลายบรรทัด lacks WinVerifyTrust หนึ่งในนั้น resulting failure:
(ภาพประกอบ error)
ปัญหาในรายละเอียด (Problem in more detail)
Error code และ attribute ไม่อธิบายมาก ต้องดู log file สร้างขึ้น เข้าใจดีกว่า specifically lines ที่ resulting failure:
\Device\HarddiskVolume5\Windows\System32\bcrypt.dll [lacks WinVerifyTrust] 13b4.1f40: Error (rc=0): 13b4.1f40: supR3HardenedScreenImage/NtCreateSection: cached rc=Unknown Status -626 (0xfffffd8e) fImage=1 fProtect=0x10 fAccess=0xf cHits=4 \Device\HarddiskVolume5\Windows\System32\bcrypt.dll
เห็นว่า library นี้ (bcrypt.dll) fail WinVerifyTrust check อาจมี objects อื่น fail check แต่ไม่ fatal มี ticket และ forum discussion ยาว
Essentially: mismatch certificates Windows provides (PE image) และที่ VirtualBox มีใน current build Error triggered by security hardening ใน virtualization product
วิธีแก้ (Solution)
หลายวิธี: revert earlier Windows build VM - ใช้ older Windows 10 PE image baseline rescue media หรือ different OS version หรือ change/upgrade VirtualBox edition วิธีหลังปกติ cheaper/faster workaround มากกว่า mess with OS best way: toggle hardening flags off แต่ไม่ possible trivial way
แม้จะ聽起來 Hello Capt. Obvious solution: update VirtualBox latest edition if possible ในการทดสอบหลาย hosts move from 5.1.X branch to 5.2.X branch resolved issue สำหรับ Windows 10 based VMs
(ภาพประกอบ)
สรุป (Conclusion)
As a techie อาจโกรธ support บอก update software latest version บางครั้งเช่นนี้ fastest/sensible way work around problem Security hardening VirtualBox introduces complications cat and mouse game Microsoft/Oracle Occasionally libraries may not load causing VMs stop working
Technical bits less important - สำคัญ: รู้ approach issue systematically First examine error code carefully read error logs Once find culprit ask right questions find right solutions ในกรณีนี้ program update แต่ทำด้วย full understanding สิ่งที่ผิดหวังหวัง guide useful สำหรับ VirtualBox snags ปัจจุบันและอนาคต
Cheers.