Creating a local network between two laptops without a router is a challenge faced by many users who want to quickly exchange large amounts of data or organize shared access to resources.
Modern operating systems provide built-in tools that allow you to implement a connection computer-computer directly through the wireless adapter, bypassing complex hardware settings.
In this guide, we'll cover current setup methods that work in Windows 10 and Windows 11, ensuring stable data transfer speeds.
Equipment preparation and compatibility testing
Before starting the setup, make sure that both devices are equipped with working wireless modules that support Ad-Hoc or Hosted Network mode.
Most modern models Intel Wireless-AC And Realtek RTL8822 They handle this task without any problems, but the drivers must be installed correctly.
It's also worth checking if it's enabled. Wi-Fi on both devices, since in power saving mode the adapter may be disabled by the system.
⚠️ Note: If one of the laptops has older drivers installed, the network creation mode may not be available, so please update the adapter software in advance.
To diagnose the adapter's status, you can use the command line by entering a query to check the supported functions.
How to check for network creation support via command line?
Open a command prompt as administrator and enter the command netsh wlan show drivers. In the list that appears, find the line "Hosted network supported." If it says "Yes," your adapter is ready to use. If it says "No," you'll need to install specialized software or replace the adapter.
Creating a wireless network using the command line
The most reliable way to establish a connection is to use the built-in utility. netsh, which allows you to deploy a virtual router on one of your laptops.
Launch Command Prompt with administrator rights and enter the command to create a new network, specifying the desired name (SSID) and password.
netsh wlan set hostednetwork mode=allow ssid="MyLocalNet" key="Password123"
Once the configuration has been successfully created, you need to activate the network so that it becomes visible to the second device.
- 📡 Enter the command
netsh wlan start hostednetworkto start the access point. - 🔒 Make sure the encryption type is set in the security settings WPA2-Personal.
- 💻 On the second laptop, find the created network in the list of available connections and sign in.
It is important to remember that after restarting the computer, the created network may not start automatically, and the procedure will have to be repeated.
☑️ Check network settings
Setting up shared access to files and folders
Once the physical connection is established, it is necessary to configure the logical level, allowing data exchange between devices in the local environment.
Open the Network and Sharing Control Panel and go to the Change advanced sharing settings section, where you need to enable network discovery.
Select the "Private" or "Guest" network profile to ensure that the system considers the connection secure and allows file sharing.
| Parameter | Recommended value | Impact on the network |
|---|---|---|
| Network discovery | Turn on | Computers see each other |
| File sharing | Turn on | Allows reading of data |
| Access to printers | Enable (optional) | Allows you to print remotely |
| Password encryption | Disable (for simplicity) | Simplifies password-less login |
Don't forget to save your changes by clicking the corresponding button at the bottom of the settings page.
Now you can select any folder, go to properties, the "Access" tab and share it with all network users.
Troubleshooting device visibility issues
A common situation is when the network is working, but computers cannot see each other in Explorer, which is usually due to firewall settings.
Check if it is blocking Windows Defender Firewall incoming connections for the private network, and add an exception if necessary.
It's also worth making sure that the "Function Discovery Resource Publishing" service is enabled on both devices, which is responsible for displaying the PC in the network list.
⚠️ Note: Third-party antivirus programs (Kaspersky, ESET, Avast) may have their own built-in firewalls that block local connections even when allowed in Windows.
Try temporarily disabling your third-party antivirus to test the hypothesis that traffic is being blocked.
Using Nearby Share
In Windows 10 and 11, there is a more modern and simple way to transfer files that does not require complex shared folder setup.
Function Near Share (Nearby Sharing) uses Bluetooth and Wi-Fi protocols to instantly transfer documents and links between devices.
Activate this option in the "System" -> "General Features" section by turning the switch to the "On" position.
- 📂 Open the file you want to share and click the "Share" button.
- 📶 Select a laptop found nearby from the list.
- ✅ Accept the file transfer request on the second device.
This method is ideal for one-time transfer of small files, but is less convenient for organizing continuous access to the disk.
Alternative methods and specialized software
If standard Windows tools cause difficulties, you can use proven third-party utilities to organize a P2P connection.
Programs like Hamachi or Radmin VPN create a virtual local area network (VLAN) over an existing Internet connection, emulating a direct connection.
This approach often allows you to bypass restrictions of corporate networks or complex router settings, if they are used.
However, it is worth considering that using third-party software may reduce data transfer speed due to additional traffic encryption.
For maximum performance when transferring gigabytes of data, it's still best to take the time to properly configure native OS tools.
Frequently Asked Questions (FAQ)
Is it possible to connect laptops via Wi-Fi if one of them is running macOS?
Yes, this is possible, but it requires configuring the SMB protocol on both Mac and Windows. You'll need to enable file sharing in your Mac's preferences and enter your Mac user credentials when connecting from Windows via "Map Network Drive."
What is the maximum data transfer rate in such a network?
Speed depends on the Wi-Fi adapter standard (802.11n, ac, ax). Under ideal conditions, real-world speeds of 20 to 50 MB/s can be achieved at 5 GHz, which is comparable to fast USB drives.
Is it safe to transmit personal data through the created network?
If you use a strong WPA2 password and are in an isolated location (not a public cafe), the risk is minimal. However, for particularly sensitive data, it's recommended to use password-protected archives or specialized encryption.
Will the internet connection disappear on a laptop distributing Wi-Fi?
Usually not. Modern adapters allow you to simultaneously receive and share internet (if connected via cable or other Wi-Fi) but this depends on the drivers and hardware limitations of the specific wireless card model.