How to Connect Remotely to Another Computer
In this article
You can connect to another computer remotely using built-in tools like Windows Remote Desktop (RDP) or third-party apps such as TeamViewer, AnyDesk, or Chrome Remote Desktop. The exact method depends on the operating systems and whether you need unattended access or just a one-time session. Below is a step-by-step guide using Windows Remote Desktop, the most common approach for Windows-to-Windows connections, followed by alternatives for cross-platform or home use.
What You'll Need
- Two computers: one to control (host) and one to view (client). Both must be powered on and connected to the internet.
- Windows Pro or Enterprise on the host PC (Remote Desktop is not available on Windows Home). The client can be any Windows edition, or you can use the Microsoft Remote Desktop app on macOS, iOS, or Android.
- The host computer's IP address or hostname, and a user account with a password on the host.
- Router access if you need to forward ports for connections outside your local network (or use a VPN).
- For third-party tools: the same app installed on both computers, and an account or session code.
Step-by-Step
- Enable Remote Desktop on the host PC. Open Settings > System > Remote Desktop (labels may vary slightly by Windows version). Turn on the toggle for Remote Desktop. Note the PC name shown; you'll need it later. If prompted, confirm the change.
- Allow access through the firewall. When you enable Remote Desktop, Windows usually adds a firewall rule automatically. If you use a third-party firewall, ensure TCP port 3389 is allowed for local network connections.
- Set a strong password on the host account. Remote Desktop requires the account to have a password. Go to Settings > Accounts > Sign-in options to set or change it.
- Find the host's IP address. On the host, open Command Prompt and type
ipconfig. Note the IPv4 address for your active network adapter (e.g., 192.168.1.10). For connections over the internet, you'll need the public IP from your router's status page, or use a dynamic DNS service. - On the client computer, open Remote Desktop Connection. Press Windows key + R, type
mstsc, and press Enter. Alternatively, search for "Remote Desktop Connection" in the Start menu. - Enter the host's address. In the Computer field, type the host's IP address or PC name. Click Connect.
- Log in. Enter the username and password of an account on the host PC. If you see a certificate warning, review it and click Yes to proceed (only if you trust the network).
- Use the remote session. Once connected, you'll see the host's desktop in a window. You can now control it as if you were sitting in front of it. To end the session, close the window or sign out from the Start menu.
- For internet access, set up port forwarding or a VPN. On your router, forward TCP port 3389 to the host's local IP. This exposes the host to the internet, so use a strong password and consider a VPN for better security. Alternatively, use a third-party tool like TeamViewer or Chrome Remote Desktop, which handle NAT traversal automatically.
Common Mistakes
- Using Windows Home as the host. Remote Desktop is not available on Home editions; you'll need Pro or Enterprise, or use a third-party app.
- Forgetting the password. Accounts without passwords cannot be used for Remote Desktop.
- Using the wrong IP address. The local IP works only on the same network; for internet connections, use the public IP or a dynamic DNS name.
- Ignoring firewall prompts. If the connection fails, check that the firewall allows Remote Desktop.
- Leaving port 3389 open to the internet without protection. This is a security risk; use a VPN or a third-party tool with encryption.
Tips
- Use a wired connection for the host if possible; it's more stable than Wi-Fi.
- Enable Network Level Authentication (NLA) in Remote Desktop settings for better security.
- For frequent connections, save the connection settings in Remote Desktop Connection to avoid retyping the address.
- If you need to access a computer behind a router without port forwarding, consider Chrome Remote Desktop or TeamViewer, which use relay servers.
- Keep both computers updated with the latest security patches.
Troubleshooting
If you cannot connect, work through these checks in order:
- Verify the host is reachable. On the client, open Command Prompt and type
ping [host IP]. If there's no reply, the host may be off, disconnected, or on a different network. - Check Remote Desktop is enabled. Revisit Settings > System > Remote Desktop on the host and confirm the toggle is on.
- Restart both computers. A simple reboot can resolve temporary network or service issues.
- Check firewall settings. On the host, go to Windows Security > Firewall & network protection > Allow an app through firewall and ensure Remote Desktop is allowed on the correct network profile.
- Confirm the username and password. Use the format
HOSTNAME\Usernameif the account is local. For Microsoft accounts, use the email address. - Test on the local network first. If local connections work but internet ones don't, the issue is likely port forwarding or your public IP.
- If you use a third-party app, check its status page. Service outages can prevent connections.
- As a last resort, reinstall the Remote Desktop app or reset its settings. Note that resetting may clear saved connections.
Frequently Asked Questions
Can I use Remote Desktop on Windows Home?
No, the host must run Windows Pro or Enterprise. You can use third-party apps like TeamViewer or Chrome Remote Desktop instead.
Is Remote Desktop secure over the internet?
It can be, but exposing port 3389 directly is risky. Use a VPN or a third-party tool with encryption for better security.
How do I connect to a Mac from Windows?
Use Microsoft Remote Desktop from the Microsoft Store on Windows, and enable Remote Desktop in System Settings > General > Sharing on the Mac. Note that macOS may require additional configuration.
Why does Remote Desktop ask for credentials twice?
This happens when Network Level Authentication is enabled; it's a security feature. Enter the same credentials both times.
Can I copy files between computers during a Remote Desktop session?
Yes, you can enable clipboard and drive redirection in the Remote Desktop Connection options before connecting.
What if the host computer is asleep?
Remote Desktop cannot wake a sleeping computer. Adjust the power settings on the host to prevent sleep, or use Wake-on-LAN if supported.