How to Connect Two Computers via Wi-Fi in Windows 10: 3 Proven Methods

Connecting two computers directly via Wi-Fi V Windows 10 — a task that users face when they need to quickly transfer files, collaborate on documents, or organize a multiplayer game. Unlike a wired connection (via Ethernet), wireless communication does not require additional cables, but it has its own nuances: limited speed, dependence on interference and the need to properly configure network protocols.

Many people mistakenly believe that this requires router or Wi-Fi adapter with mode support AP (Access Point). In fact, Windows 10 allows you to create a direct connection ("computer-to-computer") using built-in tools - ad-hoc networks or regime mobile hotspotHowever, both methods have limitations: for example, Ad-hoc networks do not support the secure WPA3 protocol, and the data transfer rate in them rarely exceeds 54 Mbps (802.11g standard)In this article, we'll examine all the working methods, their pros and cons, and provide recommendations for troubleshooting common problems.

If you need to do more than just connect a PC, but organize a full-fledged file exchange or access to a printer, you will have to additionally configure public access through SMB or FTPWe'll cover this in a separate section. But first, let's determine which of the three methods is right for you.

📊 Why do you need to connect two computers?
To transfer files
For online games
For shared access to a printer/scanner
For remote control (RDP)
Other

1. Method 1: Create an access point on one of the computers (hotspot mode)

The easiest and most reliable method is to turn one of the PCs into virtual router, and connect the second one to it as to a regular Wi-Fi network. This method works reliably and supports modern security standards (WPA2-PSK) and allows you to connect not only a second computer, but also other devices (smartphones, tablets).

The main requirement is that the computer that will distribute Wi-Fi must have Wi-Fi adapter with mode support Hosted Network (most modern adapters can do this). You can check this through command line (cmd), by entering the command:

netsh wlan show drivers

Find the line in the output Hosted network support - it should be indicated there Yes.

If there is support, follow the instructions:

  • 📋 Open Command Prompt as Administrator (click Win + XCommand Prompt (Administrator)).
  • 🔧 Set network settings command:
    netsh wlan set hostednetwork mode=allow ssid="NetworkName" key="Password123" keyUsage=persistent

    Replace GridName And Password123 to your values. The password must be at least 8 characters long.

  • 🚀 Start the distribution:
    netsh wlan start hostednetwork
  • 🔄 Enable Internet Sharing (if necessary). To do this, go to Control Panel → Network Connections, find your primary connection (eg. Ethernet), right-click → Properties → Access and check the box Allow other network users to share your Internet connection.

Now, on the second computer, find the created network in the list of available Wi-Fi networks and connect to it by entering the password. To test the connection, you can use the command ping in the command line:

ping [IP address of the second PC]

If the ping is successful (no packet loss), the connection is successful.

☑️ Checking the hotspot's functionality

Completed: 0 / 4

2. Method 2: Ad-hoc network (direct computer-to-computer connection)

If your Wi-Fi adapter does not support the mode Hosted Network (or you are using outdated hardware), you can create ad-hoc network — a direct connection between two devices without an intermediary. This method is slower (maximum 54 Mbps) and less secure (only WPA2-PSK or WEP), but does not require additional software.

Instructions for Windows 10:

  1. Open Control Panel → Network and Sharing Center → Set up a new connection or network → Set up a wireless ad hoc network.
  2. Set the network name (SSID), security type (WPA2-Personal is recommended) and password.
  3. After creating the network, connect the second computer to it manually (in the list of Wi-Fi networks it may be displayed with a mark Ad-hoc).

An important nuance: in Windows 10 the interface for creating an ad-hoc network is hidden deeper than in Windows 7If there is no menu item, use the alternative command line method:

netsh wlan set hostednetwork mode=allow ssid="AdHocNet" key="password123" keyUsage=persistent

netsh wlan start hostednetwork

But in this case the network will operate in the mode Infrastructure, and not Ad-hocFor a true ad-hoc network, third-party software like Connectify or Virtual Router Plus.

Why are ad-hoc networks slow?

Speed ​​is limited by the 802.11g standard (max. 54 Mbps), as ad-hoc networks do not support modern standards like 802.11ac. Furthermore, such networks lack centralized traffic management, which increases latency (ping).

⚠️ Attention: Some antiviruses (for example, Kaspersky Internet Security) block ad-hoc connections, considering them potentially dangerous. If the network fails to create, temporarily disable protection or add an exception for the network adapter.

3. Method 3: Using third-party programs (for advanced users)

If built-in tools Windows If your network isn't suitable (for example, due to driver issues or advanced features), you can use specialized utilities. These allow you to flexibly configure network settings, monitor traffic, and even limit the speed of connected devices.

Top 3 programs for creating a Wi-Fi network between PCs:

  • 🛠️ Connectify Hotspot — a paid utility with a trial period, supports WPA3, has a built-in firewall and the ability to distribute the Internet with 3G/4G modem.
  • 🔧 Virtual Router Plus - a free alternative, but without support WPA3 and with reduced security settings.
  • 🌐 mHotspot — a simple program with a minimalist interface, suitable for one-time tasks (for example, file transfer).

Example of setting in Connectify:

  1. Download and install the program from official website.
  2. Run the utility, select Wi-Fi Hotspot in the menu.
  3. Please specify SSID, password, select the Internet source (if you need network access).
  4. Click Start Hotspot and connect the second PC.

The advantage of third-party programs is the ability to fine-tune settings, such as limiting the speed of connected devices or filtering traffic. However, they may conflict with system drivers, so create a restore point before using them. Windows.

4. Setting up shared access to files and folders

Simply connecting two computers is not enough to exchange data - you need to set up public access to folders or disks. Windows 10 This is done through protocol SMB (Server Message Block), which is enabled by default but can be blocked by a firewall or antivirus.

Step-by-step instructions:

  1. On the computer from which you want to grant access, right-click on the folder → Properties → Access → Share.
  2. Select a user All (or specify a specific user if there are accounts Microsoft).
  3. Click Share and confirm the changes.
  4. Go to the tab SecurityChange → add user All and give him rights Reading or Full access.

To connect to 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.137.1).
  2. If you are asked for a login/password, enter the account details of the first computer (by default, the username and password from Windows, if installed).

If access is not opened, check:

  • 🔥 Firewall: he must allow File and Printer in the settings Windows Firewall → Allow the app to interact with the app.
  • 🌍 Working group: Both computers must be in the same group (default is WORKGROUP). You can check in System Properties → Computer Name.
  • 🔗 Network settings: Both PCs must be on the same network segment (e.g. with IP addresses 192.168.137.x).

5. Problems and their solutions: why computers can't see each other

Even with proper setup, the connection may not work. Let's look at common errors and how to fix them:

Problem Possible cause Solution
Computers are connected to the network, but cannot be pinged. The firewall is blocking ICMP packets. Disable the firewall temporarily or allow it Echo Request (ICMP) in the rules
No access to shared folder Invalid access rights or disabled SMB1.0 Turn on SMB1.0 V Control Panel → Programs → Turn Windows features on or off
Slow file transfer speed Ad-hoc network or interference at 2.4 GHz Switch to 5 GHz (if your adapter supports it) or use a hotspot
The network breaks down periodically Saving Wi-Fi adapter energy Turn it off Allow the device to turn off to save power in the adapter properties

If the problem is not resolved, please check event logs (Event Viewer → Windows Logs → System) for errors related to WLAN-AutoConfig or TCP/IPOften the error code will give you a clue as to where to look for a solution.

⚠️ Attention: If you use VPN If you're using a proxy server, they may interfere with your local network. Disable them before setting up the connection.

6. Alternative Methods: When Wi-Fi Isn't Enough

If your wireless connection is unstable or you need maximum speed, consider alternatives:

  • 🔌 Direct Ethernet connection (through crossover cable or a regular patch cord if the network cards support it Auto MDI-X). Speed ​​- up to 1 Gbps.
  • 📡 Bluetooth — suitable for transferring small files (max. speed ~3 Mbps).
  • 💾 Local area network via USB (using a special cable USB-A to USB-A and software like USB Network Gate).
  • ☁️ Cloud services (For example, Google Drive or Dropbox) - if the files are not confidential and there is internet access.

For gaming or video streaming, it is better to use wired connection — delays (ping) will be minimal, and the speed will be stable. If your goal is simply to copy files, and your Wi-Fi is intermittent, try archive data before transmission (for example, in .zip or .rar). This will reduce the number of packets and reduce the risk of errors.

7. Security: How to protect your connection from hacking

Direct Wi-Fi connections between computers are more vulnerable than connections through a router because they lack built-in security mechanisms (such as device isolation or guest access). To minimize the risks:

  • 🔐 Use a complex password (at least 12 characters with numbers, letters and special characters).
  • 🛡️ Disable sharing on all drives, except for the necessary folders.
  • 🔍 Set up your firewall to block incoming connections except from trusted IP addresses.
  • 🔄 Change your password regularly, if the connection is used frequently.

If you are transmitting sensitive data (such as documents or passwords), consider additional encryption files using 7-Zip (algorithm AES-256) or VeraCrypt. You can also use VPN tunnel between computers (for example, through Hamachi or ZeroTier), but this will complicate the setup.

To check the security of your network, use utilities like Wireshark or Nmapto make sure the ports 139 And 445 (used for SMB) are not open to external access.

FAQ: Frequently asked questions about setup

Is it possible to connect a Windows 10 computer to a Mac or Linux computer via Wi-Fi?

Yes, but the setup will be different. For MacOS you need to create an access point through Sharing → Internet Sharing, and for Linux - use utilities like hostapd or nmcli. The main thing is that both devices are on the same subnet (for example, 192.168.x.x).

Why is file transfer speed via Wi-Fi lower than via cable?

Wi-Fi connections are subject to interference and are also limited by the adapter standard. For example:

  • 802.11n (2.4 GHz) — up to 150 Mbps (actually ~50-70 Mbps).
  • 802.11ac (5 GHz) — up to 867 Mbps (actually ~200-400 Mbps).

In addition, the speed is affected by the distance between devices, obstacles (walls) and channel congestion with other devices.

How to transfer files between computers without setting up a shared folder?

You can use:

  • 📎 FTP server (For example, FileZilla Server).
  • 🌐 HTTP server (via Python: python -m http.server 8000).
  • 💬 Messengers (For example, Telegram or Discord for small files).

Do I need to install additional drivers for my Wi-Fi adapter?

Usually no - Windows 10 automatically installs standard drivers. However, for some adapters (for example, TP-Link or ASUS) manufacturers release proprietary software with advanced features (for example, support Wi-Fi Direct). Check the adapter manufacturer's website.

Is it possible to play online games through such a connection?

Technically yes, but with some caveats:

  • 🎮 Ping will be higher than with a wired connection (from 20-30 ms under ideal conditions to 200+ ms with interference).
  • 🔌 Stability Depends on the quality of the Wi-Fi adapters. For gaming, it's better to use 5 GHz or wire.
  • 🛠️ Game settings: some games (for example, CS:GO or Minecraft) require opening specific ports in the firewall.