REFERENCE_BY_POINTER (0x00000018) เป็น BSOD แสดง Illegal reference count ของ Object ตาม State ของมัน ทำให้ System Crash ไม่สามารถทำงานได้ สาเหตุทั่วไป: Drivers เก่า, Timing inconsistency, Generic bugs

1. ตรวจสอบ RAM ด้วย Windows Memory Diagnostic
Error นี้มักมาจาก Memory เสียหาย ใช้ Tool built-in:
- ค้นหา Windows Memory Diagnostic > Open
- เลือก Restart now and check for problems รอทดสอบ
- หลัง Restart จะแสดงผล (Windows 10 แสดงมุมขวาล่าง)

หาไม่เจอ Error = RAM ปกติ ไปวิธีถัดไป หาพบ Error = ติดต่อผู้ผลิต Hardware หรือทดสอบด้วย Passmark Memtest86
2. รัน CHKDSK ตรวจสอบ Hard Drive
- File Explorer > คลิกขวา Drive ที่ต้องการตรวจ > Properties
- แท็บ Tools > Check (Error checking)
- Utility จะสแกน File System Errors และ Bad Sectors
- หาพบ Issue > Restart เพื่อเริ่มซ่อมแซม (CHKDSK จะรันตอนบูท)

3. ติดตั้ง Graphics Card Driver ใหม่
Driver กราฟิกเก่า/เสียหาย ก็อาจทำให้ Error นี้เกิด:
- ค้นหา Device Manager > Open > ขยาย Display adapters
- คลิกขวา Graphics Card driver > Uninstall device
- Restart (Windows จะติดตั้ง Driver ล่าสุดอัตโนมัติ)

4. รัน SFC และ DISM Commands
Corruption/Bugs แก้ได้ด้วย Built-in Tools:
- SFC (System File Checker) - แทนที่ไฟล์เสียหายด้วย Cached copy
- DISM (Deployment Image Servicing and Management) - ซ่อม Component Store
รันทั้งคู่ โอกาสแก้ปัญหาสูง
5. ใช้ Driver Verifier Manager Tool
Tool นี้ระบุ Driver ที่เสียหาย (ไม่ได้ซ่อมแซม แต่ช่วย Isolation):
- เปิด CMD as Administrator
- พิมพ์:
verifier
Enter - เลือก Create standard settings > Next
- เลือก Automatically select all drivers installed on this computer > Finish
- Restart ระบบจะ Analyze Drivers ทั้งหมด แจ้งเตือนหาพบปัญหา



หาพบ Driver เสียหาย ให้ Update
6. Troubleshoot ใน Clean Boot State
- Windows + R พิมพ์ msconfig Enter
- แท็บ General: Selective startup ยกเลิกติ๊ก Load startup items
- คลิก Normal startup > แท็บ Services
- ติ๊ก Hide all Microsoft services > Disable all
- Apply > OK > Restart ตรวจสอบ


