Connecting two laptops directly via Wi-Fi is a challenge faced by both system administrators migrating data and regular users wanting to set up a temporary network for gaming or collaboration. Unlike a traditional router connection, a direct connection (ad-hoc or Wi-Fi Direct) allows you to share files without intermediaries, saving time and resources. However, many users make critical errors during the setup process, resulting in connection failures or slow data transfer.
In this article, we'll look at all the current methods for connecting laptops via Wi-Fi, from standard tools Windows And macOS to third-party utilities like ConnectifyWe'll pay special attention to common problems: why laptops don't "see" each other, and how to fix the error. IP conflict, and what to do if file transfer speeds don't exceed 1–2 MB/s. You'll also find a comparison table of methods based on speed and reliability to help you choose the best option for your needs.
1. Preparing laptops for connection: what to check
Before you begin setting up, make sure both devices meet the minimum requirements. The most important requirement is the presence of Wi-Fi adapter, supporting the regime ad-hoc (for Windows) or Wi-Fi Direct (universal standard). Most modern laptops (manufactured after 2015) are equipped with such adapters, but older models may require a driver update.
Please check the following parameters:
- 🔄 Updated Wi-Fi driversOutdated versions often don't support modern protocols. Update them via
device Manager(Windows) orSoftware update(macOS). - 📡 Adapter operating mode. IN
Network connections(Windows) orSystem settings(macOS) Make sure Wi-Fi is turned on and not blocked by a function key (e.g.Fn+F2). - 🛡️ Disabled firewall/antivirusPrograms like Kaspersky or Avast may be blocking your local connection. Temporarily disable them or add an exception for your local network.
⚠️ Attention: On laptops with Intel Wi-Fi 6 AX200/AX210 manual mode adjustment may be required802.11a/b/g/n/acin the driver. By default, these adapters sometimes only work in the modeAX, which prevents the creation of an ad-hoc network.
If you plan to transfer large files (such as videos or archives), free up disk space and close resource-intensive programs beforehand. Wi-Fi connections are sensitive to processor and RAM load—background tasks can reduce data transfer speed by 30–50%.
2. Method 1: Creating an ad-hoc network in Windows (without a router)
This is a classic method for Windows 7/10/11, which allows one laptop to act as an access point and a second one to connect to it. The main advantage of this method is that it doesn't require third-party software, but it has a speed limit (maximum ~50 Mbps on older adapters).
Instructions for the laptop that will be distribute Wi-Fi:
- Open
Command lineas administrator (clickWin + X→Terminal (administrator)). - Enter the command to create the network:
netsh wlan set hostednetwork mode=allow ssid="MyLaptopNet" key="12345678" keyUsage=persistentReplace
MyLaptopNetto the desired network name, and12345678— password (minimum 8 characters). - Start the network with the command:
netsh wlan start hostednetwork - Go to
Network connections(Win + R→ncpa.cpl), find a new connectionWireless Network Connection 2(or similar), right-click →Properties→Access→ Allow other users to share your Internet connection (if you need to share your Internet connection).
On the second laptop, connect to the created network MyLaptopNet as with a regular Wi-Fi hotspot, using the set password. After connecting, check the connection with the command ping 192.168.173.1 (Default host IP address).
☑️ Ad-hoc network testing
⚠️ Attention: If you still can't access the network after connecting, check your Windows Firewall settings. Add an exception forFile and Printerin the inbound rules (Control Panel → Firewall → Advanced Settings).
3. Method 2: Wi-Fi Direct – a universal method for Windows and macOS
Wi-Fi Direct — a modern standard that allows devices to connect directly without creating an ad-hoc network. Advantages of this method:
- 🚀 Speed up to 250 Mbps (on adapters) Wi-Fi 5/6).
- 🔗 Support Windows 8.1+, macOS 10.10+, Linux (with drivers).
- 🛠️ No command line required - configuration via a graphical interface.
To connect via Wi-Fi Direct:
- On the first laptop (Windows): open
Settings → Network and Internet → Wi-Fi→Managing known networks→Add a new network→ selectWi-Fi DirectThe system will generate a username and password. - On the second laptop (Windows/macOS): in the list of available networks, find the name of the first device (for example,
DESKTOP-ABC123) and connect by entering the generated password. - To transfer files, use
Conductor(Windows) orFinder(macOS), go to the sectionNet.
On macOS the process is a little different: open System Preferences → Sharing, turn on File sharing and select the folders to access. Then in Finder → Go → Network Find a second laptop.
| Method | Speed | Difficulty of setup | Supported OS | Software required |
|---|---|---|---|---|
| Ad-hoc (netsh) | up to 50 Mbps | Average | Windows 7–11 | No |
| Wi-Fi Direct | up to 250 Mbps | Low | Windows 8.1+, macOS 10.10+, Linux* | No |
| Connectify Hotspot | up to 1 Gbit/s** | Low | Windows 7–11 | Yes (paid version) |
| Local network via router | up to 1 Gbit/s | Low | Any | No |
* On Linux, manual configuration may be required via wpa_supplicant.
**Theoretical maximum on Wi-Fi 6 under ideal conditions.
4. Method 3: Using third-party programs (Connectify, Virtual Router)
If standard methods don't work or you need advanced features (for example, internet sharing with speed limits), third-party software can help. The most popular utilities are:
- 🌐 Connectify Hotspot — paid solution with support
Wi-Fi 6and firewall settings. Allows you to create a network with a unique SSID and password, as well as limit traffic for connected devices. - 🔧 Virtual Router Plus — a free, open-source alternative. Suitable for Windows 7–10, but may conflict with some antiviruses.
- 🍎 Create Hotspot (macOS) - a utility for distributing Wi-Fi from a laptop Mac to other devices, including Windows PCs.
Example of setup Connectify Hotspot:
- Download and install the program from official website.
- Run the utility, select
Wi-Fi Hotspot. - In the field
Internet to SharePlease specify your current connection (e.g.EthernetorWi-Fi). - Set the network name (
SSID) and password, then clickStart Hotspot.
Critical feature: Some versions of Connectify block file transfers over a local network unless a paid license is activated. In this case, use free alternatives or configure the network via the command line.
How to bypass speed limits in the free version of Connectify?
The free version of Connectify artificially limits the speed to 10 Mbps. To get around this, you can temporarily roll back your Wi-Fi adapter driver to the 2019 version (via Device Manager) or use alternative utilities like MyPublicWiFi.
5. Common mistakes and their solutions
Even with proper configuration, users still encounter problems. Let's look at the most common ones:
Error 1: Laptops don't see each other on the network
- 🔍 Make sure both devices are in the same working group (by default
WORKGROUPfor Windows,LOCALfor macOS). You can change it inSystem Properties → Computer Name. - 📶 Make sure your Wi-Fi adapters are working in the same network range (2.4 GHz or 5 GHz). Older laptops may not support 5 GHz.
- 🔧 Turn it off IPv6 in the connection properties if you are using only IPv4.
Error 2: Unable to access shared folders
- 🔐 Turn on public access to folders: right-click on a folder →
Properties → Access → Share. - 👤 Make sure the user has read/write permissions. Windows This is configured in
Security → Change Permissions. - 🔄 Restart the service
Server(Vservices.msc), if the folders are not displayed.
Error 3: Slow file transfer (1–5 MB/s)
- 📉 Turn it off encryption in the Wi-Fi network properties (in the command line, add
keyUsage=persistentwithout password for the test). - 🔄 Change Wi-Fi channel in manual mode (via
Device Manager → Adapter Properties → Advanced). Channels 1, 6, 11 are usually less loaded. - 🖥️ Close background programs that consume network bandwidth (torrents, cloud synchronization).
⚠️ Attention: On laptops with Realtek RTL8188EE or Broadcom 4313 Connection drops may occur when transferring files larger than 1 GB. The solution is to update the driver to the 2023 version or use a cable. USB-C/Lightning for transmission.
6. Alternative ways to connect laptops
If your Wi-Fi connection is unstable or you need high speed, consider alternatives:
1. Connection via Ethernet cable (crossover)
- ⚡ Speed up to 1 Gbps (10-20 times faster than Wi-Fi).
- 🔌 Required crossover cable (or regular LAN + adapters with support
Auto MDI-X). - 🖥️ Setup: Assign IP addresses to laptops in the same subnet (e.g.
192.168.1.1And192.168.1.2) and disable the firewall.
2. Using Bluetooth
- 📱 Speed up to 3 Mbps (only suitable for small files).
- 🔗 Turn on Bluetooth on both devices, pair them and use the feature
Send file.
3. Local network via a router
- 🌐 Connect both laptops to the same router (via Wi-Fi or cable).
- 📂 Turn on public access to folders as described in section 5.
- 🔒 Use static IP for devices to avoid DHCP conflicts.
7. Security when directly connecting laptops
Direct Wi-Fi connections are vulnerable to data interception, especially if you use a weak password or an open network. Follow these recommendations:
- 🔐 Use password length ≥12 characters with mixed registers and numbers.
- 🛡️ Turn on WPA3 encryption (if supported by adapters) or
WPA2-AES. - 🚫 Disconnect the network after the data transfer is complete using the command:
netsh wlan stop hostednetwork - 🔍 Check your connected devices in
Control Panel → Network and Sharing Center → View your active networks.
If you are transmitting confidential data, please use password-protected archiving (For example, 7-Zip with AES-256 encryption) or VPN tunnel (For example, Hamachi to create a virtual private network).
⚠️ Attention: In public places (cafes, airports), never use direct Wi-Fi connections without encryption. Attackers can connect to your network and intercept your traffic.
FAQ: Frequently asked questions about connecting laptops
Is it possible to connect a Windows laptop and a Mac via Wi-Fi?
Yes, but with nuances. On Windows create a network through netsh or Wi-Fi Direct, and on Mac Connect to it as a regular access point. To share files, set up folder sharing on both devices. macOS this is done in System Preferences → Sharing → File Sharing.
Why is the file transfer speed over Wi-Fi below 10 MB/s?
The reasons may be different:
- An outdated Wi-Fi standard (802.11n provides a maximum of 150 Mbps, while 802.11ac provides up to 867 Mbps).
- External interference (other networks on the same channel). Try changing the channel in the adapter settings.
- Background processes that consume the network (cloud synchronization, OS updates).
For diagnostics, use the utility Wi-Fi Analyzer (Android/Windows) or command netsh wlan show interfaces to check the current connection speed.
How to transfer files between laptops without internet?
If you don't need the Internet, it's enough to create a local network (ad-hoc or Wi-Fi Direct) and use:
- Shared folders (as described in section 5).
- FTP server (for example, built in FileZilla Server or Python via command
python -m http.server). - Specialized software like LocalSend (AirDrop analog for Windows/macOS/Linux).
Is it possible to play on a local network via a direct Wi-Fi connection?
Yes, but with some reservations:
- For most games (eg. Minecraft, CS:GO) it is enough to create a local network and run the server on one of the laptops.
- For games with high ping requirements (eg. Valorant, Fortnite) a direct Wi-Fi connection may cause delays. In this case, it is better to use Ethernet cable.
- Set up port forwarding in Windows Firewall for game ports (for example,
27015For CS:GO).
How to disable automatically created network in Windows?
If the network created through netsh, interferes or appears every time you turn on your laptop, remove it:
- Open
Command lineon behalf of the administrator. - Enter:
netsh wlan set hostednetwork mode=disallow - Delete the network profile in
Settings → Network & Internet → Wi-Fi → Manage known networks.