Modern users often need to quickly transfer large amounts of data between devices without the need for external drives. Connecting two laptops via Wi-Fi is one of the most effective solutions, allowing you to set up a stable local network in minutes. This method eliminates the need to search for flash drives, use limited cloud storage, or run unnecessary cables.
The setup process may seem complicated at first glance, but Windows family operating systems provide all the necessary tools to automate this process. Local area network It allows you to not only share files but also play online games, share printers, or remotely control another computer's desktop. In this article, we'll cover every step of establishing a connection, from checking your hardware to fine-tuning access rights.
It's important to understand that you don't necessarily need a router to implement this idea. Laptops can create a direct connection. ad-hoc Or use the "Mobile Hotspot" feature to turn one of them into a hotspot. The method you choose depends on your goals, your operating system version, and the availability of a free Wi-Fi adapter. We'll cover the general methods applicable to modern versions of Windows.
Equipment preparation and compatibility testing
Before proceeding with software settings, you need to ensure that the hardware is physically ready for use. A key requirement is the presence of working wireless modules on both devices. Most modern laptop models have a Wi-Fi adapter built into the motherboard, but older or specialized devices may require an external USB dongle.
Make sure the wireless adapter drivers are installed correctly and are working without errors. To do this, open device Manager and find the "Network Adapters" section. If there's a yellow exclamation mark next to your Wi-Fi module's name, first resolve the driver issue; otherwise, you won't be able to establish a connection.
It's also worth paying attention to the Wi-Fi standard version. Although devices of different generations (for example, 802.11n and 802.11ac) are compatible, data transfer speeds will be limited by the capabilities of the weaker module. For transferring large files, such as 4K video or game archives, it's advisable for both laptops to support the 5 GHz band.
Setting up a shared network on the first laptop
The first step in setting up a connection is creating the infrastructure. If you don't have a router, one of your laptops should act as a network server. In Windows 10 and 11, this is done through the "Mobile Hotspot" feature. Go to Settings → Network & Internet → Mobile Hotspot.
In the window that opens, select the connection source. Even if the internet cable is not connected, the system will allow you to create a local network. Set a network name and a strong password to prevent unauthorized access. After the hotspot is enabled, the second laptop will see the new network in the list of available connections.
- 📶 Open network settings and select to create a new access point.
- 🔐 Create a strong security key consisting of letters and numbers.
- 🔄 Make sure the network type is set to "Private" and not "Public".
After connecting the second device to the created access point, the system will automatically assign them IP addresses from the local network range. These addresses are typically 192.168.137.x. Remember or write down the IP address of the first laptop; you will need it for future access to shared folders.
Configuring sharing settings
The most important step is setting file access permissions. By default, Windows blocks external connections for security reasons. You need to enable network discovery. Open Control Panel → Network and Sharing Center → Change advanced sharing settings.
In the "Private" profile (your current network), enable "Turn on network discovery" and "Turn on file and printer sharing." It's also recommended to enable "Let Windows manage HomeGroup connections." Without these settings, the laptops simply won't "see" each other in File Explorer.
⚠️ Warning: Enabling network discovery in public places (cafes, airports) can make your files vulnerable. Make sure the network profile is marked as "Private."
Next, you need to disable password protection if you want to log in without entering your account username and password. In the same menu, find "All Networks" and select "Turn off password-protected sharing." This will simplify the connection, but it will reduce security, so only use this method in a trusted home environment.
☑️ Check access settings
Creating and sharing a shared folder
Simply enabling access isn't enough—you need to tell the system exactly what data can be transferred. Create a new folder on your drive, for example, called "Exchange," or use the default "Shared Documents" folder. Right-click it and select "Properties."
Go to the "Sharing" tab and click "Advanced." Check "Share this folder." Under "Permissions," ensure that the "Everyone" group has "Read" and "Modify" permissions. This will allow the second laptop to not only copy files but also write their own.
| Action | Properties tab | Required permission |
|---|---|---|
| Opening access | Access | General access |
| Writing files | Security | Change |
| Deleting files | Security | Full access |
| View content | Access | Reading |
Don't forget to also check the "Security" tab. There should be an "Everyone" group there with the appropriate permissions. If it's not there, click "Add" and enter the word All (or Everyone (in the English version) and confirm the action. Only a combination of the "Access" and "Security" tab settings guarantees stable operation.
Connecting a second laptop to resources
Now let's move on to the second device. Open File Explorer and enter the IP address of the first laptop in the address bar in the format \\192.168.137.1 (The address may be different; check it in the hotspot settings on the first PC.) Pressing Enter should open a window with available shared folders.
If the system prompts you for credentials, enter the username and password for the user account on the first laptop. If password protection was previously disabled, access will be granted automatically. For convenience, you can right-click the folder and select "Mount as network drive" to display it as a separate partition (e.g., drive Z:).
What to do if the IP address does not work?
If you can't connect using the IP address, try entering the computer name. You can find it in the system using the command cmd -> hostname. The input format is: \\\\ComputerName.
An alternative method is to use the "Network" group in File Explorer. However, this method is often unstable due to the specifics of the SMB protocol in newer versions of Windows. Directly entering the IP address is the most reliable method for connecting two computers.
Alternative connection methods and commands
For advanced users or in cases where the graphical interface crashes, you can use the command line. Run cmd as administrator. To create a network, you can use the command netsh wlan set hostednetwork mode=allow ssid="MyNetwork" key="Password".
The network is launched by the command netsh wlan start hostednetwork, and the stop is netsh wlan stop hostednetworkThis method creates a virtual adapter that appears to other devices as a regular Wi-Fi hotspot. It's especially useful in corporate environments where access rights to the graphical settings interface are restricted.
netsh wlan show hostednetwork
This command will display the current status of the created network, the number of connected clients, and the security key. Using the command line provides more granular control over channel parameters and encryption type, which can be critical when working with specific equipment.
Diagnostics and troubleshooting
Even with proper configuration, problems may arise. The most common one is "Windows cannot access...." In 90% of cases, this is due to ports being blocked by an antivirus or firewall. Try temporarily disabling your third-party antivirus and checking for access.
Also make sure that the Discovery Resource Publishing service is running. Click Win + R, enter services.msc and find it in the list Function Discovery Resource PublicationSet the startup type to "Automatic" and start the service. Without it, your computer may be hidden from other network users.
⚠️ Note: Windows settings interfaces may differ depending on the update version (21H2, 22H2, etc.). If you don't find the item, search for keywords in the system settings.
If your laptop sees the network but can't connect, try forgetting the network on the second device and reconnecting. Sometimes resetting the TCP/IP stack with the command netsh int ip reset in the command prompt with administrator rights. After running the command, a reboot is required.
Questions and Answers (FAQ)
Is it possible to connect laptops without a router if neither of them shares the Internet?
Yes, you can. One laptop creates a "Mobile Hotspot," simulating a router. The second laptop connects to this Wi-Fi network. Internet access is not required; it creates a local connection.
What is the maximum file transfer speed via Wi-Fi between laptops?
Speed depends on the Wi-Fi standard. 802.11n offers up to 40-50 Mbps in real-world conditions, 802.11ac (Wi-Fi 5) offers up to 400-500 Mbps, and Wi-Fi 6 can reach gigabit speeds under ideal conditions.
Why can't the second laptop see the shared folder even though the network is working?
Most likely, access rights aren't configured in the Security tab or network discovery is disabled. Also, make sure both devices are on the same network profile (Private).
Is it safe to keep password protected sharing enabled?
At home, with trusted devices, the risk is minimal. However, in public places (cafes, hotels), always use the "Public Network" profile, which hides your computer from other users.
Is it possible to play online games over this connection?
Yes, a local area network (LAN) is ideal for multiplayer gaming. Ping will be minimal since the traffic doesn't go online, but circulates directly between devices.