In today's digital world, situations often arise where you need to quickly transfer gigabytes of data from one device to another, but you don't have a flash drive or network cable at hand. Using cloud storage in such cases can take too long due to internet speed limitations. This is where technology that creates a local network directly through a wireless adapter comes in handy, enabling high-speed data exchange.
Connecting two or more laptops into a single infrastructure without a router isn't magic, but a standard operating system feature available to every user. Local area network This type of technology opens the door not only to instant file transfers, but also to printer sharing or even setting up a local gaming server. Understanding how this technology works eliminates dependence on third-party equipment and allows you to maximize the efficiency of your existing hardware.
In this article, we'll cover every detail of setup, from checking your hardware to troubleshooting common connection errors. You'll learn how to turn your laptop into an access point or find a neighboring device on the shared network, ensuring a stable and secure connection. Being ready to go and paying attention to detail are key to a successful setup.
Required equipment and compatibility check
Before you begin software configuration, you need to ensure that your plans are technically feasible. The main requirement is the availability of working hardware. Wi-Fi adapters on all devices that you plan to connect. Modern laptops typically come equipped with built-in 802.11n, 802.11ac, or newer modules, which guarantee high data transfer rates.
It's important to understand that creating a computer-to-computer (Ad-Hoc) network or access point mode doesn't require an active internet connection. The adapters will operate in direct mode, using their own radio frequency resources. However, if one of the laptops is very old and only supports the 802.11b standard, the overall network speed may be limited by that slower segment.
- 📡 Each laptop must have a working Wi-Fi module.
- 🔋 Ensure your battery has sufficient charge or that your device is connected to a power outlet, as Wi-Fi consumes energy.
- 📶 The devices must be within line of sight or no more than 10-15 meters from each other.
⚠️ Important: Make sure that Airplane mode is not enabled on laptops, as this completely blocks wireless functionality even if the Wi-Fi indicator is on.
Setting up a network via a mobile hotspot in Windows 10 and 11
The easiest and most modern way to connect laptops is to use the built-in function Mobile Hotspot (Mobile hotspot). This method turns one laptop into a virtual router, to which the second one connects as a regular access point. This approach eliminates complex command line manipulation and works reliably on most modern systems.
To get started on the first laptop that will be sharing the network, you need to go to the settings menu. Open Settings → Network & Internet → Mobile HotspotHere you should select a connection source (even if there is no internet connection, select any available adapter) and set a network name, as well as a password to protect against unauthorized access.
After enabling the function on the second device, you need to find the created network in the list of available connections and enter the set password. Security protocol WPA2, the default setting, will ensure encryption of transmitted data. Once the status changes to "Connected," the operating system will assign IP addresses to devices on the same subnet, which forms the basis for further data exchange.
☑️ Checking hotspot settings
Creating an Ad-Hoc network using the command line
For users who prefer traditional methods or lack the mobile hotspot feature in older OS versions, there's an option to create a computer-to-computer network via the console. This method requires entering special commands and offers more flexible control over the network parameters. Command line Allows you to set a specific channel and security type manually.
Launch Terminal as administrator and enter the command to create a network profile. The syntax is as follows:
netsh wlan set hostednetwork mode=allow ssid=MyNetwork key=Password123 keyUsage=persistent
After successfully creating the profile, the network must be started with the command netsh wlan start hostednetworkOn the second laptop, a new connection with the specified name will appear in the list of wireless networks. MyNetworkEntering the password will establish a connection, after which the Microsoft Wi-Fi Direct Virtual Adapter, responsible for network operation, may appear in the Device Manager.
What to do if the network is not created?
If an error occurs when running the command, it's possible that your Wi-Fi adapter driver doesn't support hosted network mode. Try updating the drivers from the manufacturer's website or using an external USB Wi-Fi dongle.
Configuring file and folder sharing
Simply connecting devices over the air isn't enough to see each other's files. Sharing policies in the operating system must be configured correctly. Without this step, computers will be "blind" to each other's resources, despite an active connection. Network discovery - This is a key parameter that needs to be activated.
Open Control Panel and go to Network and Sharing Center. Select Change advanced sharing settings. In the profile labeled "Current profile" (usually a Private network), enable network discovery and file and printer sharing.
It's also worth paying attention to password settings. If you're in a trusted home environment, you can disable password-protected access to simplify login. However, if security is a priority, it's best to leave this option enabled and use user credentials to log in to the remote computer.
| Setting parameter | Recommended value | Impact on work |
|---|---|---|
| Network discovery | Turn on | The PC becomes visible in the list of devices |
| File sharing | Turn on | Allows reading and writing of data |
| Password-protected access | Disable (for home) | Simplifies connection without entering login |
| Connecting via HomeGroup | Allow | Using a simplified sharing protocol |
After applying the settings, the system may require a reboot or changing the network type from "Public" to "Private." This is critical, as Windows blocks most incoming connections in the public profile for security reasons.
Expanding capabilities: games and multimedia
A well-organized local network opens up possibilities far beyond simply transferring documents. Gamers can appreciate creating a local server for multiplayer games without the lag typical of online modes. Local multiplayer ensures minimal ping, since traffic does not go beyond your room.
For media lovers, sharing a folder with movies or music allows you to stream content to other devices. Using the protocol DLNA Or, by simply opening a folder over the network, you can start a movie on one laptop and control playback or output audio to another device. This turns a set of laptops into a complete media system.
- 🎮 Organization of online gaming tournaments (Counter-Strike, Minecraft, Warcraft 3).
- 🎬 Create a home media server for video streaming.
- 🖨️ Use one printer connected to any laptop on the network.
Diagnosing problems and troubleshooting connection errors
Despite the simplicity of setup, users may encounter situations where computers cannot communicate with each other. Most often, the problem lies in firewall or antivirus settings that block incoming connections. Windows Firewall may consider the new network to be potentially dangerous and prohibit the exchange of data packets.
Make sure your firewall rules allow connections for "File and Printer Sharing." You should also make sure both computers are in the same workgroup. By default, this is the workgroup in Windows. WORKGROUP, and changing the name on one of the PCs may disrupt visibility.
⚠️ Note: Third-party antivirus programs (Kaspersky, ESET, Avast) often have their own built-in firewalls that may override Windows settings. Try temporarily disabling network protection in your antivirus to test.
If the problem persists, try resetting your network settings. In Windows 10 and 11, you can do this via Settings → Network & Internet → Advanced network settings → Reset network. This will delete all saved Wi-Fi profiles and reinstall your network adapters, which often helps fix software issues.
Frequently Asked Questions (FAQ)
Is it possible to create a Wi-Fi network if one laptop is already connected to the Internet via Wi-Fi?
Technically, most standard Wi-Fi adapters can't simultaneously receive internet from a router and broadcast their own network on the same frequency. However, if a laptop has two adapters (for example, built-in Wi-Fi and an external USB adapter), this is possible. Otherwise, the laptop will need to be reconnected.
What is the maximum file transfer speed on such a network?
Speed is limited by the capabilities of your Wi-Fi equipment. For the 802.11n standard, actual speeds will be around 20-30 Mbps, while for 802.11ac, they can reach 50-100 Mbps and higher. This is significantly faster than Bluetooth, but slower than a Gigabit Ethernet cable.
Is it safe to transmit personal data over such a network?
Yes, as long as you set a strong password (WPA2) when creating the hotspot. Traffic within your local network is encrypted. However, it is not recommended to use public Wi-Fi networks to create such connections without additional security measures.
Does this method work between Windows and macOS?
Yes, macOS also supports computer networking. However, setting up file sharing between Windows and Mac requires additional configuration of the SMB protocol on the Mac and entering the correct credentials when connecting.