Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

เข้าใจและแก้ไข Blue Screen of Death (BSOD) Stop Errors ใน Windows

คู่มือเข้าใจ วิเคราะห์ และแก้ไข Blue Screen of Death (BSOD) Stop Errors, Error Codes, Bug Check, System Crash, Kernel Error ใน Windows 11/10/8/7

Blue Screen of Death ใน Windows 11/10

Windows เจอเงื่อนไขเสี่ยงระบบ (Bug) จะ Halt System เรียกว่า Bug Check หรือ System Crash, Kernel Error, System Fault, Stop Error

Win XP: Error Reporting แบบ Manual Win 7/Vista/10/11: Automated Reporting

BSOD มักอยู่ 1 วินาที แล้ว Reboot ให้ Disable Auto Restart เพื่ออ่าน Error Code:

Control Panel > System > Advanced System Settings > Advanced Tab > Startup and Recovery > Settings > Uncheck Automatically Restart

โครงสร้าง Stop Error (3 ส่วน)

  • PART 1: Symbolic Error Name (เช่น IRQL_NOT_LESS_OR_EQUAL)
  • PART 2: Troubleshooting Recommendations
  • PART 3: Error Number (Hex) และ Parameters (สูงสุด 4 ตัว)

มี BSOD Codes มากกว่า 250 รหัส

ตัวอย่าง BSOD พบบ่อย: 0xA – IRQL_NOT_LESS_OR_EQUAL

Driver เข้าถึง Memory ผิดขณะ NT รันที่ IRQL เฉพาะ Driver Coding Error

Parameters: 1=Memory Location, 2=IRQL, 3=Read/Write, 4=Code Address Recovery: ไม่มี Fatal Error

Troubleshoot Windows Stop Errors/BSODs

  1. System Restore
  2. Anti-virus, Anti-spyware, Junk/Registry Cleaner
  3. Windows Check Disk Utility (CHKDSK)
  4. เช็ค Software/Hardware Changes 近期
  5. Software มักเป็น Victim ไม่ใช่ Cause เช็ค Hardware: HDD เสีย, RAM ชำรุด, CPU Overheat
  6. ดู Driver Name ใน Error Details หากมี Disable/Remove/Rollback Driver นั้น (NIC, Disk Controllers, Video Adapters บ่อยสุด)
  7. Windows Memory Diagnostic Tool
  8. เช็ค BIOS Update/Reset Defaults
  9. เช็ค System Resources (Disk Space, RAM)
  10. System File Corrupt? Boot Safe Mode (Core Drivers Only) > Device Manager Uninstall Suspect Driver หรือ System Restore
  11. Windows 10 Blue Screen Troubleshooter

Driver Verifier Manager (Verifier.exe)

Tool ระบุ Driver ที่ผิดปกติ: Run As Admin > Create Standard Settings > Select Unsigned Drivers (น่าจะเป็นสาเหตุ) > Next จนจบ

ทำให้ BSOD เกิดตอน Boot พร้อมข้อมูล Driver ที่ผิด แล้ว Update/Rollback/Uninstall Driver นั้น

ระวัง: Driver ที่เจออาจไม่ใช่ตัวร้ายจริง ใช้ discretion

Device Driver Maintenance

Device Manager > Properties > Driver Tab:

  • Update Driver
  • Roll Back Driver
  • Uninstall Driver

รายการ BSOD Errors พบบ่อยและวิธีแก้

STOP 0x000000D1 / DRIVER_IRQL_NOT_OR_EQUAL

Driver เข้าถึง Memory ผิด KB810093, KB316208, KB810980

STOP 0x0000000A / IRQL_NOT_LESS_OR_EQUAL

Kernel-mode Process/Driver เข้าถึง Memory ไม่ได้อนุญาต Hardware/Software ไม่เข้ากัน KB314063

STOP 0x00000050 / PAGE_FAULT_IN_NONPAGED_AREA

Driver/Service ขอ Data ไม่ได้ใน Memory RAM เสียหรือ Software ไม่เข้ากัน (Remote Control, Antivirus) KB894278, KB183169

STOP 0x000000C2 / BAD_POOL_CALLER

Illegal Memory Allocation Driver/Software Bug หรือ Hardware Fail KB265879

STOP 0x000000ED / UNMOUNTABLE_BOOT_VOLUME

Windows เข้าถึง Boot Volume ไม่ได้ Check Disk Controller Drivers, Cabling, 80-connector Cable สำหรับ ATA-66/100 KB297185, KB315403

STOP 0x0000001E / KMODE_EXCEPTION_NOT_HANDLED

Kernel Detect Illegal Instruction Invalid Memory/Access Violation Driver/Hardware Fault

STOP 0x00000024 / NTFS_FILE_SYSTEM

NTFS Driver Problem Hardware Failure Disk/Controller Check Connections, Run CHKDSK KB228888

STOP 0x0000002E / DATA_BUS_ERROR

Physical Memory Fail (รวม Video Adapter RAM) หรือ Hard Disk Corrupt/Motherboard Damage

STOP 0x0000003F / NO_MORE_SYSTEM_PTES

Page Table Entries หมด Backup Program ควบคุมไม่ได้ หรือ Buggy Driver KB256004

STOP 0x00000077 / KERNEL_STACK_INPAGE_ERROR

อ่าน Kernel Data จาก Page File ไม่ได้ Memory Defect, HDD Malfunction, Disk Controller/Cable, Corrupt Data, Virus KB228753

STOP 0x0000007F / UNEXPECTED_KERNEL_MODE_TRAP

Hardware Failure: RAM Defect, Mismatched Modules, CPU Malfunction, Fan/PSU Fail, Overclocking KB137539

STOP 0x000000D8 / DRIVER_USED_EXCESSIVE_PTES

Driver เขียนแย่ ขอ Kernel Memory มาก KB256004

STOP 0x000000EA / THREAD_STUCK_IN_DEVICE_DRIVER

Video Adapter ใหม่/Driver แย่ เปลี่ยน Adapter/Driver KB293078

STOP 0xC000021A / STATUS_SYSTEM_PROCESS_TERMINATED

Security Problem: Winlogon/CSRSS Compromised, System Files Mismatch, Permissions Wrong, 3rd-party Programs

STOP 0xC00000221 / STATUS_IMAGE_CHECKSUM_MISMATCH

Damaged Page File, Disk/File Corruption, Faulty Hardware Windows RE / System Restore / Last Known Good Config

REGISTRY_ERROR

อ่าน Registry จาก Disk ไม่ได้ Restore Registry จาก Backup

DIVIDE_BY_ZERO_ERROR

App Divide by Zero Check Memory Dump

KMODE_EXCEPTION_NOT_HANDLED

Device Driver Config ผิด ยากที่จะ Isolate

INVALID_PROCESS_ATTACH_ATTEMPT (0x5)

Kernel Process Attach อีก Process บันทึก Apps ที่รันตอน Crash ไม่มี Recovery

HARDWARE_INTERRUPT_STORM

Driver/Firmware เขียนแย่ Device Manager/System Info ช่วยได้

INACCESSIBLE_BOOT_DEVICE

Windows อ่าน HDD ไม่ได้ Faulty Driver หรือ Virus

PFN_LIST_CORRUPT (0x4E)

RAM ชำรุด Check/Replace RAM

MACHINE_CHECK_EXCEPTION

CPU Overclock หรือ Power Supply

MULTIPLE_IRP_COMPLETE_REQUESTS (0x44)

Driver Logic Fault Heavy Load System

NMI_HARDWARE_FAILURE

SIMMS เสีย ติดต่อ Hardware Vendor

Tools: BlueScreenView (Analyze Minidumps), WhoCrashed, Windows Bug Check Codes List

อ่านเพิ่ม: Purple, Brown, Yellow, Red, Green Screen of Death Explained