

Preview text:
Cách bật (Enable) Remote Desktop Connection
1. Bật Remote Desktop qua Settings (Windows 10/11)
- Mở Settings
- Chọn System
- Chọn Remote Desktop
- Gạt Enable Remote Desktop sang On
- Xác nhận bằng cách chọn Confirm
→ Sau khi bật, hệ thống tự động mở firewall cho Remote Desktop.
2. Bật Remote Desktop qua System Properties
- Nhấn Win + R → gõ SystemPropertiesRemote → Enter
- Trong mục Remote, chọn:
- Allow remote connections to this computer
- Bỏ tick Allow connections only from computers running NLA nếu mạng nội bộ không hỗ trợ.
- Nhấn Apply → OK
3. Bật Remote Desktop bằng Command Line
CMD (Admin):
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
Mở firewall cho RDP:
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes
4. Bật Remote Desktop bằng PowerShell
PowerShell (Admin):
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
5. Kiểm tra trạng thái Remote Desktop
CMD:
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections
- Giá trị 0 = Remote Desktop đã bật
- Giá trị 1 = Remote Desktop đã tắt
6. Bật Remote Desktop trên Windows Server
- Mở Server Manager
- Chọn Local Server
- Tìm mục Remote Desktop → nhấn Disabled
- Chọn Allow remote connections to this computer
- Apply → OK
7. Thêm user được phép remote
Nếu cần chỉ định user cụ thể:
- Vào:
System Properties → Remote → Select Users… - Nhấn Add…
- Thêm user cần remote.
(Tài khoản sẽ được thêm vào nhóm Remote Desktop Users)