Creating a local network between two computers without unnecessary wires is a challenge faced by many users who want to quickly transfer gigabytes of data or share peripherals. In the era of cloud storage, a direct connection is often faster and more reliable, especially when the internet connection is busy or unavailable. Modern operating systems, such as Windows 10 And Windows 11, offer built-in tools for organizing such interactions, but setting them up requires an understanding of the basic principles of network protocols.
Before you begin any software configuration, you need to make sure both devices are physically capable of supporting a wireless connection. This means that each computer must have a working Wi-Fi adapter, and the drivers for it are installed correctly. It's important to understand that to create a fully functional local area network (LAN), both computers must be connected to the same router, or one of them must act as an access point. In this article, we'll cover all the setup details, from hardware testing to fine-tuning access rights.
It's worth noting that the data transfer speed in such a network directly depends on the wireless standard your devices support. If the router operates within the range 5 GHz and supports the standard Wi-Fi 6, then file exchange will occur almost instantly. At the same time, using the outdated range 2.4 GHz This can significantly reduce performance, especially in noisy environments like those found in apartment buildings. Proper network configuration will allow you to not only transfer files but also play online games or stream media to other screens.
Checking equipment and preparing for connection
The first step to establishing a stable connection is to audit the technical status of your devices. Make sure both computers can see the wireless networks and connect to the internet. If one of the devices, such as a desktop PC, doesn't have a built-in Wi-Fi module, you'll need to purchase an external USB adapter. Drivers for such devices are often installed automatically, but to ensure proper operation, it's best to download the latest version from the manufacturer's website.
A critical point is that both computers belong to the same subnet. This means they should receive IP addresses from the same router. You can check this by opening the command prompt and entering the command ipconfig. Pay attention to the line "Default gateway" - if the first three groups of numbers in the gateway address are the same on both computers (for example, 192.168.1.1), then the physical basis for the network is laid correctly.
It's also worth checking the network type assigned by the operating system when you first connect. By default, Windows may classify the network as "Public," which automatically blocks the computer's visibility to other devices for security reasons. We need to change this profile to "Private" to allow discovery. This can be done through the network settings in the system tray or through the Control Panel.
Configuring network settings in Windows
After confirming the physical connection, you need to proceed to software configuration. The operating system must be ready to accept incoming connections and allow other devices to see it in the network environment. This process is called enabling network discovery. Without this step, computers will be "blind" to each other, even when on the same Wi-Fi network.
To change the settings, go to the Control Panel and select "Network and Sharing Center." Here, find "Change advanced sharing settings." In the window that opens, you'll see profiles for different network types. Make sure you're in the "Private (current profile)" section and enable the following features:
- 📡 Turn on network discovery - allows the computer to see other devices and be visible to itself.
- 📂 Enable file and printer sharing — allows you to work with PC resources from outside the computer.
- 🔐 Let Windows manage HomeGroup connections - optional, but useful for automation.
Be sure to also check the settings for the "All Networks" profile. This is where you'll find an important setting regarding passwordless access. If you're in a secure home environment, you can enable the "Turn off password-protected sharing" option. This will make connecting easier, but if others can access your network, it's best to leave password protection enabled and use user credentials.
After making all changes, be sure to click "Save Changes." The system may require a reboot or simply apply the settings in the background. If you use a third-party antivirus or firewall, check its settings—sometimes they block local connections, considering them suspicious activity, even if Windows settings are correct.
Creating a shared folder and setting access rights
Now that the network infrastructure is ready, you need to determine what data will be available for exchange. The easiest way is to create a new folder on the disk, for example, and name it Share or "Share" and set up special rights for it. Right-click the folder, select "Properties" and go to the "Access" tab.
In this section, click the "Sharing" button and select the "Everyone" user from the drop-down list (or All). Add it to the list and set the permission level. For full functionality, you usually need to set the permissions to "Read and Write," which will allow you to not only retrieve files from your computer but also upload new ones. After confirming the changes, the system may warn you about security measures. We agree, as we're working in a trusted environment.
⚠️ Attention: Granting full write permissions to a shared folder means anyone connected to your Wi-Fi network can delete or modify files in that directory. Avoid storing critical documents there without backups.
There's also an advanced configuration method via the "Security" tab in the folder properties. Here, you can specify in more detail which actions are allowed for the "Everyone" group or a specific user. If the system requires a password when attempting to access the folder from another computer, ensure that an account with a password has been created on the receiving computer, or that password protection is disabled in the "All Networks" profile, as mentioned earlier.
☑️ Checking shared folder settings
Connecting to a network resource from another PC
Once the first computer is configured and shared, move on to the second device. Open File Explorer and find "Network" in the left navigation panel. If network discovery is enabled correctly, you should see the name of the first computer in the list of available devices. Double-clicking on the name will grant access to the shared resources.
In some cases, computers may not automatically appear in the "Network" list despite the correct settings. This is a known issue with the SMB protocol in modern versions of Windows. In this situation, the solution is to connect by IP address. Find out the IP address of the first computer (command ipconfig), then in the address bar of the second computer's Explorer, enter this address, preceded by two backslashes, for example: \\192.168.1.55.
After entering the address, the system will prompt you for credentials unless password protection has been disabled. Enter the username and password of the user you logged in with on the first computer. If everything is correct, you will see an open folder. For easy, permanent use, you can right-click the folder and select "Mount as network drive." This will allow you to access the resources on the first computer as a regular local drive (e.g., Z:).
What to do if Windows says "Cannot access..."
Often, the problem lies with the SMB 1.0 service. Go to "Turn Windows features on or off" and ensure that SMB 1.0/CIFS support is enabled (although this is less secure, it's necessary for older devices). Also, check that the "Function Discovery Resource Publishing" service is running.
Setting up a gaming LAN connection and multimedia
Connecting two computers via Wi-Fi opens up opportunities not only for file sharing but also for playing together. Many games, both old and new, support local area network (LAN) mode, allowing you to play together without the lag typical of online modes and without the need for separate accounts. To do this, simply launch the game on both PCs and select "Network Play" -> "LAN" from the menu.
Furthermore, the configured network is ideal for setting up a media server. You can stream videos or music stored on a powerful desktop computer directly to a laptop or media player connected to a TV. This is achieved using technologies DLNA or built-in streaming features in Windows Media Player and applications like VLC.
When organizing your gaming experience, it's important to consider ping. Wireless connections always introduce a slight delay compared to cable connections. For first-person shooters, this can be critical. If you experience lag, try moving your computers closer to the router or switching to a Wi-Fi channel with less traffic.
| Parameter | Cable connection (Ethernet) | Wireless (Wi-Fi 5 GHz) | Wireless (Wi-Fi 2.4 GHz) |
|---|---|---|---|
| Stability | Maximum | High | Average |
| Maximum speed | 1000 Mbps and above | up to 866 Mbps | up to 150-400 Mbit/s |
| Latency (Ping) | 1-2 ms | 5-15 ms | 20-50 ms |
| Convenience | Requires cable installation | Mobility | Mobility |
Diagnosis and troubleshooting of common errors
Despite its apparent simplicity, the setup process can encounter a number of obstacles. The most common issue is that computers can't see each other. In this case, first check whether the "Function Discovery Resource Publication Host" service is enabled. You can find it in the list of services by entering the command services.msc in the "Run" menu. Make sure it's running and set to start automatically.
Another common cause of failures is incorrect DNS or network cache functionality. Try resetting your network settings by running the following command in the command prompt (run as administrator): ipconfig /flushdnsIt's also a good idea to check if your antivirus software is blocking your private network. Temporarily disable your firewall for diagnostics. If the network works again, add an exception rule for the local profile.
⚠️ Attention: Windows settings interfaces and service names may vary slightly depending on the operating system version and installed updates. If you can't find a specific item, use the system settings search.
If you are trying to connect computers of different generations of Windows (for example, Windows 10 And Windows 7), SMB protocol version conflicts may occur. On newer systems, support for older protocols is disabled by default for security reasons. Enable SMB 1.0 support only if you are confident in the security of your local network and the methods for establishing communication.
Frequently Asked Questions (FAQ)
Is it possible to connect two computers via Wi-Fi without a router?
Yes, this is possible. One computer must create a direct wireless connection (Computer-to-Computer or Ad-Hoc mode), and the other must connect to it. However, in Windows 10/11, this feature is hidden and more difficult to implement than using a router. It's easier to use the Mobile Hotspot feature on one PC, turning it into an access point.
Why is file transfer so slow?
Speed depends on the Wi-Fi standard, distance from the router, and the amount of interference. Make sure both devices are operating in the 5 GHz band. Speed may also drop if one of the computers is running heavy background processes or if an antivirus is scanning every transmitted byte in real time.
Is it safe to keep password protected sharing turned off?
This is only safe if you are 100% sure that no one else can connect to your Wi-Fi network (use a complex WPA2/WPA3 password and hide the SSID). Leaving access without a password is strictly not recommended in public places or offices.
How do I disable a shared folder I've created?
To do this, return to the shared folder's properties, go to the "Sharing" tab, click "Advanced Settings," and uncheck "Share this folder." Also, remember to disable network discovery in your network profile if you no longer plan to use the local network.