Connecting Laptop to Laptop via Wi-Fi in Windows 10: 3 Proven Methods

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) or Ad-HocCheck it out in Device Manager (chapter Network 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 missing Mobile 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).
📊 How often do you connect devices directly via Wi-Fi?
I'm trying it for the first time.
Regularly for file transfer
Only in emergency cases
Never used it

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:

  1. Open Settings → Network & Internet → Mobile Hotspot.
  2. In the section Sharing an Internet connection select a source (eg Ethernet or Wi-Fi, if the laptop is connected to a router).
  3. Click Change next to the fields Network name And Network passwordCome up with something. SSID (network name) and a password of at least 8 characters.
  4. Activate the switch Allow use of my internet connection.

On the second laptop:

  1. Open the list of available networks (Win + A or the Wi-Fi icon in the tray).
  2. Select the created network and enter the password.
  3. 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:

  1. Open Control Panel → Network and Sharing Center → Set up a new connection.
  2. 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).
  3. Ask Network name (SSID), security type WPA2-Personal and password.
  4. 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: Mode Ad-Hoc may conflict with some routers in range 2.4 GHzIf the connection keeps dropping, try turning off other Wi-Fi devices nearby or switch to 5 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:

  1. On a laptop with Ethernet-open by connecting Control Panel → Network Connections (ncpa.cpl).
  2. Select connections Ethernet And Wi-Fi (press Ctrl).
  3. RMB → Setting up the bridgeWait for the bridge to be created (may take up to 1 minute).
  4. 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:

  1. Open Control Panel → Network Settings → Network and Sharing Center → Change advanced sharing settings.
  2. Turn on Network discovery And File and Printer Sharing for profile Private (or All networks, if you use a public network).
  3. Turn it off Password-protected sharing (or remember the login/password for your Windows account).

To grant access to a specific folder:

  1. Right-click on the folder → Properties → Access → Share.
  2. Select a user All and press Share.
  3. Tab SecurityChange → add a group All with rights Reading or Full 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 through ipconfig in the command line.
    • Disable Windows Firewall or add an exception for File and Printer in the firewall settings.
    • Make sure that network profile installed as Private (and not Public).
  • 🔒 Unable to connect to access point:
    • Please check that your password is entered correctly (case sensitive!).
    • Restart the service WLAN AutoConfig through services.msc.
    • If used Intel Wi-Fi, update the driver to a version not lower than 22.0 (old versions do not support SoftAP in new Windows builds).
  • 📥 Slow file transfer:
    • Switch Wi-Fi adapters to standard 802.11n or 802.11ac (in the adapter settings in Device Manager).
    • Disable power saving for your Wi-Fi adapter: Device Manager → Network Adapters → Properties → Power Management → uncheck the box Allow shutdown....
    • Use archivers (for example, 7-Zip) to compress files before transferring.
⚠️ Attention: If you are connecting laptops in a public place (such as a cafe), avoid using the mode Ad-Hoc — it transmits data without encryption, which makes it possible to intercept traffic. In such cases, it is better to use SoftAP With WPA2- 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.1 And 192.168.1.2).
  • 📶 Bluetooth:
    • Suitable for transferring small files (up to 100 MB). Speed: up to 3 Mbps.
    • Activate Bluetooth on both devices, pair and use the feature Send 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:

  1. On a laptop with Internet access (connected via Ethernet) turn on Wi-Fi distribution.
  2. On the second laptop, connect to the created network.
  3. If the Internet is not working, check that the correct hotspot is selected in the settings original compound (For example, Ethernet, and not Wi-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:

  1. Open Settings → Network & Internet → Wi-Fi → Manage known networks.
  2. Select your network and click Forget.
  3. If the network is created through netsh, delete her profile with the command:
    netsh wlan delete profile name="NetworkName"