Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

แก้ไขข้อผิดพลาด BCD Missing Error (0xc0000034) และกู้คืนการบูต Windows

แก้ไข "The boot configuration data file is missing some required information": เมื่อเปิดเครื่องแล้วเจอข้อผิดพลาดนี้ ไม่สามารถบูตเข้า Windows ได้ เพราะ BCD (Boot Configuration Data) บ้ำนัดหรือหายไป

Error มักมาพร้อมรหัส 0xc0000034 เป็นข้อผิดพลาด BSOD (Blue Screen of Death) แต่แก้ไขได้ไม่ยาก ตามขั้นตอนด้านล่าง

วิธีแก้ไข BCD Missing Error

วิธีที่ 1: รัน Startup/Automatic Repair

  1. ใส่ DVD ติดตั้ง Windows 10 ที่บูตได้ และรีสตาร์ท
  2. เมื่อโพร้อม "Press any key to boot from CD or DVD" กดปุ่มใดก็ได้
  3. เลือกภาษา คลิก Next > Repair your computer (มุมซ้ายล่าง)
  4. หน้า Choose an option คลิก Troubleshoot
  5. หน้า Troubleshoot คลิก Advanced options
  6. หน้า Advanced options คลิก Automatic Repair หรือ Startup Repair
  7. รอให้ Windows Automatic/Startup Repair เสร็จ
  8. รีสตาร์ท - หาแก้ไขสำเร็จ หายัง ให้ทำวิธีถัดไป

อ่านเพิ่ม: How to fix Automatic Repair couldn't repair your PC

วิธีที่ 2: ซ่อม Boot Sector หรือ Rebuild BCD

  1. เปิด Command Prompt จากวิธีข้างต้น (ใช้ DVD ติดตั้ง)
  2. พิมพ์คำสั่งทีละบรรทัด กด Enter ทุกครั้ง:
    bootrec.exe /FixMbr
    bootrec.exe /FixBoot
    bootrec.exe /RebuildBcd
  3. หากคำสั่งข้างต้นล้มเหลว ใช้คำสั่งนี้:
    bcdedit /export C:\BCD_Backup
    c:
    cd boot
    attrib bcd -s -h -r
    ren c:\boot\bcd bcd.old
    bootrec /RebuildBcd
  4. Exit cmd และรีสตาร์ท Windows

วิธีที่ 3: สร้าง BCD ใหม่

  1. เปิด Command Prompt พิมพ์:
    bcdboot c:\windows
  2. คำสั่งนี้คัดลอก BCDboot จาก partition Windows ไปยัง partition motherboard
  3. รีสตาร์ทและตรวจสอบ

วิธีที่ 4: ตั้ง Partition ให้ Active ให้ถูกต้อง

  1. Command Prompt พิมพ์: diskpart
  2. พิมพ์คำสั่งใน Diskpart (อย่าพิมพ์ DISKPART):
    DISKPART> select disk 1
    DISKPART> select partition 1
    DISKPART> active
    DISKPART> exit
  3. หมายเหตุสำคัญ: ต้องตั้ง System Reserved Partition (ประมาณ 100MB) เป็น Active หากไม่มี ให้ตั้ง C: Drive เป็น Active
  4. รีสตาร์ทเพื่อใช้การเปลี่ยนแปลง

เสร็จสิ้น! แก้ไข BCD Missing Error เรียบร้อย หากยังมีปัญหา สอบถามได้ในความคิดเห็น