ข้อความข้อผิดพลาด 'Remote Desktop can't find the computer' ปรากฏเมื่อการเชื่อมต่อ Remote Desktop ล้มเหลว สาเหตุอาจหลายอย่าง รวมถึง DNS cache หรือ system hosts file เป็นต้น บ่อยครั้งถือว่า error นี้เกิดเพราะระบบไม่ resolve hostname ที่ระบุได้ เนื่องจากปัญหา DNS แต่ไม่จำเป็นต้องเป็นเช่นนั้นทุกครั้ง มีปัจจัยอื่นๆ ที่ทำให้ resolve hostname ไม่ได้

บางกรณี ปัญหาเพียงแค่คุณพิมพ์ hostname ผิด สามารถแก้ได้โดยใช้ IP address แทน hostname แต่ถ้าไม่ได้ คุณจะต้องเดินทางไกล ในกรณีนั้น ลองใช้วิธีแก้ไขด้านล่างเพื่อแยกปัญหา
สาเหตุของข้อความข้อผิดพลาด 'Remote Desktop Can't Find the Computer' บน Windows 10
ข้อผิดพลาดปรากฏเพราะระบบไม่ resolve hostname ที่ระบุได้ ซึ่งอาจมาจากปัจจัยต่อไปนี้ —
- DNS Cache: ในส่วนใหญ่ DNS cache ของคุณเป็นสาเหตุที่ระบบไม่ถึง hostname ในกรณีนี้ ต้อง flush DNS cache
- ไม่มี Entry ใน Hosts File: ข้อผิดพลาดอาจปรากฏถ้า hosts file ของระบบไม่มี entry ของ RDP server ของคุณ ในสถานการณ์นี้ ต้องเพิ่มด้วยตนเอง
- Remote Desktop Connections Credentials Cache: ปัญหายังมาจาก credentials cache ของ Remote Desktop Connections ต้อง clear credentials cache
ตอนนี้ไปที่ resolutions ที่เป็นไปได้ สามารถหลีกเลี่ยงปัญหาได้ด้วยวิธีต่อไปนี้
วิธีที่ 1: Flush DNS
หากคุณติดข้อผิดพลาดนี้ ขั้นแรกคือ flush DNS cache ในส่วนใหญ่จะแก้ปัญหาได้ วิธีทำ:
- กด Windows Key + X เลือก Command Prompt (Admin) เปิด elevated command prompt
- command prompt โหลดเสร็จ พิมพ์คำสั่งด้านล่าง Enter:
ipconfig /flushdns

- ปิด command prompt
- ตรวจสอบว่าปัญหาแก้ไขได้หรือไม่
วิธีที่ 2: ล้าง RDP Connections History
บางกรณี ปัญหามาจาก credentials cache ของ Remote Desktop Connections ในกรณีนี้ ต้องล้าง RDP connections history ทำได้ผ่าน Windows Registry วิธีทำ:
- กด Windows Key + R เปิด Run dialog box
- พิมพ์ 'regedit' Enter
- นำทางไป directory นี้:
HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default
- ขวามือ ลบ MRU entries ทั้งหมด แล้วรีสตาร์ทระบบ

- ดูว่าปัญหาแก้ไขได้หรือไม่
วิธีที่ 3: เพิ่ม Hostname ใน Hosts File
หากวิธีข้างต้นไม่ได้ผล hosts file บนระบบขาด entry ของ RDP server ต้องเพิ่มด้วยตนเอง แล้วดูว่าปัญหาแก้ไขได้หรือไม่ ทำตามคำแนะนำ:
- กด Windows Key + X เลือก Command Prompt (Admin) เปิด elevated command prompt
- ใน command prompt พิมพ์ด้านล่าง Enter:
Notepad C:\Windows\System32\drivers\etc\hosts
- จะเปิด hosts file ใน notepad

- ต้องเพิ่ม string ในรูปแบบนี้:
- 127.0.0.1 [hostname of the server]
- กด Ctrl + S บันทึก notepad file
- ปิด notepad และ command prompt
- ดูว่าปัญหาแก้ไขได้หรือไม่