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

เชี่ยวชาญ Remote Desktop บน Windows 10: เชื่อมต่อ เข้าถึง และควบคุม PC ใดๆ ได้

บนคอมพิวเตอร์ Windows หากต้องการเชื่อมต่ออุปกรณ์อื่น สามารถทำได้โดยตั้งค่า Remote Desktop connection ใช้แอป Microsoft Remote Desktop บน Windows 10 เพื่อเชื่อมต่อและเข้าถึงคอมพิวเตอร์อื่นผ่านเครือข่ายเดียวกันหรืออินเทอร์เน็ต การตั้งค่า remote connection ช่วยให้คุณเข้าถึงไฟล์ โปรแกรม และทรัพยากรของคอมพิวเตอร์ Windows จากคอมพิวเตอร์อื่นที่ใช้ Windows ให้ทำตามขั้นตอนด้านล่างเพื่อตั้งค่าคอมพิวเตอร์และเครือข่ายสำหรับการเชื่อมต่อระยะไกล

วิธีใช้แอป Remote Desktop บน Windows 10

เปิดใช้งาน Remote Connections บนคอมพิวเตอร์ของคุณ

ก่อนตั้งค่า remote access ต้องเปิดใช้งาน Remote Desktop Connections บนคอมพิวเตอร์ก่อน ข้อจำกัด: ไม่ใช่ทุกเวอร์ชัน/เอดิชันของ Windows รองรับ Remote Desktop Connections ฟีเจอร์นี้มีเฉพาะ Pro และ Enterprise ของ Windows 10 และ 8, และ Windows 7 Professional, Ultimate, Enterprise เท่านั้น

เพื่อเปิดใช้งาน remote connections บน PC:

  1. พิมพ์ 'control panel' ใน Start Menu Search Bar คลิกผลลัพธ์เพื่อเปิด
  2. คลิก 'System and Security'
  3. ภายใต้แท็บ System คลิก 'Allow remote access'
  4. ภายใต้แท็บ Remote ติ๊กถูก 'Allow remote connections to this computer' คลิก 'Apply' และ OK บันทึก

หากใช้ Windows 10 (มี Fall Update) ทำได้ง่ายกว่านี้:

  1. กด Windows Key + I เปิด Settings คลิก System
  2. เลือก 'Remote Desktop' จากแผงซ้าย เปิด toggle ถัดจาก Enable Remote Desktop

ตั้งค่า Static IP Address บน Windows 10

หากใช้ private network IP address จะเปลี่ยนทุกครั้งที่ connect/disconnect หากจะใช้ remote desktop connection บ่อยๆ ควรตั้งค่า static IP address บนคอมพิวเตอร์ ขั้นตอนนี้สำคัญมาก เพราะหากไม่ตั้ง static IP จะต้องตั้งค่า port forwarding บน router ใหม่ทุกครั้งที่ IP address เปลี่ยน

  1. กด Windows Key + R พิมพ์ ncpa.cpl กด Enter เปิด Network Connections
  2. คลิกขวา ที่ network connection (WiFi/Ethernet) เลือก Properties
  3. เลือก Internet Protocol Version 4 (TCP/IPv4) คลิก Properties
  4. ติ๊กถูก "Use the following IP address" ป้อนข้อมูล:
    IP address: 10.8.1.204
    Subnet mask: 255.255.255.0
    Default gateway: 10.8.1.24
  5. ต้องใช้ local IP address ที่ถูกต้อง ไม่衝突กับ local DHCP Scope และ default gateway ต้องเป็น IP address ของ router
  6. หมายเหตุ: หา DHCP configuration ได้ที่ DHCP settings บน router admin panel หากไม่มี credentials เข้า router admin ให้หา TCP/IP configuration ปัจจุบันด้วยคำสั่ง ipconfig /all ใน Command Prompt
  7. ติ๊กถูก "Use the following DNS server addresses" ใช้ DNS:
    Preferred DNS server: 8.8.4.4
    Alternate DNS server: 8.8.8.8
  8. คลิก OK แล้ว Close

ตั้งค่า Router

หากต้องการ remote access ผ่านอินเทอร์เน็ต ต้องตั้งค่า router ให้อนุญาต remote connection ต้องรู้ public IP address ของอุปกรณ์ เพื่อติดต่ออุปกรณ์ผ่านอินเทอร์เน็ต หาได้โดย:

  1. เปิดเว็บเบราว์เซอร์ ไป google.com หรือ bing.com
  2. ค้นหา 'What's my IP' จะเห็น public IP address

เมื่อรู้ public IP แล้ว ทำต่อไปเพื่อ forward port 3389 บน router:

  1. พิมพ์ 'control panel' ใน Start Menu Search Bar คลิกเปิด
  2. กด Windows Key + R Run dialog จะเปิด พิมพ์ ipconfig กด Enter
  3. Windows IP configurations โหลด บันทึก IPv4 Address และ Default Gateway (คือ IP address ของ router)
  4. เปิดเว็บเบราว์เซอร์ พิมพ์ default gateway ที่บันทึกไว้ กด Enter
  5. ล็อกอิน router ด้วย username/password
  6. ในส่วน 'Port Forwarding' ของ settings เปิดใช้ Port Forwarding
  7. เพิ่มข้อมูลภายใต้ port forwarding:
    • SERVICE NAME: ชื่ออ้างอิงที่ต้องการ
    • PORT RANGE: port number 3389
    • LOCAL IP: IPv4 address ของคอมพิวเตอร์คุณ
    • LOCAL PORT: 3389
    • PROTOCOL: เลือก TCP
  8. เพิ่ม rule ใหม่ คลิก Apply บันทึกการตั้งค่า

ใช้แอป Microsoft Remote Desktop เริ่มต้น Remote Desktop Connection

ตอนนี้ตั้งค่าคอมพิวเตอร์และเครือข่ายเสร็จแล้ว สามารถเริ่ม remote desktop connection ได้:

  1. จาก Windows Store ดาวน์โหลดแอป Microsoft Remote Desktop
  2. เปิดแอป คลิกไอคอน 'Add' มุมขวาบน
  3. เลือก 'Desktop' จากรายการ
  4. ในฟิลด์ 'PC Name' ใส่ IP address ของ PC คุณ ขึ้นอยู่กับประเภทการเชื่อมต่อ แล้วคลิก 'Add account'
    • PC ใน private network: ใส่ local IP address ของคอมพิวเตอร์ที่ต้องการเชื่อมต่อ
    • PC ผ่านอินเทอร์เน็ต: ใส่ public IP address ของคอมพิวเตอร์ที่ต้องการเชื่อมต่อ
  5. ป้อน sign-in credentials ของ remote computer ใส่ local username และ password สำหรับ local account หรือใช้ Microsoft account credentials คลิก 'Save'
  6. จะเห็นคอมพิวเตอร์ที่ต้องการเชื่อมต่อในรายการ คลิกที่คอมพิวเตอร์เพื่อเริ่ม remote desktop connection คลิก 'Connect'

จะเชื่อมต่อกับคอมพิวเตอร์เป้าหมายจากระยะไกลได้แล้ว

เพื่อเปลี่ยนการตั้งค่าการเชื่อมต่อระยะไกล คลิกไอคอนเฟืองมุมขวาบนหน้าต่าง Remote Desktop ตั้งค่า display size, session resolution ฯลฯ เพื่อเปลี่ยนการตั้งค่าสำหรับการเชื่อมต่อเฉพาะ คลิกขวาที่คอมพิวเตอร์ในรายการ เลือก 'Edit'

แนะนำเพิ่มเติม: เข้าถึงคอมพิวเตอร์จากระยะไกลด้วย Chrome Remote Desktop

แทนที่จะใช้ Microsoft Remote Desktop app สามารถใช้ Remote Desktop Connection app เก่าได้:

  1. ใน Start Menu Search พิมพ์ 'Remote Desktop Connection' เปิดแอป
  2. แอปจะเปิด พิมพ์ชื่อ remote computer (หาได้ที่ System Properties บน remote computer) คลิก Connect
  3. ไป 'More Options' หากต้องการเปลี่ยนการตั้งค่า
  4. เชื่อมต่อด้วย local IP address ก็ได้
  5. ป้อน credentials ของ remote computer
  6. คลิก OK
  7. จะเชื่อมต่อกับคอมพิวเตอร์เป้าหมายจากระยะไกลได้แล้ว
  8. เพื่อเชื่อมต่อเครื่องเดิมในอนาคตง่ายขึ้น: เปิด File Explorer ไป Network คลิกขวาที่คอมพิวเตอร์ที่ต้องการ เลือก 'Connect with Remote Desktop Connection'

นี่คือขั้นตอนการใช้ Remote Desktop app บน Windows 10 โปรดระวังเรื่องความปลอดภัยเกี่ยวกับการป้องกันการเข้าถึงโดยไม่ได้รับอนุญาต