Creating a local network between two computers is one of the most effective ways to quickly transfer large amounts of data, share a printer, or even play a game over a local network without the need for extra cables. In the age of cloud storage, many forget that a direct connection computer-computer Works significantly faster and doesn't rely on your internet speed. You don't need special cables to do this; both devices need to be within range of the same wireless network.
Modern operating systems like Windows 10 and Windows 11 have built-in tools for organizing such interactions, but their settings are often hidden behind several levels of security menus. Router In this setup, the router acts as an intermediary, distributing traffic between devices. It's important to understand that both laptops or desktop PCs must be connected to the same access point, otherwise they simply won't "see" each other in the network environment.
In this article, we'll cover every setup step: from checking basic adapter settings to forwarding ports for games. We won't use third-party software, relying solely on the system's built-in tools, which guarantees stable operation and the absence of resource-consuming background processes. If you plan to frequently share gigabytes of video or collaborate on a shared project, the right setup network configuration will save you hours of time.
Checking requirements and preparing equipment
Before moving on to complex setup, you need to ensure your infrastructure is ready for operation. The basic requirement is obvious: both computers must be equipped with working Wi-Fi modules. These can be built-in adapters in laptops or external USB dongles connected to desktop systems. Make sure your wireless network drivers are up to date, as older versions may not correctly handle broadcast discovery requests.
The network type, which determines the security profile, is critical. Windows treats new connections as "Public" by default, preventing others from seeing your device. You need to change the network status to "Private." You can do this by clicking the Wi-Fi icon in the system tray, selecting the properties of the current connection, and then activating the corresponding toggle.
⚠️ Attention: Never change your network profile to "Private" when connecting to public Wi-Fi in cafes, airports, or hotels. This makes your computer visible to everyone around you, creating a risk of data interception by hackers.
It's also worth checking that network discovery is enabled on both devices. Without this setting, even with the correct IP address, the computers will ignore each other. Users often forget that antivirus software or third-party firewalls can block local traffic, deeming it suspicious, so it's best to temporarily disable them or add an exception for the local subnet during setup.
Configuring IP addresses and TCP/IP settings
For a stable connection within the same subnet, each device requires a unique identifier. Typically, the router assigns these addresses automatically via DHCP, but for reliable communication between two specific PCs, it's better to specify static IP addressesThis will prevent situations where, after rebooting the router, the addresses change and the connection is interrupted.
To access the settings, click Win + R, enter the command ncpa.cpl and press Enter. In the window that opens, find your wireless connection, right-click it, and select "Properties." In the list of components, find "Internet Protocol Version 4 (TCP/IPv4)," select it, and click "Properties."
Here you'll need to manually enter the information. Let's say your router (gateway) address is 192.168.1.1. Then the first computer could be assigned the address 192.168.1.50, and the second computer 192.168.1.51. The subnet mask usually remains the default. 255.255.255.0The primary DNS server can be the router's address or a public DNS, such as Google's (8.8.8.8).
| Parameter | Computer 1 | Computer 2 | Description |
|---|---|---|---|
| IP address | 192.168.1.50 | 192.168.1.51 | The unique address of a device on the network |
| Subnet mask | 255.255.255.0 | 255.255.255.0 | Determines the size of the local network |
| Main gateway | 192.168.1.1 | 192.168.1.1 | Your Wi-Fi router's address |
| DNS server | 8.8.8.8 | 8.8.8.8 | Domain name server address |
After entering the information on both computers, be sure to click "OK" to save the settings. If you're using IPv6, you can configure it in a similar way, but IPv4 is sufficient for most home tasks. Make sure the addresses are in the same subnet: the first three digits should match, but the last three digits should be different.
Configuring sharing settings in Windows
Even with the correct IP addresses, Windows blocks incoming connections by default for security reasons. You need to enable the sharing feature. Open Control Panel, go to Network and Sharing Center, and select Change advanced sharing settings.
In the window that opens, you'll see the "Private" and "Guest or Public" profiles. We're specifically interested in the private profile (since we switched networks earlier). Here, you need to enable the following options: "Turn on network discovery" and "Turn on file and printer sharing." It's also recommended to enable the "Let Windows manage HomeGroup connections" option.
☑️ Access setup checklist
The "All Networks" section deserves special attention. Scroll down to this section. Here you'll find the critically important "Password-protected sharing" setting. If you want to connect without having to enter your username and password each time (convenient for a home network), select "Turn off password-protected sharing."
Be sure to click the "Save Changes" button at the bottom of the page. The system will then apply the new firewall rules. In some cases, a computer restart may be required for the detection services to begin working correctly with the new settings.
Creating a shared folder for data exchange
Now that the network is configured, you need to determine which resources will be accessible. The easiest way is to create a new folder on the drive, for example, call it "Share," and configure its access rights. Right-click the folder, select "Properties," and go to the "Access" tab.
Click the "Advanced Settings" button and check the "Share this folder" box. Below, click the "Permissions" button. By default, the "Everyone" group is set to read-only permissions. If you want to be able to write files from another computer, select the "Everyone" group and check the "Full Control" box.
⚠️ Attention: Granting full access to the "Everyone" group means anyone who connects to your Wi-Fi network can delete or modify files in this folder. Use this setting only in a trusted home environment.
There's also a "Security" tab in the folder's properties. Make sure the "Everyone" or "Home Group" user with the appropriate permissions is added there. Sometimes the "Access" tab allows access, but the "Security" tab blocks write access at the NTFS file system level, so you need to check both.
To test functionality, try copying a test file to this folder. Then, go to the second computer, open File Explorer, and enter the IP address of the first computer in the address bar, for example: \\192.168.1.50If you see your folder and can open the file, then the setup was successful.
What to do if the folder won't open?
If you see an error when navigating to the IP address, try adding the current user account to the folder's permissions list. Enter the username and password of the user you use to log into Windows on the remote computer. Sometimes disabling your antivirus for a couple of minutes to test the settings helps.
Using the command line for diagnostics
If a visual inspection fails, command line tools can help. They allow you to see the real picture of network communication and identify the point at which the connection is being lost. Open a command prompt (cmd) as administrator on one of the computers.
First of all, use the command ping to check the availability of the second device. Enter ping 192.168.1.51 (substituting the current IP of the second PC). If you see responses with response time (for example, time=1ms), this means that the physical connection and underlying protocols are working properly.
ping 192.168.1.51Exchange of packets from 192.168.1.51 to 32 bytes:
32 bytes from 192.168.1.51: bytes=32 time<1ms TTL=128
32 bytes from 192.168.1.51: bytes=32 time<1ms TTL=128
If the response message is "Request timed out," the second computer is either turned off or is blocking ICMP requests (echo replies) with a firewall. In this case, check your Windows Firewall settings and allow incoming ICMP connections.
The command is also useful ipconfig /all, which will display complete information about the network adapter, including the MAC address and current DHCP status. This helps ensure you haven't made a mistake when manually entering the IP address or that the address doesn't conflict with another device on the network.
Solving common connection problems and errors
One of the most common problems is when computers see each other, but access is denied. This is often due to the computer names (NetBIOS) being the same or containing invalid characters. Make sure that the system (Settings → System → About) unique names are given, for example, PC-HOME-1 And PC-HOME-2.
Another common error is a disabled Discovery Resource Publishing service. Click Win + R, enter services.msc and find the Discovery-related services in the list. Make sure the Discovery Function and Discovery Provider Host services are started and running in automatic mode.
If you're using a third-party antivirus (Kaspersky, ESET, Avast), it may have its own firewall that ignores Windows settings. In this case, go to the antivirus settings, find the "Network" or "Firewall" section, and change the network profile from "Public" to "Trusted" or "Home."
⚠️ Attention: Router and operating system settings interfaces may change with updates. If you can't find an option, search for similar names or consult the official documentation from your software manufacturer.
In rare cases, resetting your network settings can help. In Windows 10/11, this can be done via Settings → Network & Internet → Advanced network settings → Reset network. This will delete all saved Wi-Fi passwords and reset the adapters to factory defaults, which often resolves mysterious conflicts.
Is it possible to connect two computers without a router?
Yes, this is possible using Ad-hoc mode, but in Windows 10 and 11 this feature is hidden and requires creating a special batch file or using third-party utilities. It's easier and more reliable to use a router, even if it's not connected to the internet.
Why is file transfer slow?
Speed depends on the Wi-Fi standard (802.11n/ac/ax) and the distance from the router. If both computers are connected to the 2.4 GHz band, speed may be limited to 20-40 Mbps. For higher speeds, use the 5 GHz band.
Do all Windows users need the same password?
No, it's not necessary. However, if password protection is enabled, you'll need to enter the login and password for the account on the computer whose folders you're accessing.
How to turn off the network after use?
Simply switch the network profile back to "Public" in the Wi-Fi settings or temporarily disable the adapter. This will close the ports for external access, but will not remove the folder sharing settings.