Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Remote Desktop Services: Block or Allow Remote Connections?

· 7 min read · Home Tech

In this article
  1. What Is Remote Desktop Services?
  2. How RDS Connection Control Works
  3. How to Allow Remote Desktop Connections
  4. How to Prevent Remote Desktop Connections
  5. Common Problems and Misconceptions
  6. How to Choose the Right Method
  7. Security Considerations and Best Practices
  8. Frequently Asked Questions

To prevent users from connecting remotely via Remote Desktop Services (RDS), you must disable Remote Desktop on the target machine or block the RDP port (3389) in Windows Firewall. To allow it, you enable Remote Desktop and ensure the user is in the Remote Desktop Users group.

What Is Remote Desktop Services?

Remote Desktop Services (RDS) is Microsoft's technology that lets users connect to a Windows computer or server from another device over a network or the internet. It uses the Remote Desktop Protocol (RDP) to transmit the desktop interface, keyboard input, and mouse movements. RDS can be used for a single remote session (as in Windows 10 or 11 Pro) or to host multiple simultaneous sessions on Windows Server editions.

Many organizations rely on RDS for remote work, technical support, and server administration. However, leaving RDP enabled when it is not needed exposes the system to brute-force attacks and unauthorized access. Therefore, knowing how to control remote connections is a core security task for any Windows administrator or power user.

How RDS Connection Control Works

On Windows 10/11 Pro and Enterprise, the Remote Desktop feature is toggled in Settings → System → Remote Desktop. When enabled, the system listens on TCP port 3389 for incoming RDP connections. The user account that connects must have a password, and the account must be either a member of the local Administrators group or the Remote Desktop Users group.

On Windows Server, the same toggle exists in Server Manager → Local Server, but you can also configure it via Group Policy (Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Connections). The policy “Allow users to connect remotely by using Remote Desktop Services” is the master switch. If it is set to Disabled, no one can connect, regardless of firewall settings or user group membership.

When you disable Remote Desktop through the GUI, Windows automatically adds a firewall rule that blocks inbound RDP traffic. Conversely, enabling it creates an allow rule. However, if you have a third-party firewall or a hardware firewall, you must also ensure that port 3389 is open or closed accordingly.

How to Allow Remote Desktop Connections

To allow users to connect remotely, follow these steps on the target Windows machine:

  1. Open Settings → System → Remote Desktop (or System Properties → Remote on older Windows versions).
  2. Turn on the Enable Remote Desktop toggle.
  3. Confirm the firewall prompt that appears (this adds an inbound rule for port 3389).
  4. Click Select users that can connect remotely and add the desired user accounts. If the user is an administrator, they are automatically allowed.
  5. Ensure the user account has a password. Windows will not allow empty-password accounts to connect via RDP.

If you need to allow connections from the internet, you must also forward port 3389 on your router to the computer’s IP address. However, exposing RDP directly to the internet is risky; a VPN or Remote Desktop Gateway is strongly recommended.

How to Prevent Remote Desktop Connections

To block remote connections, you have several options, depending on whether you want to disable the feature entirely or just block network access.

  • Disable Remote Desktop via Settings: Turn off the toggle in Settings → System → Remote Desktop. This stops the RDP listener and removes the firewall allow rule.
  • Use Group Policy: Set the policy “Allow users to connect remotely by using Remote Desktop Services” to Disabled. This is effective even if the user later tries to enable the feature via Settings.
  • Block port 3389 in Windows Firewall: Create an inbound block rule for TCP port 3389. This prevents any RDP connection, even if the service is running.
  • Use Windows Defender Firewall with Advanced Security: You can also disable the existing “Remote Desktop” allow rules, but creating a block rule is more explicit.

If you only want to restrict specific users, you can remove them from the Remote Desktop Users group. However, administrators will still be able to connect unless you explicitly deny them via local policy or remove their admin rights.

Common Problems and Misconceptions

One common issue is that users can still connect after you have disabled Remote Desktop. This usually happens when the firewall rule is not removed (e.g., if you manually created an allow rule) or when the RDP service (TermService) is still running. To fully stop it, you can also stop and disable the Remote Desktop Services service via services.msc.

Another misconception is that disabling Remote Desktop in Settings is enough to block all remote connections. In reality, if you have a third-party remote support tool (like TeamViewer or AnyDesk), those tools do not use RDP and are unaffected. Also, if you have enabled Remote Assistance, it uses a different port and is not controlled by the RDP toggle.

Users often forget that the account must have a password. Even if the account is in the Remote Desktop Users group, an empty password will be rejected. This is a security feature, not a bug.

Finally, changing the default RDP port (3389) to something else is sometimes suggested as a security measure. While it can reduce automated scans, it does not add real security and can break connectivity for users who expect the default port. It is better to use a VPN or RDS Gateway.

How to Choose the Right Method

The method you choose depends on your goal:

  • Permanently disable remote access: Use Group Policy to disable the “Allow users to connect remotely” setting. This is the most reliable and survives reboots.
  • Temporarily block remote access: Turn off the Remote Desktop toggle in Settings, or block port 3389 in the firewall. This is easy to reverse.
  • Restrict specific users: Manage the Remote Desktop Users group membership. This allows only selected users to connect.
  • Secure remote access: Keep RDP enabled but require network-level authentication (NLA) and use a VPN or RD Gateway. NLA is enabled by default on modern Windows and provides an extra layer of security.

For servers, it is common to disable RDP entirely if it is not needed, or to restrict it to specific IP addresses using firewall rules. For workstations, many organizations disable RDP by default and enable it only when IT support needs remote access.

Security Considerations and Best Practices

RDP is a frequent target for cyberattacks. If you leave it enabled, you should follow these best practices:

  • Use strong passwords for all accounts allowed to connect.
  • Enable Network Level Authentication (NLA) – it is on by default in Windows 10/11 and Server 2016+.
  • Limit access to specific IP addresses via firewall rules.
  • Use a VPN or Remote Desktop Gateway instead of exposing port 3389 directly to the internet.
  • Keep Windows updated to patch known RDP vulnerabilities.
  • Consider using account lockout policies to prevent brute-force attacks.

If you do not need remote access, the safest option is to disable RDP entirely. This reduces the attack surface and eliminates the risk of unpatched vulnerabilities.

Frequently Asked Questions

How do I check if Remote Desktop is enabled?

Open Settings → System → Remote Desktop. If the toggle is on, it is enabled. You can also check the service TermService in services.msc – if it is running and set to Automatic, RDP is likely active.

Can I allow only one user to connect remotely?

Yes. Add only that user to the Remote Desktop Users group. Administrators are allowed by default, so if you want to exclude admins, you must remove them from the group and also remove the “Allow log on through Remote Desktop Services” user right from Administrators via Local Security Policy.

Will disabling Remote Desktop affect other remote tools?

No. Tools like TeamViewer, AnyDesk, or Chrome Remote Desktop use their own protocols and are unaffected. Only RDP-based connections are blocked.

Why can’t I connect even though Remote Desktop is enabled?

Check that the user account has a password, is in the Remote Desktop Users group, and that the firewall allows port 3389. Also ensure the computer is reachable on the network (try pinging it). If connecting over the internet, verify port forwarding or VPN.

Is it safe to enable Remote Desktop on a home computer?

It is safe if you only allow connections from your local network and use a strong password. Exposing it to the internet without a VPN is risky and not recommended.