How to connect two laptops via Wi-Fi in Windows 10

Establishing a local connection between two computers without a router or Ethernet cable is a task that often arises when large amounts of data need to be transferred quickly. In the operating system Windows 10 This feature is built-in, but requires proper configuration of security settings and network profiles. Users don't need to install third-party software; they can simply use the system's built-in tools.

There are several use cases for such a connection: from simple document sharing to cooperative gaming over a local network or distributed computing. The key here is the creation of a virtual environment, where one laptop acts as an access point, and the other connects to it as a client. This allows for the creation of a fully-fledged local area network (LAN) in any place where there is no stationary Internet equipment.

It's important to understand that the data transfer rate in this mode will depend on the characteristics of the wireless adapters of both devices. Modern standards Wi-Fi Direct and technology MIMO They allow for speeds comparable to a wired Fast Ethernet connection, which is sufficient for working with multimedia files. However, connection stability directly depends on the distance between devices and the absence of physical obstacles.

📊 Which use case do you need most?
Transferring large files
Online co-op play
Printer sharing
Remote desktop control

Creating a wireless computer-to-computer network

The first step is setting up a wireless bridge. Unlike earlier versions of Windows, in Windows 10 the process of creating an ad-hoc network (computer-to-computer network) has become less straightforward, but it remains accessible through the command line or mobile hotspot settings. The most universal and stable method remains using the network interface management console.

First, you need to make sure the Wi-Fi modules are enabled on both laptops. On the first device that will broadcast the signal, open a command prompt with administrator rights. This is critical, as without elevated privileges, the system will not allow you to change the network driver configuration. Enter the command netsh wlan show driversto make sure your adapter supports the hosted network feature.

⚠️ Attention: Some older wireless adapter drivers may not support Hosted Network mode. If you see a message stating "Hosted Network not supported" in response to the command, you will need to update the drivers from the laptop manufacturer's website.

Next comes the command to create the network itself. You need to specify the network name (SSID) and password. Use a complex combination of characters, as the protocol WPA2-PersonalThe default password, while secure, is susceptible to brute-force attacks if the password is too simple. The command looks like this:

netsh wlan set hostednetwork mode=allow ssid=MyLocalNet key=Password123

After the command has successfully completed, the network has been created but has not yet been launched. Activation is performed via the command netsh wlan start hostednetworkOn the second laptop, the connection you created will appear in the list of available wireless networks. MyLocalNetOnce connected, you'll see the status "Connected, no internet access," which is normal for an isolated local network.

☑️ Check before launching the network

Completed: 0 / 4

Setting up sharing options

A Wi-Fi connection alone doesn't allow you to see each other's files. Windows 10 blocks device discovery by default for security reasons. To change this behavior, you need to access the Network and Sharing Center. You can find it in the Control Panel or the context menu of the network icon in the system tray.

In the left pane of the window, select "Change advanced sharing settings." This will open your current network profile (private or guest). This is where the key switches for network discoveryEnable the "Turn on network discovery" option and be sure to check the "Turn on automatic configuration of network devices" box.

Parameter Recommended value Impact on the network
Network discovery Turn on The computer becomes visible to others
File sharing Turn on Allows reading/writing to shared folders
Access to printers Enable (optional) Allows you to print to a remote printer
Managing home connections Allow Windows Automates firewall rule configuration

You should also pay attention to the "All Networks" section. Here you'll find an important setting called "Password-protected sharing." If you're in a trusted environment and want to make access as easy as possible, you can disable this feature. However, if others may connect to your Wi-Fi network, it's best to leave password protection enabled and use user credentials to log in.

Why is Windows blocking detection?

By default, the Windows 10 security system considers new networks to be public. This profile hides your computer from prying eyes, preventing hackers in cafes or airports from scanning your ports and exploiting vulnerabilities. By switching the profile to "Private," you manually trust the environment.

Expanding access to folders and files

Once the network infrastructure is in place, it is necessary to determine what data will be available for exchange. The mechanism access expansion Sharing in Windows works at the NTFS file system level. You can share any folder, making it visible to all users on the local network or only to specific accounts.

To configure settings, right-click the folder you want to share and select "Properties." Go to the "Sharing" tab and click "Advanced." Check the "Share this folder" box. You can also configure limits here: for example, limit the number of concurrent users or allow read-only access to files without write permission.

More detailed permissions can be configured using the "Security" button in the folder properties. Here you can see lists of users and groups. Add a group All (or Everyone (in the English version) if you want any connected laptop to have access. For corporate environments, it's best to add specific usernames to audit actions.

⚠️ Attention: Granting full permissions (Read and Write) to the "Everyone" group on system folders or the C: drive can create a security hole. Always ensure you only share data intended for sharing, not system directories.

An alternative, and often faster, method is to use the "Share with specific users" feature in the Sharing Wizard. This interface is simpler and allows you to directly select a user from the list and assign them a permission level. Once the settings are applied, the folder will be accessible via the network path, which can be copied from the File Explorer address bar.

Searching for devices and connecting network drives

Once both laptops are on the same network and sharing settings are applied, you can begin searching for resources. Open File Explorer and select "Network" in the left pane. If network discovery is working correctly, you'll see the icon for the second laptop. If only IP addresses or question marks appear instead of device names, you may need to refresh the list using the F5 key or restart the discovery service.

For permanent access to files on a second laptop, the most convenient option is to use the "Map Network Drive" feature. This will allow you to work with remote files as if they were on your hard drive (for example, as drive Z:). To do this, right-click "This PC" in File Explorer and select "Map Network Drive."

In the window that opens, specify the drive letter and path to the folder. The path is in the format \\ComputerName\Folder or \\192.168.137.1\FolderUsing an IP address is often more secure, as computer names may not be resolved by DNS on simple ad-hoc networks. If prompted for a login and password when connecting, enter the user account information for the second laptop.

Using Nearby Sharing

Modern builds of Windows 10 and 11 introduce a more convenient alternative to classic folder sharing—Nearby Sharing. It uses a combination of Bluetooth for discovery and Wi-Fi Direct for fast file transfers. This method is ideal for one-time document or photo transfers without setting up complex network paths.

To activate the feature, go to Settings → System → General FeaturesMake sure the "Nearby Sharing" toggle is turned on on both devices. Also, select "Everyone Around Me" to see everyone's devices, or "Just My Devices" if you're signed in with the same Microsoft account. This technology makes life much easier, eliminating the need to fiddle with access rights.

The transfer process is intuitive: simply right-click the file, select "Share," and find the name of the neighboring laptop in the list. A notification will pop up on the receiving end, asking if they want to save the file. Transfer speeds are limited by Wi-Fi Direct and can reach 20-40 MB/s, which is faster than Bluetooth but slower than a full-fledged SMB network.

Diagnosing and resolving visibility problems

Despite this apparent simplicity, users often encounter a situation where laptops can't see each other. The most common cause is the network profile. If Windows classifies your Wi-Fi connection as "Public," it blocks incoming connections. Check this in "Network & Internet" → "Wi-Fi" → "Manage known networks."

Another common culprit is Windows services. These services are responsible for network detection and operation. Function Discovery Resource Publication And SSDP DiscoveryIf they are stopped, the computer will not announce itself on the network. Check their status using the command services.msc and set the startup type to "Automatic".

Third-party antivirus software can also cause problems. Aggressive firewall settings can block SMB ports (usually 445 and 139). Try temporarily disabling your antivirus firewall to test. If the network works again after this, add an exception for the private network in the security settings.

⚠️ Attention: Windows 10 settings interfaces may vary depending on the build version (Home, Pro, Enterprise) and installed updates. If you can't find the item, search for it in the Start menu or enter the command directly.

Reset network settings

If all else fails, try the nuclear option. In Settings → Network & Internet → Status, there's a "Reset network" button. This will delete all saved Wi-Fi passwords and reset your network adapters, restoring them to factory settings.

Is it possible to connect laptops if one of them is running Windows 7?

Yes, this is possible, but it requires manual configuration of the SMB 1.0 protocol, which is disabled by default in Windows 10 for security reasons. You'll need to enable the "SMB 1.0/CIFS file sharing support" feature in the "Turn Windows features on or off" section. However, this is not recommended due to vulnerabilities in the protocol.

What is the maximum data transfer rate for Wi-Fi Direct?

Theoretical speed depends on the adapter standard. For Wi-Fi 4 (802.11n), it is up to 150-300 Mbps, and for Wi-Fi 5 (802.11ac), it is up to 800 Mbps and higher. In reality, speed will be lower due to protocol overhead and the distance between devices.

Is internet required for a local network to work between laptops?

No, an internet connection is not required. A local area network (LAN) works independently. However, if you want to use the Nearby Sharing feature for initial pairing or driver updates, a WAN connection may be required, but not for the actual file transfer.

Why am I asked for a password when I map a network drive?

This is how password protection works. Windows requires authorization to ensure you have permission to access files. Enter the username and password of the computer whose folder you're connecting to. If the user accounts are identical (the same username and password on both computers), you may be logged in automatically.