How to Connect Two Computers via Wi-Fi: A Step-by-Step Guide with Pictures

Connecting two computers wirelessly is a task that every user faces sooner or later. Whether it's transferring files, collaborating on projects, or hosting a local game, connecting a PC via Wi-Fi It saves time and eliminates the need for flash drives or cables. But how do you do it correctly to ensure a stable connection and lossless data transfer?

In this article we will look at all current methods connecting two computers via Wi-Fi—both with and without a router. You'll learn how to set up a network on Windows 10/11, which security settings to choose, and what to do if devices can't see each other. We'll also cover Hidden Windows settings that speed up file transfers between PCs by 2-3 times.

Why Connect Two PCs via Wi-Fi: 5 Real-World Scenarios

Before we dive into the settings, let's understand when such a connection is actually necessary. Many users mistakenly believe that cloud services are sufficient for file sharing. However, a local connection has several advantages:

  • 📁 Transferring large files (videos, archives, disk images) without the speed and volume restrictions imposed by cloud services.
  • 🎮 Online games via a local network (for example, Minecraft, Counter-Strike or Terraria) with minimal ping.
  • 🖥️ Remote control one PC from another (via RDP, TeamViewer or AnyDesk) without internet access.
  • 🔧 Sharing a printer or scanner, if the device is connected to only one computer.
  • 🛠️ Diagnostics and repair second PC (for example, virus scanning or system recovery).

At the same time Wi-Fi connection compares favorably with wired (via Ethernet): no need to pull cables, but modern standards (Wi-Fi 6/6E) provide speed up to 9.6 Gbps — this is enough even for transmitting 4K video in real time.

📊 What do you most often connect two PCs for?
File transfer
Online games
Remote control
Printer sharing
Another option

Method 1: Connecting via a router (the most reliable method)

If you have a home router, this is the easiest and most stable way to connect two computers. In this case, the router acts as an intermediary, and both computers connect to the same network. The advantages of this method:

  • Maximum speed (limited only by the capabilities of the router).
  • 🔒 Security — traffic is encrypted according to the standard WPA3 (on modern routers).
  • 📶 Distance between PCs can reach 50–100 meters (depending on the router model).

To connect computers via a router, follow these steps:

  1. Make sure both PCs are connected to the same Wi-Fi network. Click the network icon in the system tray and check the network name (SSID).

  2. Open Control Panel → Network and Internet → Network and Sharing Center on both computers.

  3. In the section Additional sharing options turn on:

    • Network discovery;
    • File and printer sharing;
    • Allow Windows to manage connections.
  • Restart both computers.

  • After this, the PCs should be able to "see" each other on the network. To check the connection, open Command line (Win + R → cmd) and enter:

    ping [IP address of the second PC]

    If the packets pass without loss, the connection is established successfully.

    Both PCs are connected to the same Wi-Fi network|

    Network discovery is enabled on both computers|

    Ping between PCs is lossless|

    Shared folders are read/write accessible-->

    ⚠️ Attention: If you have an old router (before Wi-Fi 5), file transfer speed may be limited 300–450 MbpsTo fix the problem, update your router firmware or use 5 GHz-range.

    Method 2: Creating a Computer-to-Computer (Ad-Hoc) Network Without a Router

    If you don't have a router at hand, you can create a direct network between two PCs. This method is called Ad-Hoc (from the Latin "for this") and works without additional equipment. However, it has limitations:

    • 🐢 The connection speed is lower than through a router (usually 54–150 Mbps).
    • 🔋 Increased power consumption (relevant for laptops).
    • 📡 The distance between PCs should not exceed 10–15 meters.

    Instructions for Windows 10/11:

    1. On the first PC (which will distribute the network), open Command prompt as administrator (Win + X → Terminal (Administrator)) and enter:

      netsh wlan set hostednetwork mode=allow ssid="MyWiFi" key="12345678" keyUsage=persistent

      Where MyWiFi — the network name, and 12345678 — password (minimum 8 characters).

    2. Start the network with the command:

      netsh wlan start hostednetwork
    3. On the second PC, connect to the created network MyWiFi via the standard Wi-Fi menu.

    4. On both PCs, enable file sharing (as in method 1).

    To stop seeding, use the command:

    netsh wlan stop hostednetwork
    netsh wlan show drivers

    Look for the line Hosted network support: yes.-->

    Method 3: Using Bluetooth (an alternative for weak PCs)

    If Wi-Fi is unavailable for some reason, you can connect computers via BluetoothThis method is suitable for transferring small files (up to 50–100 MB) or synchronization of peripheral devices (for example, a keyboard). The connection speed usually does not exceed 3–5 Mbps, but the energy consumption is minimal.

    How to set up:

    1. Make sure Bluetooth is enabled on both PCs. If you don't have an adapter, use an external USB dongle (cost from 300 ₽).

    2. On the first PC, open Settings → Devices → Bluetooth & other devices and turn on visibility.

    3. On the second PC, in the same menu, click Add device → Bluetooth and select the first PC from the list.

    4. Confirm pairing on both devices (you may be asked to enter a code).

    5. To transfer files, right-click on the file → Send → Bluetooth Device.

    ⚠️ Attention: The Bluetooth connection is not suitable for online gaming or video streaming. The maximum channel throughput is 24 Mbps (in theory), but in practice the speed rarely exceeds 1–2 MB/s.

    Setting up shared access to files and folders

    Even if computers “see” each other on the network, they need to be configured to exchange data. public accessHere's how to do it:

    1. Create a folder you want to share, right-click on it and select Properties → Access → Share.

    2. Select a user from the drop-down menu All and press Add.

    3. Set the access level: Reading (view only) or Reading and writing (editing).

    4. Click Share and confirm the changes.

    To access a shared folder from another PC:

    1. Open Conductor and enter in the address bar \\[IP address of the first PC] (For example, \\192.168.1.100).

    2. If you are asked for a login and password, use the account information of the first PC.

    Parameter Via a router Ad-Hoc (Wi-Fi Direct) Bluetooth
    Max. speed to 9.6 Gbps to 150 Mbps to 3 Mbps
    Distance to 100 m to 15 m to 10 m
    Energy consumption Low Average Minimum
    Suitable for Games, large files Files up to 1–2 GB Small files

    Solutions to common problems

    Sometimes even after proper configuration, computers don't see each other. Here top 5 reasons and ways to eliminate them:

    • 🔌 There is no network connection:

      Make sure both PCs are connected to the same Wi-Fi network. If you are using Ad-Hoc, restart the distribution with the command netsh wlan start hostednetwork.

    • 🛡️ The firewall is blocking the connection:

      Open Control Panel → Windows Firewall → Allow an app to interact with this app and add exceptions for Files and Printers.

    • 🔄 Different network profiles:

      IN Network and Control Center make sure the network is marked as Private, and not Public.

    • 📡 Incompatible Wi-Fi standards:

      If one PC only supports Wi-Fi 4, and the second one is Wi-Fi 6, force the router to set the mode 802.11n (in wireless network settings).

    • 🔑 Incorrect access rights:

      Check that the folder is shared with the user. All or a specific account.

    How to reset network settings in Windows if nothing else works

    Open Settings → Network & Internet → Status → Network resetAfter rebooting, all network adapters will return to factory settings. Attention: After the reset, you will have to reconnect to all Wi-Fi networks!

    Security: How to protect your connection from hacking

    When transferring data between PCs via Wi-Fi, it is important to ensure protection from unauthorized access. Here 5 mandatory measures:

    • 🔐 Use WPA3 instead of WPA2:

      If your router supports WPA3, enable it in your security settings. This is the most secure standard available today.

    • 📛 Complex password for the network:

      The password must contain at least 12 characters, including numbers, capital letters and special characters (eg, K7#pL9@mQ2$v).

    • 🚫 Turn it off WPS:

      Function Wi-Fi Protected Setup Vulnerable to brute-force attacks. Disable it in your router settings.

    • 🔍 Hide SSID:

      In the router settings, disable network name broadcasting (SSID). This will not make the network invulnerable, but it will reduce the number of accidental connections.

    • 🛡️ Update your router firmware:

      Manufacturers regularly patch vulnerabilities. Check for updates once a week. 2-3 months.

    If you use Ad-Hoc- network, be sure to turn it on encryption WPA2-PSK when it is created. To do this, in the command netsh Please specify a key of at least length 8 characters.

    FAQ: Frequently asked questions about connecting a PC via Wi-Fi

    Is it possible to connect a PC to a Mac via Wi-Fi?

    Yes, but there are nuances. Mac you need to enable sharing in System Preferences → Sharing and choose File sharingOn a Windows PC, connect to your Mac via \\[Mac IP address] V Conductor. For Ad-Hoc-use networks on Mac Create a network in the Wi-Fi menu.

    Why is file transfer speed low (1-2 MB/s)?

    The reasons may be different:

    • An outdated standard is used Wi-Fi 4 (802.11n).
    • The mode is enabled in the router settings 802.11b/g (limits speed to 54 Mbps).
    • Other devices on the same frequency interfere 2.4 GHz (switch to 5 GHz).
    • The hard drive on one of the PCs is slow (check HDD (for fragmentation).

    Solution: Update your router firmware, switch to 5 GHz and use SSD instead of HDD.

    How to transfer files between PCs without setting up sharing?

    You can use specialized programs:

    • LocalSend (free, cross-platform);
    • Feem (works via Wi-Fi Direct);
    • Snapdrop (web service, no installation required).

    These utilities create a direct channel between devices and do not require manual configuration of network parameters.

    Is it possible to play over a local network via Wi-Fi?

    Yes, but with some reservations:

    • For modern games (Call of Duty, Battlefield) it is better to use a wired connection (Ethernet) - the ping will be more stable.
    • For older or indie games (Minecraft, Terraria, CS 1.6) Wi-Fi is perfect.
    • If the game lags, reduce the graphics quality or use 5 GHz-range.
    How to connect a PC to Wi-Fi if there is no adapter?

    There are several options:

    • Buy an external one USB Wi-Fi adapter (from 500 ₽ for models with support Wi-Fi 5).
    • Use Bluetooth (if you need to transfer small files).
    • Connect your PC to the router via Ethernet, and the second PC via Wi-Fi, and set up sharing.
    • Use the second PC as a "bridge": connect it to Wi-Fi, and then share the Internet through Ethernet or USB (V Windows this is called Internet Connection Sharing).