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

แก้ไข: Remote Desktop หาคอมพิวเตอร์ไม่เจอ บน Windows 10

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

แก้ไข: Remote Desktop หาคอมพิวเตอร์ไม่เจอ บน Windows 10

บางกรณี ปัญหาเพียงแค่คุณพิมพ์ 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 ในส่วนใหญ่จะแก้ปัญหาได้ วิธีทำ:

  1. กด Windows Key + X เลือก Command Prompt (Admin) เปิด elevated command prompt
  2. command prompt โหลดเสร็จ พิมพ์คำสั่งด้านล่าง Enter:
    ipconfig /flushdns
    แก้ไข: Remote Desktop หาคอมพิวเตอร์ไม่เจอ บน Windows 10
  3. ปิด command prompt
  4. ตรวจสอบว่าปัญหาแก้ไขได้หรือไม่

วิธีที่ 2: ล้าง RDP Connections History

บางกรณี ปัญหามาจาก credentials cache ของ Remote Desktop Connections ในกรณีนี้ ต้องล้าง RDP connections history ทำได้ผ่าน Windows Registry วิธีทำ:

  1. กด Windows Key + R เปิด Run dialog box
  2. พิมพ์ 'regedit' Enter
  3. นำทางไป directory นี้:
    HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default
  4. ขวามือ ลบ MRU entries ทั้งหมด แล้วรีสตาร์ทระบบแก้ไข: Remote Desktop หาคอมพิวเตอร์ไม่เจอ บน Windows 10
  5. ดูว่าปัญหาแก้ไขได้หรือไม่

วิธีที่ 3: เพิ่ม Hostname ใน Hosts File

หากวิธีข้างต้นไม่ได้ผล hosts file บนระบบขาด entry ของ RDP server ต้องเพิ่มด้วยตนเอง แล้วดูว่าปัญหาแก้ไขได้หรือไม่ ทำตามคำแนะนำ:

  1. กด Windows Key + X เลือก Command Prompt (Admin) เปิด elevated command prompt
  2. ใน command prompt พิมพ์ด้านล่าง Enter:
    Notepad C:\Windows\System32\drivers\etc\hosts
  3. จะเปิด hosts file ใน notepadแก้ไข: Remote Desktop หาคอมพิวเตอร์ไม่เจอ บน Windows 10
  4. ต้องเพิ่ม string ในรูปแบบนี้:
  5. 127.0.0.1 [hostname of the server]
  6. กด Ctrl + S บันทึก notepad file
  7. ปิด notepad และ command prompt
  8. ดูว่าปัญหาแก้ไขได้หรือไม่