Connecting two laptops directly via Wi-Fi without a router is a challenge users face when transferring files, collaborating, or setting up a local network. Windows 10 This procedure is implemented through built-in tools, but requires precise execution of steps to avoid connection errors or security issues. Unlike a wired connection via Ethernet, wireless communication between devices is more vulnerable to interference and requires proper configuration IP addresses, network profile And public access.
This article covers all current connection methods: from creation virtual Wi-Fi network (hostspot) before using the mode Ad-Hoc and settings bridge between adaptersWe'll cover not only the basic steps, but also nuances often overlooked in standard instructions—for example, how to avoid IP conflicts or why one laptop doesn't recognize another despite the correct settings. Whether you need to transfer large files, set up remote access, or simply share internet from one device to another, you'll find practical solutions tailored to your specific needs. Windows 10 (including upgrades to 22H2).
1. Preparing laptops before connecting
Before setting up the connection, make sure both devices meet the minimum requirements. This will prevent errors like "Unable to connect to the network" or the lack of the option to create a hostspot.
- 🔹 Hardware compatibility: Both laptops must have Wi-Fi adapters, supporting the regime
SoftAP(to create an access point) orAd-HocCheck it out inDevice Manager(chapterNetwork adapters). Adapters from Intel, Broadcom or Qualcomm Atheros usually support these modes. - 🔹 Updated Windows 10: Install the latest updates via
Settings → Update & Security. In older builds (before 1803) the option may be missingMobile hotspot. - 🔹 Antivirus and firewall: Temporarily disable third-party antivirus software (for example, Kaspersky or Avast), as they can block network connections. Built-in Windows Defender usually does not cause conflicts.
- 🔹 Administrator rights: You will need administrator rights to change network settings. If you are using an account Microsoft, make sure she has administrator status.
Pay special attention Wi-Fi adapter driversIf in Device Manager There is an exclamation mark next to the adapter name, update the driver manually through the laptop manufacturer's website (for example, Lenovo Support or HP Driver Center). Universal drivers from Windows Update may not support the mode SoftAP.
⚠️ Attention: If one of the laptops is connected to a corporate network (for example, via VPN or domain), setting up a direct Wi-Fi connection may be blocked by security policies. In this case, use alternative data transfer methods (e.g., Bluetooth or external storage).
2. Method 1: Creating an access point (SoftAP) on one laptop
The most reliable method for Windows 10 - convert one laptop into access point, to which the second laptop will connect. This method is suitable for sharing the internet (if the first laptop is connected to the network) or setting up a local connection.
Instructions for the laptop that will be distribute Wi-Fi:
- Open
Settings → Network & Internet → Mobile Hotspot. - In the section
Sharing an Internet connectionselect a source (egEthernetorWi-Fi, if the laptop is connected to a router). - Click
Changenext to the fieldsNetwork nameAndNetwork passwordCome up with something. SSID (network name) and a password of at least 8 characters. - Activate the switch
Allow use of my internet connection.
On the second laptop:
- Open the list of available networks (
Win + Aor the Wi-Fi icon in the tray). - Select the created network and enter the password.
- Confirm the connection. The status should change to
Connected, protected.
If the "Mobile Hotspot" option is missing, check if your adapter supports SoftAP mode using the PowerShell command: netsh wlan show driversThe output should contain the line Hosted network support: yes.
Make sure your Wi-Fi adapter is turned on (no Airplane mode)
Disable VPN (if used)
Check that there are no traffic restrictions on the laptop that is distributing the data (for example, via a 3G/4G modem)
Run the command prompt as administrator (needed for diagnostics) -->
3. Method 2: Connecting via Ad-Hoc mode (for older adapters)
If your Wi-Fi adapter does not support SoftAP, use the outdated but working mode Ad-HocIt creates a direct connection between devices without a router, but has limitations: for example, it's impossible to share the internet connection from one laptop to a second.
Instructions for a laptop that creates a network:
- Open
Control Panel → Network and Sharing Center → Set up a new connection. - Select
Setting up a wireless computer-to-computer network(This item may not be present in newer versions of Windows 10 - see the alternative below). - Ask
Network name (SSID), security typeWPA2-Personaland password. - Check the box
Save settings for this network.
If the point computer-computer No, create a network via command line:
netsh wlan set hostednetwork mode=allow ssid="NetworkName" key="Password" keyUsage=persistent
netsh wlan start hostednetwork
On the second laptop, connect to the created network as you would to a regular Wi-Fi hotspot. To share files, you'll need to configure additional settings. public access (see section 5).
⚠️ Attention: ModeAd-Hocmay conflict with some routers in range2.4 GHzIf the connection keeps dropping, try turning off other Wi-Fi devices nearby or switch to5 GHz(if the adapter supports it).
What should I do if the netsh command returns an error?
If after entering netsh wlan start hostednetwork a message appears "Failed to start hosted network", follow these steps:
1. Update your Wi-Fi adapter driver (download from the manufacturer's website, not via Windows Update).
2. Check the service Automatic WLAN configuration V services.msc - it must be launched.
3. Delete old network profiles via netsh wlan delete profile name="*".
4. Restart your laptop and repeat the command.
4. Method 3: Bridge between Wi-Fi and Ethernet (for advanced users)
This method is suitable if you need to connect two laptops to one network via intermediate device (for example, if one is connected to the router via cable, and the other via Wi-Fi). The point is to create network bridge, which will connect two adapters.
Instructions:
- On a laptop with
Ethernet-open by connectingControl Panel → Network Connections(ncpa.cpl). - Select connections
EthernetAndWi-Fi(pressCtrl). - RMB →
Setting up the bridgeWait for the bridge to be created (may take up to 1 minute). - On the second laptop, connect to the Wi-Fi network of the first device.
The advantage of this method is the ability to distribute the Internet from the first laptop to the second, even if it does not have direct access to the router. However the bridge may reduce connection speed by 10–30% due to double traffic routing.
| Connection method | Transfer speed | Internet Sharing | Difficulty of setup |
|---|---|---|---|
| Mobile hotspot (SoftAP) | High (up to 300 Mbps) | Yes | Low |
| Ad-Hoc | Average (up to 150 Mbps) | No | Average |
| Network bridge | Low (depending on adapter) | Yes | High |
5. Setting up shared access to files and folders
After establishing a connection between laptops, you need to configure public accessto transfer files or use shared resources (such as a printer).
Steps for both laptops:
- Open
Control Panel → Network Settings → Network and Sharing Center → Change advanced sharing settings. - Turn on
Network discoveryAndFile and Printer Sharingfor profilePrivate(orAll networks, if you use a public network). - Turn it off
Password-protected sharing(or remember the login/password for your Windows account).
To grant access to a specific folder:
- Right-click on the folder →
Properties → Access → Share. - Select a user
Alland pressShare. - Tab
Security→Change→ add a groupAllwith rightsReadingorFull access.
Now the folder will be accessible via the path \\[laptop IP address]\FolderName or through Net in Explorer. For example, if the IP of the first laptop 192.168.137.1, enter in the address bar of the second laptop's explorer:
\\192.168.137.1\PublicFolder
6. Diagnosing and solving common problems
Even with proper configuration, errors can still occur. Let's look at common scenarios and how to resolve them.
- 🔌 Laptops can't see each other on the network.:
- Make sure both devices are in the same subnets (For example,
192.168.137.x). You can find out the IP throughipconfigin the command line. - Disable Windows Firewall or add an exception for
File and Printerin the firewall settings. - Make sure that network profile installed as
Private(and notPublic).
- Make sure both devices are in the same subnets (For example,
- 🔒 Unable to connect to access point:
- Please check that your password is entered correctly (case sensitive!).
- Restart the service
WLAN AutoConfigthroughservices.msc. - If used Intel Wi-Fi, update the driver to a version not lower than 22.0 (old versions do not support
SoftAPin new Windows builds).
- 📥 Slow file transfer:
- Switch Wi-Fi adapters to standard
802.11nor802.11ac(in the adapter settings inDevice Manager). - Disable power saving for your Wi-Fi adapter:
Device Manager → Network Adapters → Properties → Power Management→ uncheck the boxAllow shutdown.... - Use archivers (for example, 7-Zip) to compress files before transferring.
- Switch Wi-Fi adapters to standard
⚠️ Attention: If you are connecting laptops in a public place (such as a cafe), avoid using the modeAd-Hoc— it transmits data without encryption, which makes it possible to intercept traffic. In such cases, it is better to useSoftAPWithWPA2- encryption.
7. Alternative ways to connect laptops
If a Wi-Fi connection is not possible (for example, due to a faulty adapter), consider alternative options:
- 🔌 Direct cable connection (Ethernet):
- Use crossover cable (or regular patch-cord, if the network cards support
Auto MDI-X). - Set up static IP addresses on the same subnet (e.g.
192.168.1.1And192.168.1.2).
- Use crossover cable (or regular patch-cord, if the network cards support
- 📶 Bluetooth:
- Suitable for transferring small files (up to 100 MB). Speed: up to 3 Mbps.
- Activate
Bluetoothon both devices, pair and use the featureSend file.
- 💽 Local area network via USB:
- By using USB cables with OTG support (For example, USB-A to USB-A) and programs USB Network Gate.
- The speed is comparable to
USB 2.0(up to 480 Mbps), but requires software installation.
Cloud services (for example, Google Drive or Dropbox), but they require an internet connection and may limit download speeds.
FAQ: Frequently asked questions about connecting laptops via Wi-Fi
❓ Is it possible to connect a Windows 10 laptop to a Windows 11 laptop?
Yes, the connection algorithm is identical. The only difference is Windows 11 paragraph Mobile hotspot may be in Settings → Network & Internet → AdvancedAlso in Windows 11 protocol is enabled by default WPA3, which may not be supported by older adapters. In this case, select WPA2-Personal.
❓ Why is file transfer speed slower over Wi-Fi than over cable?
Wi-Fi connections are subject to interference from other networks, physical obstacles (walls) and standard limitations (802.11n gives up to 300 Mbps, 802.11ac — up to 1 Gbit/s). For comparison, Gigabit Ethernet Provides a stable 940 Mbps. To improve speed:
- Switch to range
5 GHz(less busy). - Reduce the distance between laptops (ideally up to 3 meters).
- Turn off power saving for your Wi-Fi adapter in
Device Manager.
❓ How do I share the internet from a laptop connected via cable to a second laptop?
Use Mobile hotspot (method 1) or network bridge (method 3). In both cases:
- On a laptop with Internet access (connected via
Ethernet) turn on Wi-Fi distribution. - On the second laptop, connect to the created network.
- If the Internet is not working, check that the correct hotspot is selected in the settings original compound (For example,
Ethernet, and notWi-Fi).
❓ Is it possible to connect a laptop to another laptop via Wi-Fi if one of them is running Linux?
Yes, but the setup is different. On a laptop with Linux (For example, Ubuntu) create an access point via nmcli:
nmcli dev wifi hotspot ifname wlan0 ssid "MyHotspot" password "12345678"
Or use the graphical interface NetworkManagerLaptop on Windows 10 Connect to this network as you would to a regular Wi-Fi hotspot. For file sharing, set up Samba on a Linux machine.
❓ How do I disable automatic connection to a created network?
To Windows 10 did not connect automatically to your temporary network:
- Open
Settings → Network & Internet → Wi-Fi → Manage known networks. - Select your network and click
Forget. - If the network is created through
netsh, delete her profile with the command:netsh wlan delete profile name="NetworkName"