In today's digital world, there's often a need to quickly transfer large amounts of data between devices in the same location. Using cloud storage or external drives isn't always convenient due to speed limitations or the lack of physical storage devices. Local area network, created via a wireless connection, allows you to solve this problem instantly, providing high-speed information exchange without unnecessary wires.
operating system Windows 10 offers built-in tools for creating such connections that don't require installing third-party software. However, properly configuring security and network discovery settings often presents difficulties for users. In this article, we'll discuss two main ways to establish a connection: through an existing router and by creating a direct P2P networks (computer-to-computer).
The method you choose depends on your infrastructure: if you have access to a Wi-Fi router, the process will proceed smoothly. If you don't have a router, you'll need to use Ad-hoc mode, which requires more careful IP addressing. Regardless of the method you choose, the result will be a stable connection for file transfers and resource sharing.
Selecting a connection method and preparing equipment
Before you begin setup, you need to determine the topology of your future network. The most common scenario involves a Wi-Fi router to which both laptops connect as clients. In this case, the devices are in the same subnets, and the operating system automatically recognizes them as part of the local environment. This method is the most reliable and requires minimal intervention in system settings.
If a router is unavailable or you are in the field, the only option is to create a direct wireless connection. This mode is often called Ad-hoc Network or "Computer-to-Computer" mode. Here, one laptop acts as a virtual router distributing the signal, while the other connects to it as a regular access point.
It's important to note that to operate in direct mode, the wireless adapters of both devices must support the appropriate standards. Most modern modules Wi-Fi They handle this task without any problems, but on very old models there may be limitations.
⚠️ Attention: When creating a direct network, one of the laptops will drain its battery faster because its adapter is constantly transmitting. It is recommended to connect the device to a power source.
It's also worth making sure your wireless adapter drivers are updated to the latest version. Outdated software may not support access point virtualization features, which will cause errors when attempting to start the network.
Setting up a network via a Wi-Fi router
If both laptops have access to the same wireless network, half the work is already done. You need to make sure the network profile is set to "Private" and not "Public." In the public profile Windows 10 By default, it hides your computer from other devices for security purposes, blocking file sharing capabilities.
To change your profile, open the network settings from the system tray or the Start menu. Go to the properties of your active Wi-Fi connection and select the "Private" network type. This will enable network discovery, which is key for devices to be visible to each other.
Next, you need to enable file sharing. This is done through the Network Connections control panel. Find the "Advanced sharing settings" section and enable network discovery and file and printer sharing. These settings apply to the current private profile.
After applying the settings, the system may ask for confirmation to enable discovery. Accept the prompt to make your computer visible on the local network. Now, when you open File Explorer, other devices should appear in the "Network" section.
Establishing a direct connection (Computer-to-Computer)
If you don't have a router, you'll need to manually create a new network. To do this, open a command prompt with administrator rights on the first laptop. Entering the command to create a hosted network is the first step to setting up a communication channel. Windows 10 This functionality is implemented through a virtual adapter.
Enter the command to create the network, specifying the name (SSID) and password. The name can be anything, but the password must be at least 8 characters long. After executing the command, start the network using the appropriate instructions. The hotspot you created will now appear in the list of available Wi-Fi networks on the second laptop.
After connecting the second device, you need to configure static IP addresses, since in direct connection mode, the DHCP server (automatic address assignment) may not function correctly or may not be present. On both laptops, addresses must be manually entered in the IPv4 protocol properties.
netsh wlan set hostednetwork mode=allow ssid="MyNetwork" key="Password123"
netsh wlan start hostednetwork
On the first laptop, set the IP address 192.168.5.1, mask 255.255.255.0On the second laptop, enter the address 192.168.5.2 with the same mass and gateway 192.168.5.1This will ensure logical connectivity between devices.
⚠️ Attention: The command line interface for creating a hosted network may not be available with some Wi-Fi adapter drivers. In this case, use the "Mobile Hotspot" feature in the default Windows 10 settings.
Check the connection with the command pingIf a response is received from the remote host, the physical and data link layers are functioning correctly, and you can proceed to configuring access to resources.
Setting up shared access to files and folders
A network connection alone doesn't provide access to data. You need to explicitly tell the system which folders or drives you want to make available to the second user. Select a folder, right-click it, and go to Properties.
The "Access" tab contains the "Advanced Settings" button. Check the "Share this folder" box. You can also configure permissions here: allow or deny file modifications to the remote user. For complete freedom, add the "Everyone" user with full permissions.
The second important aspect is permissions at the NTFS file system level. Go to the "Security" tab and ensure that the "Everyone" group or a specific user has read and execute permissions. Without this, even with open network access, the system may block access.
Why is the folder visible but inaccessible?
The problem often stems from the difference between network access permissions and NTFS file system permissions. If there are no permissions for the "Everyone" user in "Security," access will be denied even if "Everyone" is enabled in "Sharing." Add the "Everyone" user to both tabs.
To quickly access shared resources on the second laptop, you can use the Run command (Win + R). Enter the IP address of the first computer in the format \\192.168.5.1 or \\Computer_NameThis will open a File Explorer window with all shared folders.
Solving visibility and access issues
Despite proper configuration, users often encounter a situation where computers cannot see each other in the network environment. The most common cause is the Sharing Helper service. Ensure that the Function Discovery Resource Publishing and Connection Manager services are running and set to Automatic.
Another critical issue is antivirus software. Third-party firewalls can block incoming connections, deeming them suspicious. When debugging your network, it's recommended to temporarily disable your antivirus or add your local network to the trusted list.
Computer name issues can also interfere with the connection. Ensure that both laptop names are unique and written in Latin characters. If the names are the same or contain Cyrillic characters, name resolution conflicts may occur on the network.
| Problem | Possible cause | Solution method |
|---|---|---|
| "Access Denied" error | Invalid NTFS permissions | Add the "Everyone" user to the "Security" tab |
| Computers are not visible | The discovery service is disabled. | Start the Discovery Resource Publishing service |
| Password prompt upon login | Password protection is enabled | Turn off "Password-protected sharing" in Control Center |
| Unstable speed | Wi-Fi channel interference | Change your router channel or switch to 5 GHz |
To diagnose problems, use the built-in network troubleshooting tool. It will automatically check the adapter's basic settings and flush the DNS cache, which often helps restore the connection.
Alternative methods of data transfer
If standard Windows tools are causing problems, you can turn to proven third-party solutions. Programs like TeamViewer or AnyDesk They allow not only screen control but also file transfer via a special module. However, they require software installation on both devices and an internet connection for authorization.
Another modern method is to use the Nearby Sharing feature in Windows 10. This technology works on top of Bluetooth and Wi-Fi, allowing you to transfer files and links between nearby Microsoft devices simply by pressing the "Share" button. Bluetooth and discoverability must be enabled on both laptops.
For professionals working with large volumes of data, FTP servers are essential. Installing a simple FTP server on one laptop allows another to connect to it as a network drive, with high speed and a user-friendly access rights management interface.
⚠️ Attention: When using third-party software or opening ports for FTP, ensure you are on a trusted network. On public Wi-Fi hotspots, doing so could make your data vulnerable to interception.
The choice of method depends on the frequency of use and the volume of data being transferred. For one-time photo transfers, Bluetooth or the cloud are suitable, while for ongoing project management, it's better to set up a static SMB folder.
☑️ Connection Checklist
Questions and Answers (FAQ)
Why doesn't the second laptop see the first one, even though both are connected to Wi-Fi?
Most likely, the network profile is set to "Public." In this mode, Windows blocks the device's visibility. Go to Wi-Fi settings and change the profile to "Private." Also, check that network discovery is enabled in the Network and Sharing Center.
What is the maximum data transfer speed for Wi-Fi Direct?
Speed depends on the Wi-Fi standard (n, ac, ax) and the distance between devices. Under ideal conditions, 5 GHz can achieve speeds of 50 to 200 Mbps or more, which is significantly faster than Bluetooth but slower than wired Gigabit Ethernet.
Do I need to know the IP address to connect?
For access via "Network Neighborhood," the computer name is usually sufficient. However, if names are not resolved, directly entering the IP address into the address bar of File Explorer (e.g., \\192.168.1.5) is the most reliable way to access a shared folder.
Is it possible to play games on such a network?
Yes, many old and modern games support LAN (Local Area Network) mode. If computers can see each other online and the ping is correct, you can create local servers for offline multiplayer play.