Cách bật (Enable) Remote Desktop Connection
1. Bật Remote Desktop qua Settings (Windows 10/11)
1. Mở Settings
2. Chọn System
3. Chọn Remote Desktop
4. Gạt Enable Remote Desktop sang On
5. 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
1. Nhấn Win + R → gõ SystemPropertiesRemote → Enter
2. Trong mục Remote, chọn:
o Allow remote connections to this computer
3. Bỏ tick Allow connections only from computers running NLA nếu mạng nội bộ
không hỗ trợ.
4. Nhấn ApplyOK
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
1. Mở Server Manager
2. Chọn Local Server
3. Tìm mục Remote Desktop → nhấn Disabled
4. Chọn Allow remote connections to this computer
5. Apply → OK
7. Thêm user được phép remote
Nếu cần chỉ định user cụ thể:
1. Vào:
System Properties → Remote → Select Users…
2. Nhấn Add…
3. Thêm user cần remote.
(Tài khoản sẽ được thêm vào nhóm Remote Desktop Users)

Preview text:

Cách bật (Enable) Remote Desktop Connection

1. Bật Remote Desktop qua Settings (Windows 10/11)

  1. Mở Settings
  2. Chọn System
  3. Chọn Remote Desktop
  4. Gạt Enable Remote Desktop sang On
  5. 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

  1. Nhấn Win + R → gõ SystemPropertiesRemote → Enter
  2. Trong mục Remote, chọn:
    • Allow remote connections to this computer
  3. Bỏ tick Allow connections only from computers running NLA nếu mạng nội bộ không hỗ trợ.
  4. Nhấn ApplyOK

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

  1. Mở Server Manager
  2. Chọn Local Server
  3. Tìm mục Remote Desktop → nhấn Disabled
  4. Chọn Allow remote connections to this computer
  5. Apply → OK

7. Thêm user được phép remote

Nếu cần chỉ định user cụ thể:

  1. Vào:
    System Properties → Remote → Select Users…
  2. Nhấn Add…
  3. Thêm user cần remote.

(Tài khoản sẽ được thêm vào nhóm Remote Desktop Users)