Windows เสมอให้ความสำคัญกับความปลอดภัยของคอมพิวเตอร์และผู้ใช้ อัปเดตเผยแพร่บ่อยๆ เพื่อให้ PC อยู่ไกลจากภัยคุกคามและบั๊ก ดังนั้นอุปกรณ์ของคุณจะ Up-to-date เมื่อคุณทำตามพรอมป์อัปเดต แต่บางครั้งอัปเดตบางอย่างติดตั้งไม่สมบูรณ์ นำไปสู่ Errors ข้อผิดพลาดทั่วไปคือ Unable to install printer the handle is invalid ในบทความนี้ คุณจะรู้ว่า The handle is invalid error คืออะไร และวิธี Troubleshooting แก้ไขปัญหา Handle is invalid Windows 10
วิธีแก้ The Handle is Invalid Error ใน Windows 10
INVALID_HANDLE error เกิดขึ้นบนหน้าจอ Login หรือ Sign-up และ Error นี้ไม่ให้คุณ Print job หรือรัน Script ใดๆ ได้ Error นี้เกิดจาก Windows update files ที่ไม่เข้ากันได้ (Incompatible) หรือ System files ที่ตั้งค่าผิด (Misconfigured) ใน PC คุณอาจเจอ Error ภายใต้สถานการณ์หลายอย่าง แต่อย่างที่สำคัญคือ ไม่สามารถติดตั้ง Printer ได้ ทำให้ไม่สามารถเพิ่ม Printer ใดๆ หรือใช้ Printer ที่มีอยู่แล้วได้ อาจเจอ Error นี้ใน Windows เวอร์ชันเก่าทั้งหมด และไม่สามารถดำเนินการอัปเดตที่ค้างอยู่หรือ Software updates ได้ สาเหตุอื่นๆ:
- โจมตีจากมัลแวร์หรือไวรัส
- Registry file ที่มีปัญหา
- Login credentials ผิด
- Windows ไม่สามารถ Duplicate non-pseudo handles จาก PEB32 processes ได้
ในส่วนนี้เรารวบรวมวิธีแก้ INVALID_HANDLE error จัดเรียงตามความรุนแรงและประสิทธิภาพ เพื่อแก้ปัญหาเร็วที่สุด ทำตามลำดับเพื่อผลลัพธ์สมบูรณ์
วิธีที่ 1: Reboot PC
Restart แบบง่ายๆ จะช่วยแก้ Temporary errors ได้ ให้ลอง Reboot PC ตามขั้นตอน และเช็คว่าเจอปัญหาอีกหรือไม่ หรือ Shut down แบบเต็มที่ผ่าน Power options แล้วเปิดใหม่
- ไปที่ Desktop ด้วย Windows + D
- กด Alt + F4 พร้อมกัน จะเห็น Pop-up window
- คลิก Drop-down box เลือก Restart
- กด Enter เพื่อ Reboot ระบบ

เช็คว่า Error นี้แก้ไขแล้วหรือยัง
วิธีที่ 2: รัน Printer Troubleshooter
การรัน Windows Printer Troubleshooter เป็นวิธีง่ายที่สุดแก้ Error นี้ใน PC ไฟล์ Corrupt และ Damaged ทั้งหมดจะถูกลบเมื่อทำกระบวนการนี้ ขั้นตอนง่ายๆ รัน Windows Printer Troubleshooter:
- กด Windows + I พร้อมกัน เปิด Settings
- คลิก Update & Security
- คลิก Troubleshoot เลือก Printer คลิก Run the troubleshooter
- ระบบจะ Screening process รอเสร็จ หากพบปัญหา คลิก Apply this fix ทำตามคำแนะนำ
- Restart PC หลังแก้ไขปัญหาทั้งหมดแล้ว
วิธีที่ 3: ดาวน์โหลด HP Universal Print Driver (สำหรับระบบ HP)
ผู้ใช้หลายคนรายงานว่าการดาวน์โหลด HP Universal Print Driver แก้ปัญหานี้ได้ เพราะจะ Detect และ Configure ไดรเวอร์ HP และ Non-HP อัตโนมัติ สามารถลองดาวน์โหลด HP Universal Print Driver จากเว็บ HP ได้
วิธีที่ 4: แก้ไข Local Security Policy
ผู้ใช้หลายคนรายงานว่าการแก้ไข Network security policies ช่วยแก้ปัญหานี้ได้ มีพารามิเตอร์บางอย่างที่เปลี่ยนแล้วจะช่วยได้มาก ขั้นตอนปรับ Local Security Policies:
หมายเหตุ: เข้าถึง Local Security Policy ได้ก็ต่อเมื่อใช้ Windows 10 Pro, Enterprise และ Education editions เท่านั้น
- เปิด Run dialog box ด้วย Windows + R
- พิมพ์
secpol.mscกด Enter - คลิก Local Policies ด้านซ้าย ตามด้วย Security Options
- ด้านขวา ดับเบิลคลิก Network security: LAN Manager authentication level
- แท็บ Local Security Setting เลือก Send LM & NTLM – use NTLMv2 session security if negotiated จาก Drop-down menu
- คลิก Apply > OK บันทึก และกลับสู่ Local Security Policy window
- ดับเบิลคลิก Network Security: Minimum session security for NTLM SSP based (including secure RPC) clients
- เอาติ๊ก Require 128-bit encryption ออก
- คลิก Apply > OK บันทึก และ Reboot PC
หมายเหตุ: พิมพ์ Local Security Policy ใน Search box เปิดหน้าต่างได้เช่นกัน
เช็คว่าปัญหาแก้ไขแล้วหรือยัง
วิธีที่ 5: อัปเดตหรือ Roll Back Drivers
ทำตามขั้นตอนอัปเดตไดรเวอร์หรือ Roll back printer driver updates เพื่อแก้ Unable to install printer the handle is invalid error
ตัวเลือกที่ 1: Update Drivers
ถ้าไดรเวอร์ปัจจุบันไม่เข้ากันได้หรือเก่ากับ Program files จะเจอ the handle is invalid issue โดยเฉพาะกับ Printers แนะนำอัปเดต Printer drivers เพื่อป้องกันปัญหา
- พิมพ์ Device Manager ในเมนูค้นหา Windows 10
- ดับเบิลคลิก Print queues ขยาย
- คลิกขวาที่ชื่อ Printer เลือก Update driver
- คลิก Search automatically for drivers ดาวน์โหลดและติดตั้งไดรเวอร์ที่ดีที่สุดอัตโนมัติ
- ถ้ายังไม่ได้อัปเดต จะ อัปเดตและติดตั้งเวอร์ชันล่าสุด
- ถ้าอัปเดตอยู่แล้ว จะแสดง The best drivers for your device are already installed
หมายเหตุ: ตัวอย่างแสดง Microsoft XPS Document Writer
Restart คอมพิวเตอร์ และเช็คว่าแก้ ปัญหานี้ ในระบบแล้วหรือยัง
ตัวเลือกที่ 2: Roll back Driver Updates
ถ้าระบบทำงานถูกต้องก่อนและเริ่มผิดปกติหลังอัปเดต การ Roll back drivers อาจช่วยได้ Roll back จะลบไดรเวอร์ปัจจุบันและแทนที่ด้วยเวอร์ชันก่อนหน้า กระบวนการนี้ควรลบ Bugs ในไดรเวอร์และอาจแก้ปัญหาได้
- พิมพ์ Device Manager ใน Windows search bar เปิดจากผลลัพธ์
- ดับเบิลคลิก Printers จากแผงซ้าย ขยาย
- คลิกขวาที่ printer driver คลิก Properties
- ไปแท็บ Driver tab เลือก Roll Back Driver
- ระบุเหตุผล Why are you rolling back? ใน Driver Package rollback คลิก Yes
- คลิก OK ใช้การเปลี่ยนแปลง Restart PC

วิธีที่ 6: อัปเดต Windows
ให้แน่ใจว่าใช้ Windows เวอร์ชัน Updated มิฉะนั้น ไฟล์ในระบบจะไม่เข้ากันได้กับ Program files นำไปสู่ the handle being an invalid issue ทำตามขั้นตอนอัปเดต Windows OS:
- กด Windows + I พร้อมกัน เปิด Settings
- คลิกไทล์ Update & Security
- แท็บ Windows Update คลิก Check for updates
- ถ้ามีอัปเดตใหม่ คลิก Install Now ทำตามคำแนะนำ
- ถ้า Windows up-to-date แล้ว จะแสดง You're up to date
วิธีที่ 7: ติดตั้ง Printer ใหม่ (Reinstall Printer)
สมมติว่าคุณเจอ Error นี้หลังรัน Printer troubleshooter ลองติดตั้ง Printer เฉพาะที่เจอ Error ใหม่ ตามขั้นตอน:
หมายเหตุ: ใช้ Microsoft Print to PDF device เป็นตัวอย่าง
- เปิด Control Panel คลิก Devices and Printers
- คลิกขวาที่ Printer เลือก Remove device
- คลิก Yes ใน Remove Device prompt
- คลิก Add a printer
- เลือก The printer that I want isn't listed
- คลิก Add a local printer or network printer with manual settings คลิก Next
- ในหน้าต่างถัดไป เลือก PORTPROMPT: (Local Port) ใน Drop-down ของ Use an existing port คลิก Next
- เลือก Manufacturer และ Printers คลิก Next
- เปลี่ยนชื่อ Printer ถ้าต้องการ คลิก Next
- รอ Windows ติดตั้ง Printer เสร็จ เช็คว่าเจอ Error อีกหรือไม่
วิธีที่ 8: ซ่อมแซมไฟล์ระบบ
สามารถสแกนและซ่อมแซม System files อัตโนมัติได้ด้วย System File Checker (SFC) และ DISM scans ทำตามขั้นตอน:
- กดปุ่ม Windows พิมพ์ Command Prompt คลิก Run as administrator
- คลิก Yes ในพรอมป์ User Account Control
- พิมพ์
chkdsk C: /f /r /xกด Enter - ถ้ามีข้อความ Chkdsk cannot run…the volume is… in use process ให้พิมพ์ Y กด Enter
- พิมพ์
sfc /scannowกด Enter รัน System File Checker scan - หลังสแกนเสร็จ จะแสดงข้อความใดข้อความหนึ่ง:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection could not perform the requested operation.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.
- เมื่อสแกนเสร็จ Restart PC
- เปิด Command Prompt as administrator อีกครั้ง รันคำสั่งต่อไปนี้ทีละคำสั่ง:


หมายเหตุ: การสแกนใช้เวลานานหลายนาที ทำงานอื่นต่อได้ แต่อย่าปิดหน้าต่างโดยไม่ได้ตั้งใจ
dism.exe /Online /cleanup-image /scanhealth dism.exe /Online /cleanup-image /restorehealth dism.exe /Online /cleanup-image /startcomponentcleanup
หมายเหตุ: ต้องมีอินเทอร์เน็ตทำงานเพื่อรันคำสั่ง DISM ให้ถูกต้อง

วิธีที่ 9: รัน Malware Scan
ทำตามขั้นตอนรัน Malware scan แก้ Unable to install printer the handle is invalid error:
- กด Windows + I พร้อมกัน เปิด Settings
- คลิก Update & Security
- ไปที่ Windows Security ด้านซ้าย
- คลิก Virus & threat protection ด้านขวา
- คลิกปุ่ม Quick Scan ค้นหามัลแวร์
- เมื่อสแกนเสร็จ จะแสดงภัยคุกคามทั้งหมด คลิก Start Actions ภายใต้ Current threats
- ถ้าไม่มีภัยคุกคาม จะแสดง No current threats
วิธีที่ 10: รัน Startup Repair
การรัน Startup repair จะช่วยแก้ Unable to install printer the handle is invalid error ทำตามคำแนะนำ:
- ไปที่ Start menu
- เลือก Power icon คลิก Restart ค้าง Shift key
- คลิก Troubleshoot
- คลิก Advanced options ตามด้วย Startup Repair
- คลิก Continue หาก Account มีรหัสผ่าน ให้เลือก Account พิมพ์ Password

Startup repair tool จะสแกน PC และแก้ปัญหา
วิธีที่ 11: Uninstall Corrupt Updates ใน Safe Mode
ผู้ใช้บางคนที่เจอ Unable to install printer the handle is invalid error แก้ได้ใน Safe Mode บูท PC เข้า Safe Mode ลอง Uninstall อัปเดตล่าสุดที่ก่อให้เกิด Error ขั้นตอนเข้า Safe Mode:
หมายเหตุ: อาจมีหน้าจอให้ใส่ BitLocker key (หากอุปกรณ์เข้ารหัส)
เพื่อบูท PC เข้า Safe Mode ต้องเข้า Windows Recovery Environment โดยปิดเปิดเครื่องซ้ำๆ
- กด Windows + I เปิด Settings
- เลือก Update & Security
- คลิก Recovery ด้านซ้าย เลือก Restart now ภายใต้ Advanced startup
- ปล่อยให้ PC รีสตาร์ทสมบูรณ์ ตอนนี้อยู่ใน Windows Recovery Environment
- คลิก Troubleshoot
- คลิก Advanced options
- เลือก Advanced options ตามด้วย Startup Settings
- คลิก Restart รอหน้าจอ Startup Settings ปรากฏ
- กดปุ่ม (number) 4 เพื่อเข้า Safe Mode

หมายเหตุ: เพื่อ Enable Safe Mode with network access กด number 5
ตอนนี้สามารถทำตามและแก้ ปัญหานี้ โดย Uninstall อัปเดตล่าสุดด้วยตนเองหลังบูท PC เข้า Safe Mode แล้ว
- กดปุ่ม Windows พิมพ์ Control Panel เปิด
- ตั้ง View by: Large icons เลือก Programs and Features
- คลิก View installed updates ด้านซ้าย
- เลือกอัปเดตล่าสุด คลิก Uninstall
- ยืนยันพรอมป์ (ถ้ามี) และ Reboot PC
เช็คว่าแก้ปัญหาได้หรือยัง
หมายเหตุ: หากเจอ Error ใน Safe Mode ให้ Uninstall หรือ Reinstall แอปพลิเคชันที่มีปัญหาก่อให้เกิด Error นี้
วิธีที่ 12: Perform System Restore
บ่อยครั้งเจอ Unable to install printer the handle is invalid error หลัง Windows update หากเจอปัญหานี้ ให้ Restore ระบบกลับไปเวอร์ชันก่อนหน้า
หมายเหตุ: แนะนำ Boot Windows 10 PC เข้า Safe Mode ก่อนทำ System Restore
- กดปุ่ม Windows พิมพ์ Command Prompt คลิก Run as administrator
- พิมพ์คำสั่ง
rstrui.exeกด Enter - คลิก Next ในหน้าต่าง System Restore
- ยืนยัน Restore point คลิก Finish

ระบบจะ Restore กลับสู่สถานะก่อนหน้า ตอนนี้เช็คว่าปัญหาแก้ไขแล้วหรือยัง
บทความแนะนำ:
- แก้ Service Error 1053 บน Windows 10
- 28 Best File Copy Software for Windows
- แก้ The Feature You Are Trying to Use is on a Network Resource That is Unavailable
- แก้ Zoom is Unable to Detect a Camera
หวังว่าคู่มือนี้จะช่วยให้คุณแก้ Unable to install printer the handle is invalid error ใน Windows 10 ได้ แจ้งเราทราบว่าวิธีไหนได้ผลดีที่สุด และหากมีคำถาม/ข้อเสนอแนะ สามารถทิ้งความคิดเห็นได้ในส่วนความคิดเห็นด้านล่างครับ