คุณใช้ Windows Remote Desktop Connection ทุกวันไหม? ถ้าใช่ ควรสร้าง custom Remote Desktop Connection configuration file สำหรับแต่ละ remote connection การสร้าง custom connection config เรียบง่าย และประหยัดเวลามากในอนาคต
Remote Desktop Connection configuration files มี options เยอะมาก แต่ควร tweak อะไรบ้าง?
นี่คือคู่มือ custom configuration options สำคัญที่สุด
วิธีสร้าง Custom Remote Desktop Configuration File
ก่อน customize ต้องสร้าง config file ก่อน นี่คือวิธี:
- พิมพ์ remote ใน Start Menu search bar เลือก best match
- เลือก Save As ตั้งชื่อไฟล์ config แล้ว Save
- ไปที่ save location คลิกขวาไฟล์ config เลือก Open with หา Notepad OK
Remote Desktop Configuration File มี options ยาวนาน นี่คือ x ตัวเลือกที่ handy ที่สุดที่ควร config ไว้ล่วงหน้า
1. Autoreconnection Enabled
Option สำคัญและ handy หนึ่งคือ "autoreconnection enabled" เปิด auto-reconnection Remote Desktop Connection จะพยายาม connect remote computer อัตโนมัติถ้า connection หลุด หาบรรทัดนี้ ต้องเป็นแบบนี้:
autoreconnection enabled:i:1
2. Autoreconnect Max Retries
แนะนำใช้ "autoconnect max retries" ร่วมกับ "autoreconnection enabled" ตั้งจำนวนครั้งสูงสุดที่ Remote Desktop พยายาม reconnect สูงสุด 200 ครั้ง หลังจากนั้น connection จะตาย
เพิ่มบรรทัดนี้ใน config file:
autoreconnect max retries:i:[retry number]
จำไว้ max reconnections คือ 200
3. Connection Type
Option "connection type" ระบุประเภท internet connection ของ remote connection ด้าน bandwidth ขึ้นกับตัวเลือก Remote Desktop จะปรับ performance settings: font smoothing, animations, Windows Aero, themes, desktop backgrounds ฯลฯ
มี 7 connection types:
- Modem (56Kbps)
- Low-speed broadband (256Kbps—2Mbps)
- Satellite (2Mbps—16Mbps high latency)
- High-speed broadband (2Mbps—10Mbps)
- WAN (10Mbps+ high latency)
- LAN (10Mbps+)
- Automatic bandwidth detection
ส่วนใหญ่ "7. Automatic bandwidth detection" ดีที่สุด แต่ถ้าแน่ใจ connection type เฉพาะ ใส่ manual ได้
เปลี่ยนบรรทัด "connection type" ตาม connection type ตัวอย่าง automatic bandwidth detection:
connection type:i:7
ต้องเปิด networkautodetect ด้วยสำหรับ automatic bandwidth detection:
networkautodetect:i:0
4. Desktop Width, Height, Size ID
desktopwidth และ desktopheight ตั้งขนาดหน้าต่าง remote desktop connection ขนาดต่ำกว่า "Full Screen" จะแสดงในหน้าต่าง Remote Desktop connection
ตั้งขนาดที่ชอบโดยแก้ desktopwidth และ desktopheight:
desktopwidth:i:800
desktopheight:i:600
แต่ override custom window size ได้ด้วย "desktop size id" ระบุ pre-defined window sizes ตาม Remote Desktop Connection dialog box ตัวเลือก:
- 640x480
- 800x600
- 1024x768
- 1280x1024
- 1600x1200
ระบุ pre-defined window size เพิ่ม option:
desktop size id:i:[option number]
5. Smart Sizing
Smart Sizing ทำให้ resize active Remote Desktop window ง่ายขึ้น ทำให้ content scale properly ตอน resize remote desktop window content มัก blurry, pixelated, distorted Smart Sizing แก้ปัญหาเหล่านี้
เพิ่ม option ใน config file:
smart sizing:i:1
6. Keyboardhook
บางอย่าง overlooked ระหว่างสร้าง Remote Desktop connection คือ Windows Key function ควบคุมยังไงว่าเครื่องไหนใช้ Windows Key combinations
ตั้งค่า Remote Desktop Connection config ให้ client หรือ host ใช้ Windows Key combinations มี 3 ตัวเลือก:
- Windows key combinations apply to the local computer
- Windows key combinations apply to the remote computer
- Windows key combinations only apply in full-screen mode
ถ้าอยากให้ Windows Key shortcuts ทำงานบน remote computer ใช้ option:
keyboardhook:i:1
shortcuts เพิ่มเติม ดู Windows keyboard shortcuts 101 ของ Ben Stegner มีทุก shortcut ที่ต้องการ
7. Redirect Clipboard
ฟีเจอร์สะดวกอีกอย่าง "redirectclipboard" ให้ copy content จาก client clipboard paste local machine ได้ ยิ่งไปกว่า reciprocal copy-paste เข้า remote desktop environment Basic แต่ขรึมถ้าไม่เปิด
ตั้ง clipboard option ด้วย switch "1":
redirectclipboard:i:1
8. Use Multimon
ยุค multi-monitor setups remote connection ใช้ extra screen ได้ เดิม pre-Windows 7 ใช้ "span" mode มี limitations รวม resolution ไม่เกิน 4096x2048 4K UHD monitor เดียวเกือบเกินแล้ว
Multimon ให้ใช้ monitor แต่ละตัวของ remote machine เป็นของตัวเอง ไม่มีข้อจำกัด ถ้า remote connect ไป device หลาย monitors บ่อย "use multimon" จำเป็น
ตั้ง multimonitor switch on:
use multimon:i:1
อยาก multi-monitor setup เอง? ตามคู่มือ complete guide to setting up a multi-monitor system ของ MakeUseOf
Custom Remote Desktop Connection Configurations
หลาย settings นี้มีใน Windows Remote Desktop Connection dialog box แต่สร้าง configurations หลายๆ ได้เร็วพอรู้ custom settings ที่จะ tweak มี RDP file settings อีกเยอะมาก Donkz overview of RDP file settings เริ่มต้นได้ดี
มีปัญหา Remote Desktop connection? ดู tips แก้ Remote Desktop screen settings issues