How to Control a Laptop from a Computer via Wi-Fi: A Step-by-Step Guide

Remote control of a laptop from a desktop PC via Wi-Fi network Saves time switching between devices, simplifies technical support for relatives or colleagues, and sometimes becomes the only way to rescue data from a frozen device. However, not all methods are equally secure: some require opening ports on the router, others only work on a local network, and still others can become a backdoor for hackers.

In this article we will analyze 5 proven methods remote control - from standard tools Windows (For example, Remote Desktop Protocol (RDP)) to third-party programs like TeamViewer or AnyDeskWe will pay special attention to the settings securityHow to password-protect your connection, why you shouldn't use public networks, and which router settings can block your connection. If you need more than just "see the screen" but want to fully manage files, run programs, or configure your system, you'll find working solutions here.

1. Preparing devices: what to check before connecting

Before setting up remote control, make sure both devices are ready to connect. Let's start with the basic requirements:

  • 🔄 Same Wi-Fi network: The laptop and PC must be connected to the same router. If you are using guest network or signal repeater, the connection may not work.
  • 🔒 Disable VPN: VPNs often block local connections. Check this in Settings → Network & Internet → VPN.
  • 🛡️ Antivirus and firewall: temporarily disable them or add an exception for the remote access program (instructions below).
  • 📶 Stable signal: If Wi-Fi is slow, the controls will lag. For RDP, the recommended speed is 10 Mbps.

Also check IP addresses devices. On Windows This is done via the command line (Win + R → cmd → ipconfig). The laptop and PC must have addresses from the same subnet, for example:

Laptop IPv4 address: 192.168.1.105

PC IPv4 address: 192.168.1.100

⚠️ Attention: If IP addresses start with 169.254.x.x, this means the devices haven't received the correct settings from the router. Restart the router or check DHCP in its settings (192.168.1.1 or 192.168.0.1 in the browser).
📊 Which remote control method do you use most often?
TeamViewer/AnyDesk
Built-in RDP (Windows)
Chrome Remote Desktop
Other programs
Never used it

2. Method 1: Remote Desktop (RDP) - a built-in solution for Windows

RDP (Remote Desktop Protocol) — the most reliable and fastest method, but only works between devices on Windows Pro/Enterprise (V Home You can only connect, but not accept connections). Suitable for controlling a laptop from a PC in local network or via the Internet (with port settings).

How to set up:

  1. On the laptop (the device that will be controlled):
    • Open Settings → System → Remote Desktop.
    • Turn on the slider Enable Remote Desktop.
    • Click Confirm in the UAC (User Account Control) window.
    • Remember the name of the PC (for example, DESKTOP-ABC123) or its local IP.
  • On PC (the device from which you will control):
    • Launch Remote Desktop Connection (Win + R → mstsc).
    • Enter the IP or name of the laptop, click Connect.
    • Enter the login/password for your laptop account.

    If the connection does not work:

    • 🔧 Check what's on your laptop Windows Defender Firewall traffic is allowed for Remote Desktop (chapter Allowing interaction with the application).
    • 🌐 If you connect via the internet, you need to forward a port on your router 3389 to the local IP of the laptop (instructions in section 5).

    Remote Desktop is enabled on the target PC|

    The account has a password (blank password does not work)|

    Firewall does not block port 3389|

    The laptop and PC are on the same network (or port forwarding is configured) -->

    ⚠️ Attention: By default, RDP uses unencrypted connection on the local network. To protect your data, enable the option Require the use of Network Level Authentication in the RDP settings (available in Windows 10/11 Pro).

    3. Method 2: TeamViewer - a universal solution for any OS

    TeamViewer — the most popular remote control program running on Windows, macOS, Linux, Android and even Raspberry PiSuitable for internet connection (no router configuration required) and supports file transfer, chat, and session recording.

    Step-by-step instructions:

    1. Installation:
      • Download TeamViewer With official website on both devices.
      • Select an option Install (Not Launch only) so that the program runs in the background.
      • When installing, check the boxes Run TeamViewer at system startup And Install as a service.
  • Connection:
    • On the laptop (controlled device) write down ID And Password (updated at each launch).
    • On your PC, enter this information in the field Partner ID and press Connect.
    • Confirm access on the laptop (if the option is enabled) Access confirmation).

    Advantages TeamViewer:

    • ✅ Works through NAT (no need to configure a router).
    • ✅ Supports remote printing (printing documents from a laptop to a PC printer).
    • ✅ There are mobile applications for control from your phone.

    Flaws:

    • ❌ The free version is limited personal use (a license is required for business).
    • ❌ If you connect frequently, you may be asked to confirm that this is not for commercial use.

    4. Method 3: AnyDesk – a lightweight alternative to TeamViewer

    AnyDesk - a lesser known but faster analogue TeamViewer with low latency (important for working with graphics programs or games). Suitable for Windows, macOS, Linux And AndroidThe main difference is that it uses its own protocol. DeskRT, optimized for image transmission.

    How to use:

    1. Download AnyDesk With official website (portable version does not require installation).
    2. Run the program on your laptop and record AnyDesk address (9 digits, for example 123 456 789).
    3. On your PC, enter this address in the field Remote Desktop and press Connect.
    4. Confirm access on the laptop (if the option is enabled) Ask for permission).

    Comparison AnyDesk And TeamViewer:

    Parameter AnyDesk TeamViewer
    Response speed ⚡ Faster (optimized for graphics) 🐢 Slower on weak internet
    Free to use ✅ Unlimited for personal use ⚠️ Requires verification of personal use
    Additional functions 📁 File transfer, session recording 📁 + chat, remote printing, Wake-on-LAN
    Mobile applications ✅ iOS/Android (full controls) ✅ iOS/Android (limited functionality)
    ⚠️ Attention: IN AnyDesk the option is enabled by default Secure connection (TLS 1.2), but for maximum protection it is recommended in the settings (⚙️ → Security) turn on Certificate verificationThis will prevent man-in-the-middle attacks.

    5. Method 4: Chrome Remote Desktop - for Google users

    If both devices have a browser installed Google Chrome, you can use the built-in extension Chrome Remote DesktopThis method is suitable for Windows, macOS, Linux and even ChromeOSThe main advantage is that you don’t need to install separate programs.

    Instructions:

    1. Install the extension Chrome Remote Desktop in the browser on both devices.
    2. On the laptop:
      • Go to the tab Remote access.
      • Click BeginGenerate code.
      • Copy the 12-digit code (valid for 5 minutes).
  • On PC:
    • Enter the copied code in the field Connect to another computer.
    • Confirm the connection.

    Features of the method:

    • 🔹 Works through an account Google (authorization required).
    • 🔹 There is no limit on the number of connections (unlike TeamViewer).
    • 🔹 Can be customized constant access (without generating code each time), but this will require installing a host application.
    How to set up persistent access in Chrome Remote Desktop

    1. On your laptop, in Chrome Remote Desktop, select Install host and download the program.

    2. After installation, create a PIN code (at least 6 digits).

    3. Now you can connect without generating a temporary code, using this PIN.

    6. Method 5: Remote control via SSH (for advanced users)

    If you don't need a graphical interface, but only access to command line laptop (for example, for server administration or running scripts), you can use the protocol SSHThis method works on Windows 10/11 (with included component OpenSSH) and any Linux/macOS systems.

    How to set up:

    1. On a laptop (Windows):
      • Open Settings → Applications → Additional components.
      • Find OpenSSH server and install it.
      • Launch Services (Win + R → services.msc) and check that the service sshd works.
  • On PC (Windows/Linux/macOS):
    • Open Terminal (cmd or PowerShell).
    • Enter the command:
      ssh username@laptop_IP_address

      For example: ssh admin@192.168.1.105

    • Confirm the connection (when you first log in) and enter the password.

    For simplifying access can be used SSH keys instead of password:

    ssh-keygen -t rsa # Generate a key on your PC
    

    ssh-copy-id username@laptop_IP_address # Copy the key to the laptop

    ⚠️ Attention: By default, SSH uses port 22, which is often attacked by bots. For security:
    • Change the port in the file C:\ProgramData\ssh\sshd_config (for example, on 2222).
    • Disable password login (PasswordAuthentication no), leaving only the keys.
    • On the router, forward a new port to the laptop's IP (if you need access from the Internet).

    7. Configuring a router for remote access from the Internet

    All methods described above (except TeamViewer/AnyDesk) by default only work in local networkTo control your laptop via the Internet, you need to set up port forwarding (Port Forwarding) on ​​your router. This is risky—open ports can become a target for hackers, so follow the instructions carefully.

    Step-by-step setup:

    1. Find out external IP address your network (for example, through 2ip.ru). If it is dynamic (changes when the router is rebooted), use the service DDNS (For example, No-IP).
    2. Go to your router settings (usually 192.168.1.1 or 192.168.0.1).
    3. Find the section Port Forwarding (or Port forwarding).
    4. Add a rule:
      • Service name: RDP (or any other).
      • External port: 3389 (for RDP) or 22 (for SSH).
      • Internal IP: local IP of the laptop (for example, 192.168.1.105).
      • Inland port: same as external.
      • Protocol: TCP (or TCP/UDP for RDP).
  • Save the settings and reboot the router.
  • Now use to connect from the Internet external IP instead of local. For example, for RDP, enter in mstsc your external IP.

    8. Security: How to secure your remote connection

    Remote control always carries risks. Even if you're only connecting to a home network, keep these points in mind:

    • 🔐 Complex passwords: for RDP, SSH or accounts in TeamViewer/AnyDesk Use passwords at least 12 characters long, including numbers and special characters. Example: k7#pL9@mQ2$v!.
    • 🛡️ Two-factor authentication (2FA): enable it in settings TeamViewer or AnyDesk (link to email or SMS).
    • 🌐 VPN instead of port forwarding: If you need access from the Internet, it is better to set up VPN server on the router (for example, OpenVPN) and connect through it. This is safer than opening ports.
    • 🔄 Software updates: update regularly Windows, routers, and remote access programs—vulnerabilities are often found in older versions.

    A critical mistake many users make is leaving remote access enabled with a default password (e.g., "12345" for RDP or a blank password in SSH). In 2023, hackers scan networks for open ports 3389/22 and brute-force weak passwords in minutes.

    Check if your laptop is hacked:

    • Open Windows logs (Win + R → eventvwr.msc) and check the section Security to suspicious entrances.
    • IN Task Manager (Ctrl+Shift+Esc) check if there are any unknown processes with names like svchost.exe in unusual folders.
    📊 Do you use additional security measures for remote access?
    Yes, always (2FA, VPN, strong passwords)
    Only complex passwords
    I don't configure anything
    I don't know what this is

    FAQ: Frequently asked questions about managing your laptop via Wi-Fi

    Is it possible to control a laptop from a Mac via Wi-Fi?

    Yes, the following will work for this:

    • TeamViewer or AnyDesk (cross-platform solutions).
    • Built-in On-screen (Screen Sharing) on macOS (included in System Preferences → Sharing).
    • Chrome Remote Desktop (if on a laptop Windows or macOS).

    To connect to Windows- laptop with Mac can also be used Microsoft Remote Desktop from App Store.

    Why do I get a black screen or the error "The remote computer is disconnected" when connecting via RDP?

    Reasons and solutions:

    • The laptop went into sleep mode: disable sleep mode in Settings → System → Power & sleep.
    • Blocked by firewall: add a port exception 3389 (instructions in section 2).
    • License restriction: V Windows Home Cannot accept RDP connections (only connect).
    • Problems with video drivers: Update the graphics card driver on your laptop.
    How to transfer files between PC and laptop during remote control?

    Methods depending on the program:

    • TeamViewer/AnyDesk: there is a button in the control window File transfer (or tab Files).
    • RDP: connects local drives by default. Enabled in the connection settings (Local Resources → More → Disks).
    • Chrome Remote Desktop: no built in function but can be used Google Drive or cloud services.
    • SSH: to transfer files use scp or sftp. Example:
      scp file.txt user@192.168.1.105:/path/on/laptop/
    Is it possible to control a laptop via Wi-Fi from a phone?

    Yes, mobile versions of the programs are suitable for this:

    • TeamViewer (iOS/Android) - full control from the touch screen.
    • AnyDesk (iOS/Android) - supports gestures and virtual keyboard.
    • Microsoft Remote Desktop (iOS/Android) - only for connection to Windows-devices via RDP.
    • Chrome Remote Desktop (Android) - via browser Chrome.

    For your convenience, please configure Touchpad mode in the mobile app - this will make it easier to work with the interface Windows.

    How do I disable remote access if my laptop has already been hacked?

    If you suspect unauthorized access:

    1. Disconnect your laptop from the Internet (pull out the Wi-Fi cable or disconnect the adapter).
    2. Boot into Safe Mode with Networking (click F8 at startup or use msconfig).
    3. Check active connections:
      netstat -ano | findstr"ESTABLISHED"

      If there are any suspicious IPs, write them down. PID and complete the process through Task Manager.

    4. Disable all remote access services:
      sc stop TermService # Stop RDP
      

      sc config TermService start= disabled # Disable autostart

    5. Check startup (Win + R → msconfig → Startup) for the presence of unknown programs.
    6. Remove all unknown programs from Control Panel → Programs and Features.
    7. Change all passwords (Windows, Wi-Fi, remote access programs).

    After cleaning, it is recommended to reinstall Windows or restore the system from a backup.