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

แก้ GDI+ Error ป้องกันไม่ให้ Windows Shutdown ได้

GDI+ Window preventing to shut down Fix: Graphics Device Interface และ Windows App ป้องกันไม่ให้คอมพิวเตอร์ Shutdown ได้ Windows GDI+ เป็นส่วนของ Windows OS ที่ให้ 2D Vector Graphics, Imaging, Typography GDI+ ปรับปรุงจาก GDI (รุ่นก่อน) โดยเพิ่มฟีเจอร์และเพิ่มประสิทธิภาพ บางครั้ง GDI และ Windows App ขัดแย้งก็จะได้ Error GDI+ Window preventing to shut down

GDI+ คืออะไร?

GDI เป็นเครื่องมือที่ให้ความสามารถ WYSIWYG (What You See Is What You Get) ใน Windows Apps GDI+ เป็นเวอร์ชัน C++ ที่ปรับปรุงจาก GDI Graphics Device Interface (GDI) เป็น Microsoft Windows API และ Core OS Component ที่จัดการ Graphical Objects และส่งให้ Output Devices เช่น Monitor, Printer

Graphics Device Interface เช่น GDI+ ช่วยให้นักพัฒนาแสดงข้อมูลบนหน้าจอ/เครื่องพิมพ์ได้โดยไม่ต้องกังวลรายละเอียดของ Display Device เรียก Methods จาก GDI+ Classes ซึ่งจะเรียก Device Drivers ที่เหมาะสม GDI+ แยกแอปพลิเคชันจาก Graphics Hardware ทำให้พัฒนา Device-Independent Applications ได้

GDI+ Window preventing to shut down

วิธีที่ 1: รัน Power Troubleshooter วินิจฉัยและแก้ไข

  1. Windows Key + R > พิมพ์ Control > Enter เปิด Control Panel
  2. ค้นหา troubleshooter เลือก Troubleshooting
  3. คลิก System and Security > Power > ทำตามคำแนะนำ
  4. Reboot

วิธีที่ 2: รัน System File Check (SFC)

  1. Windows Key + Q > พิมพ์ cmd > คลิกขวา cmd > Run as Administrator
  2. พิมพ์ sfc /scannow > Enter
  3. Reboot

วิธีนี้ควรแก้ GDI Window preventing to shut down หากไม่ได้ ให้ต่อวิธีถัดไป

วิธีที่ 3: เริ่มต้นใน Clean Boot

เริ่ม Windows ด้วย Drivers และ Startup Programs ขั้นต่ำ (Clean Boot) ช่วยกำจัด Software Conflicts

Step 1:
  1. Windows Key + R > msconfig > OK
  2. แท็บ Boot > ยกเลิกติ๊ก Safe Boot
  3. กลับแท็บ General ติ๊ก Selective Startup
  4. ยกเลิกติ๊ก Load Startup Items
  5. แท็บ Services ติ๊ก Hide All Microsoft Services
  6. คลิก Disable All ปิดบริการที่ไม่จำเป็น
  7. แท็บ Startup > Open Task Manager
  8. ใน Startup Tab (ใน Task Manager) Disable All Startup Items ที่ Enable อยู่
  9. OK > Restart
Step 2: Enable ครึ่งหนึ่งของ Services
  1. Windows Key + R > msconfig > OK
  2. แท็บ Services ติ๊ก Hide All Microsoft Services
  3. เลือกครึ่งหนึ่งของ Checkboxes ใน Service List > Enable
  4. OK > Restart
Step 3: ตรวจสอบว่าปัญหากลับมาหรือไม่
  • ปัญหายังคงอยู่: ทำซ้ำ Step 1 และ 2 ใน Step 2 เลือกครึ่งหนึ่งของ Services ที่เลือกใน Step 2 เดิม
  • ปัญหาหาย: ทำซ้ำ Step 1 และ 2 ใน Step 2 เลือกครึ่งหนึ่งของ Services ที่ ไม่ได้เลือก ใน Step 2 เดิม ทำซ้ำจนเลือกหมด
  • เหลือ Service เดียวและปัญหายังอยู่ → Service นั้นคือสาเหตุ ไป Step 6
  • ไม่มี Service ใดก่อให้เกิดปัญหา → ไป Step 4
Step 4: Enable ครึ่งหนึ่งของ Startup Items

หาไม่มี Startup Item ก่อปัญหา Microsoft Services น่าจะเป็นสาเหตุ หา Microsoft Service ที่เป็นสาเหตุโดยทำซ้ำ Step 1 และ 2 โดยไม่ Hide Microsoft Services

Step 5: ตรวจสอบว่าปัญหากลับมาหรือไม่
  • ปัญหายังคง: ทำซ้ำ Step 1 และ 4 ใน Step 4 เลือกครึ่งหนึ่งของ Startup Items เดิม
  • ปัญหาหาย: ทำซ้ำ Step 1 และ 4 ใน Step 4 เลือกครึ่งหนึ่งของ Startup Items ที่ไม่ได้เลือก ทำซ้ำจนเลือกหมด
  • เหลือ Startup Item เดียวและปัญหายังอยู่ → Item นั้นคือสาเหตุ ไป Step 6
  • ไม่มี Startup Item ใดก่อปัญหา → Microsoft Services น่าจะเป็นสาเหตุ ทำซ้ำ Step 1 และ 2 โดยไม่ Hide Microsoft Services
Step 6: แก้ไขปัญหา

ตอนนี้คุณควรทราบว่า Startup Item หรือ Service ไหนก่อปัญหา ติดต่อผู้ผลิตโปรแกรมหรือฟอรัมดูว่าสามารถแก้ได้ไหม หรือรัน System Configuration Disable Service/Startup Item นั้น

Step 7: Boot กลับ Normal Startup
  1. Windows Key + R > msconfig > OK
  2. แท็บ General เลือก Normal Startup > OK
  3. เมื่อถาม Restart > Click Restart

คุณอาจสนใจ:

  • Fix USB Device Not Recognized. Device Descriptor Request Failed
  • วิธีแก้ VLC does not support UNDF Format
  • Fix Folder in use The action can't be completed Error
  • How To Fix Destination Folder Access Denied Error

สุดท้าย คุณแก้ GDI+ Window preventing to shut down แล้ว พร้อมใช้งานแล้ว หากยังมีคำถาม ถามในความคิดเห็นได้เลยครับ