Connecting to another computer via Wi-Fi is a challenge faced by both system administrators and regular users. Remote access allows you to manage files, configure programs, or help relatives with tech support without leaving home. However, not everyone knows that this doesn't require a wired connection: modern protocols work perfectly well over wireless networks.
In this article we will analyze 5 proven methods Connecting to another PC via Wi-Fi - using built-in tools Windows to specialized programs like TeamViewer or AnyDeskWe will pay special attention to setting up a router (port forwarding, static IP) and protection from unauthorized accessto prevent your connection from becoming a juicy target for hackers. We'll also look at common errors—for example, why a connection might disconnect every 5-10 minutes when using mobile Wi-Fi and how to fix it.
1. Network Preparation: Why Wi-Fi Can Block Remote Access
Before setting up a connection, make sure your Wi-Fi network is ready to handle remote traffic. A common problem is port blocking on the router or in the firewall Windows. For example, protocol RDP (remote desktop) uses port by default 3389, which may be closed by your provider or antivirus.
You can check if the port is open using the command in CMD:
netstat -ano | findstr "3389"
If the response is empty, the port is blocked. It's also worth making sure both computers are on the same subnet. To do this, compare the first three octets of the IP addresses (for example, 192.168.1.100 And 192.168.1.101 - this is one network, and 192.168.0.100 — already different).
- 🔌 Port forwarding on a router: Go to your router's control panel (usually at
192.168.1.1or192.168.0.1) and in the sectionPort Forwardingadd a rule for the port3389(for RDP) or others if you use alternative programs. - 🛡️ Disabling the firewall: Temporarily deactivate Windows Defender or a third-party antivirus (for example, Kaspersky, ESET) during setup to check if they are blocking the connection.
- 📡 Wi-Fi operating mode: If the router is operating in mode
802.11n(5 GHz), and the client device only supports802.11g(2.4 GHz), the connection will be unstable. Check the wireless network settings in the router control panel.
⚠️ Note: If you are connecting to a corporate network, your administrator may have restricted remote access via Group PolicyIn this case, configuring the ports yourself won't help—contact your IT department.
2. Method 1: Remote Desktop (RDP) - a built-in Windows solution
RDP (Remote Desktop Protocol) — the most reliable and fastest way to connect, but it only works in versions Windows Pro and above (in Home It can be enabled through workarounds, but this is unstable. The advantage of RDP is minimal latency and support for multiple monitors.
To enable RDP on the target computer:
- Click
Win + R, entersysdm.cpland go to the tabRemote access. - Select
Allow connections from computers of any version(for maximum compatibility). - Specify users who are allowed access (default: only administrators).
To connect from another PC:
- Enter in search
Remote Desktop Connection(mstsc). - Please enter the IP address or computer name (e.g.
192.168.1.100orDESKTOP-ABC123). - Enter the login and password of the target PC account.
| Parameter | Meaning for RDP | Note |
|---|---|---|
| Default port | 3389 |
It can be changed in the registry (HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber) |
| Max allowed connections | 1 (in Windows Pro) | IN Windows Server — up to 2 at a time |
| Encryption | TLS 1.2+ |
Can be disabled for older systems (not recommended) |
| Sound support | Yes (configurable in connection settings) | There may be a delay on weak Wi-Fi |
⚠️ Warning: If the target computer is located behind NAT (for example, on a different subnet via a 4G router), direct RDP won't work. In this case, use VPN or programs like TeamViewer.
Enable RDP on the target PC|Check if port 3389 is open|Configure a static IP in the router|Disable sleep mode on the target PC|Check Windows version compatibility-->
3. Method 2: TeamViewer - a universal solution for any OS
TeamViewer — the most popular cross-platform remote access solution. It works even through multiple layers. NAT, does not require port forwarding and supports file sharing, chats And video conferencesThe downside is that the free version is limited to commercial use (up to 5 minutes of session time).
Setup instructions:
- Download TeamViewer With official website on both computers.
- On the target PC, run the program and record
IDAndPassword(it changes with each launch). - On the control PC, enter
Partner IDand pressConnect. - Enter your password and select the mode:
Remote controlorFile transfer.
For permanent access (without entering a password each time):
- 🔑 Create permanent password in the settings TeamViewer (
Security → Personal Password). - 📋 Set up autostart programs at Windows startup (
Settings → General → Run TeamViewer at system startup). - 🌐 If your Wi-Fi connection is unstable, turn it on
Optimize speedin quality parameters.
4. Method 3: AnyDesk – a low-latency alternative
AnyDesk positions itself as a lighter and faster alternative TeamViewerThe program uses its own codec. DeskRT, which provides ping up to 16 ms even on weak connections. Suitable for working with graphic editors or games (in preview mode).
Customization features:
- 🖥️ AnyDesk ID - unique for each device (does not change, unlike TeamViewer).
- 🔒 Two-factor authentication: you can link access to your account Google or Microsoft.
- 📶 Portable mode: allows you to run the program without installation (convenient for one-time connections).
To connect via Wi-Fi:
- Make sure that in the settings on the target PC AnyDesk the parameter is enabled
Allow remote control. - If the connection is interrupted, reduce the picture quality in the settings (
Video → Quality). - For stable operation on weak Wi-Fi, use
TCP tunneling(included inSettings → Network).
How to speed up AnyDesk on slow Wi-Fi?
In the program settings (Settings → Video) select Optimize for low speed and turn it off Hardware accelerationAlso reduce the color depth to 16 bits and turn off the desktop background image.
5. Method 4: Chrome Remote Desktop - for Google users
If both computers are running Windows, macOS or Linux, and they have a browser installed on them Google Chrome, you can use the built-in extension Chrome Remote DesktopIts advantages are - completely free and integration with the account Google (no need to remember IDs or passwords).
Step-by-step instructions:
- Install the extension Chrome Remote Desktop in the browser on both PCs.
- On the target computer, select
Remote Support → Generate Code(valid for 5 minutes). - On the control PC, enter this code in the section
Remote Support → Connect. - Confirm access on the target PC (requires physical presence of the user).
For permanent access:
- 🔄 On the target PC in the section
My computerset up permanent PIN code (minimum 6 digits). - 📶 If your Wi-Fi connection is unstable, use
Low speed modein the connection settings. - 🛡️ Turn on
Keyboard and mouse lockon the target PC so that the local user does not interfere with control.
⚠️ Attention: Chrome Remote Desktop does not support audio transmission from the target PC. For audio, use TeamViewer or AnyDesk.
6. Method 5: Remote access via SSH (for advanced users)
If both computers are running Linux or macOS, or on Windows installed OpenSSH Server, you can use the protocol SSH for remote control via the terminal. This method requires command line knowledge, but provides maximum security (encryption AES-256) and minimal overhead costs.
Setting up on Windows 10/11:
- Install OpenSSH Server through
Settings → Applications → Additional components. - Start the SSH service:
Get-Service -Name sshd | Set-Service -StartupType AutomaticStart-Service sshd - Connect from another PC:
ssh username@192.168.1.100(replace
usernameand IP to current ones).
For GUI via SSH:
- 🖥️ Use it
X11 forwarding(requires X-server on the client PC, for example, Xming for Windows). - 🔌 Connect with a key
-X:ssh -X username@192.168.1.100 - 🛡️ For security, please disable password login using
SSH keys(instructions:ssh-keygen+ssh-copy-id).
7. Solving common problems when connecting via Wi-Fi
Even with proper settings, the connection may be unstable. Here are the most common errors and their solutions:
| Problem | Possible cause | Solution |
|---|---|---|
| The connection is lost after 1-2 minutes | It works session timeout in the router |
Increase the settings in your router TCP Timeout up to 3600 seconds |
| Black screen when connecting | The video card driver is blocking remote access. | Please update your driver or use Basic video adapter in the Device Manager |
| Low image quality | Weak Wi-Fi signal or limited bandwidth | Reduce your screen resolution or turn it on Low speed mode in the program |
| Unable to copy files | Feature disabled Sharing the clipboard |
Enable it in the program settings (for example, in TeamViewer: Actions → Transfer files) |
If the problem is not resolved:
- 🔄 Reboot your router: Sometimes the DHCP server "forgets" the assigned IP addresses.
- 📡 Check your Wi-Fi channel: If the router is operating on a congested channel (for example,
6in the 2.4 GHz range), change it to1or11. - 🛡️ Disable VPN: Some VPN services block local traffic.
8. Security: How to protect your remote connection from hacking
Remote access is a potential gateway for hackers. To minimize the risks:
- 🔐 Use complex passwords: For RDP - at least 12 characters with numbers and special characters. TeamViewer or AnyDesk Set up two-factor authentication.
- 🌐 Restrict access by IP: In your router settings, allow connections only from your static IP (if you have one).
- 🛡️ Update your router firmware: Outdated versions are vulnerable to attacks like
DNS Spoofing. - 📵 Disable remote access when not needed: For example, in TeamViewer You can set up a work schedule.
For maximum protection:
- 🔄 Change ports regularly: For example, instead of the standard
3389for RDP use3390or a random port above10000. - 📡 Set up a separate guest network: In the router, create a second Wi-Fi network only for remote access with limited rights.
- 🛑 Block suspicious IPs: In the router logs (
System Log) check failed connection attempts and add them to the blacklist.
⚠️ Note: If you are connecting to your work computer from a public network (for example, in a cafe), always use VPNOtherwise, your traffic may be intercepted through Man-in-the-Middle attack.
FAQ: Frequently Asked Questions about Remote Access via Wi-Fi
Is it possible to connect to a computer that is turned off?
No, the target PC must be turned on for remote access. However, some motherboards (e.g. ASUS with technology Wake-on-LAN) allow you to "wake up" a computer over the network. To do this:
- Turn on
Wake-on-LANin BIOS. - Configure a static IP for the target PC in the router.
- Use a program like WakeOnLan to send a "magic packet".
Please note: after waking up, you will still need to log in to the system.
How to connect to a computer via Wi-Fi from a phone?
Mobile versions are suitable for this TeamViewer, AnyDesk or Chrome Remote Desktop (available in Google Play And App Store). The algorithm is the same as with a PC:
- Install the program on your phone and target computer.
- Enter your computer ID in the mobile app.
- Confirm the connection (a password may be required).
To control the mouse on your phone, use touchpad mode (available in connection settings).
Why are there long delays when connecting via Wi-Fi?
Delays (lags) occur due to:
- Weak Wi-Fi signal: Check the signal level (should not be lower than
-70 dBm). - Channel congestion: If you have many devices connected to your router, limit their bandwidth (
QoSin the router settings). - Low PC performance: On weak computers (for example, with a processor Intel Atom) encoding video for remote access creates a load.
Solutions:
- Switch to range
5 GHz(if the router supports it). - Reduce the screen resolution in the program settings (for example, to
1280×720). - Use a wired connection to the target PC (if possible).
Is it possible to connect to a computer in another country via Wi-Fi?
Yes, but for this you need:
- Set up a static IP (or use DDNS, if the IP is dynamic).
- Forward ports on the router (for example,
3389for RDP). - Use a VPN (For example, WireGuard or OpenVPN), if direct access is blocked by the provider.
For TeamViewer or AnyDesk Geography doesn't matter—they operate through their own servers. However, the speed will depend on the ping to the target PC.
How do I block someone from connecting to my computer?
If you suspect that someone is connecting to your PC without permission:
- Check active sessions:
query user(for RDP) or
netstat -ano(for all connections). - Close all suspicious connections:
logoff [session_ID] - Disable remote access:
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f - Change passwords for all accounts and check your startup for viruses (
msconfig).