How to Connect Two Computers to a Wi-Fi Network: A Complete Guide

Organizing local interaction between devices is a basic skill for any user, whether an office worker or a gamer. Connect two computers via Wi-Fi It's essential for quickly transferring large files, sharing a printer, or organizing network storage without unnecessary wires. Modern operating systems, such as Windows 10 and 11, have built-in tools for this, but their functionality is often hidden behind layers of security settings.

Unlike a wired connection, a wireless network requires precise configuration of discovery protocols and firewall rules. To create a stable connection, you must correctly identify the network type and configure sharing settings. Ignoring these steps will result in devices simply not seeing each other in the list of available nodes, despite connecting to the same access point.

In this article, we'll cover two main scenarios: connecting through an existing router and creating a direct network (computer-to-computer). You'll learn how to set them up correctly. Private network, open ports for file sharing and avoid typical errors when the system blocks the connection for security reasons. The key to success is that both devices are on the same subnet (e.g. 192.168.1.X), which is automatically achieved when connected to the same router.

Preparing equipment and checking drivers

Before beginning software setup, ensure the hardware is ready for use. Both computers must be equipped with working Wi-Fi adapters. Desktop computers often use USB dongles or PCIe cards, while laptops have built-in modules. Make sure the drivers for these devices are up-to-date, as older software versions may not work correctly with network discovery.

Check the adapter's status in Device Manager. The absence of yellow exclamation marks indicates normal operation. If you plan to transfer large amounts of data, it's a good idea to check whether your adapter supports the standard. 802.11ac (Wi-Fi 5) or 802.11ax (Wi-Fi 6), since the transmission speed of the old standard 802.11n may be a bottleneck.

It's also important to ensure both computers have the latest Windows updates installed. Microsoft regularly releases patches to fix vulnerabilities in the SMB protocols used for file sharing. Missing updates on one of the nodes can lead to protocol version conflicts and an inability to establish a connection.

  • 📡 Make sure your Wi-Fi adapters are enabled and can see networks.
  • 💾 Update your network card drivers to the latest version from the manufacturer's website.
  • 🔄 Check for current operating system updates.
  • 🔌 Make sure both devices are within range of the router's signal.

If you use corporate laptops, ensure that antivirus software or group policies don't block local connections. Such restrictions are rare at home, but third-party firewalls (such as those from Kaspersky or ESET) can intercept network control.

☑️ Network readiness check

Completed: 0 / 4

Setting the network type: Private or Public

The most critical step, where most errors occur, is selecting a network profile. When you first connect to Wi-Fi, Windows asks, "Do you want to make this computer discoverable?" To create a local network you must select the answer "Yes", which will assign the network "Private" status. In this mode, the system allows discovery of other devices and opens the necessary ports.

If a network is marked as "Public," Windows enforces strict security rules, hiding your computer from others and blocking incoming connections. You can check and change the current profile through the system settings. This action fundamentally changes the traffic filtering rules of the built-in firewall.

To change your profile, go to the network settings menu. Find your Wi-Fi connection properties and switch the radio button to "Private." The system will then reset the rules and allow other computers to see your device as available for connection.

⚠️ Attention: Never select the "Private" profile if you're connected to Wi-Fi in a cafe, airport, or hotel. This makes your computer visible to attackers on the same network.

In some cases, especially after major Windows updates, the profile may reset to "Public" automatically. Therefore, if your network disappears, check this setting first. In Windows 11, the path to the setting may look different, but the logic remains the same: Network Properties -> Profile -> Private.

Creating a local network via a router

The most common and stable method is to use a Wi-Fi router as a central hub. Both computers connect to the same wireless network, receiving IP addresses from the same subnet. The router acts as a switch, distributing traffic between devices. You don't need to create any additional virtual adapters.

Make sure both computers are connected to your router's Wi-Fi network, not to the guest network (if it's isolated). Guest networks often have an AP Isolation feature that prevents devices within the network from communicating with each other. This is a protective measure for guests, but it hinders the creation of a local network.

Once connected, check the IP addresses. They should all start the same, for example, 192.168.0.15 And 192.168.0.20If the prefixes match (the first three numbers), the devices are in the same segment and can see each other. The difference in the fourth number is the unique identifier for each device.

Parameter Computer A (Server) Computer B (Client) Meaning
IP address 192.168.1.10 192.168.1.15 Dynamic (DHCP)
Subnet mask 255.255.255.0 255.255.255.0 Standard Class C
Gateway 192.168.1.1 192.168.1.1 Router address
Protocol IPv4 IPv4 Basic

If automatic address acquisition doesn't work or addresses are assigned from different subnets (which can happen in complex mesh systems), manual IP configuration may be necessary. However, for most home routers, simply connecting both devices to the same SSID is sufficient.

📊 What equipment do you use?
One powerful router
Mesh system of several points
Old ISP router
Modem with Wi-Fi function

Setting up a direct network (Ad-Hoc or Computer-to-Computer)

There's a scenario where a router isn't available or isn't possible. In this case, you can connect two computers directly by turning one into an access point. In Windows 10 and 11, this feature is implemented via a mobile hotspot. One computer distributes Wi-Fi, and the other connects to it as if it were a regular router.

To enable this feature on the first PC, go to Settings and select "Mobile Hotspot." Select a connection source (e.g., Ethernet or another Wi-Fi network, if the adapter supports both) and set a network name. Once enabled, the hotspot will appear in the list of available networks on the second computer.

This method is convenient for temporary file transfers, but it has limitations. Speeds may be lower than when connecting through a full-fledged router, as the Wi-Fi adapter operates in emulation mode. Furthermore, the laptop sharing the network will drain its battery faster.

In older versions of Windows or for specific tasks, you can use ad-hoc networking via the command line, but in today's world, a mobile hotspot is a more reliable and simple solution. It will automatically configure the necessary DHCP and NAT settings.

⚠️ Attention: When using a mobile hotspot, the antivirus software on the receiving computer may classify the network as "Public." Be sure to change the profile to "Private" immediately after connecting.

Setting up shared access to files and folders

Once the network connection is established, you need to enable data sharing. By default, Windows blocks access to drives. You need to enable sharing for specific folders. Open File Explorer, find the desired folder, right-click it, and select Properties -> Sharing tab.

Here, you can click the "Sharing" button and select users who can access it, or select "Everyone" for simplicity (on a home network). A more advanced option is "Advanced Setup," where you can check the "Share this folder" box and set permissions (read or read/write).

It's also important to check your global network settings. In Control Panel, go to "Network and Sharing Center" -> "Change advanced sharing settings." In the "Private" profile, "Turn on network discovery" and "Turn on file and printer sharing" should be enabled. Without these checkboxes, your computer will be invisible.

  • 📂 Open the folder properties and go to the Sharing tab.
  • 👥 Add the "Everyone" user or a specific system user.
  • 🔐 Set permissions: read-only or full access.
  • ✅ Click "Share" and remember the network path.

To access a shared folder from another computer, open File Explorer and enter in the address bar \\ComputerName or IP addressIf everything is configured correctly, you will see the available resources. If the system asks for a username and password, use the credentials of the user on the computer where the folder is located.

What should you do if you are asked for a password but don't want to enter it?

In the advanced sharing settings, you can enable the "Disable password-protected sharing" option. However, this reduces network security, allowing any connected device to access your files without authorization.

Solving common access problems and errors

Even with proper configuration, errors such as "Windows cannot access..." or "You do not have access rights" may still occur. The problem is often related to Windows services. Make sure the "Function Discovery Resource Publishing" and "Discovery Library Host" services are started and running in automatic mode.

Another common cause is a name conflict. No two computers on a local network can have the same name. Check the name of each computer in the system (Settings -> System -> About) and ensure they are unique. Also, make sure they are in the same workgroup (by default, this is WORKGROUP).

A firewall may block the connection even if the network profile is private. Try temporarily disabling the firewall to test. If the network works, create an exception rule for the SMB protocol (ports 445, 139) instead of disabling protection completely.

⚠️ Attention: Windows settings interfaces may vary depending on the build version (21H2, 22H2, etc.). If you don't find the described option, search in the Start menu using keywords, such as "manage network connections."

If all else fails, try resetting your network settings. In Windows 10/11, this can be done via Settings -> Network & Internet -> Advanced network settings -> Network reset. This will delete all saved Wi-Fi passwords and reset your network adapters to factory settings, which often resolves mysterious issues.

Questions and Answers (FAQ)

Is it possible to connect computers if one is on Windows 10 and the other is on Windows 7?

Yes, this is possible. However, Windows 7 disables the SMBv1 protocol by default. It was required for older networks, but in Windows 10/11, it's disabled for security reasons. You'll need to enable SMB 1.0/CIFS support in Windows Features on the new computer, or, better yet, set up SMBv2/3 sharing, ensuring Windows 7 has the latest updates.

What is the maximum file transfer speed over Wi-Fi in a local network?

Speed ​​depends on the Wi-Fi router standard and adapters. For the 802.11n standard (Wi-Fi 4), actual speeds will be around 20-40 Mbps. The 802.11ac standard (Wi-Fi 5) allows for speeds of 80-100 Mbps and higher with a strong signal. This is significantly slower than a gigabit cable (100+ Mbps), but sufficient for watching videos and working with documents.

Is it safe to keep folder sharing enabled all the time?

If you're on a home network with a strong Wi-Fi password and the network profile is set to "Private," the risks are minimal. However, if your Wi-Fi could be accessed by others, it's best to disable sharing in the network settings when not in use or use complex passwords for user accounts.

Why is my computer visible on the network, but folders won't open?

The issue is most likely with NTFS permissions. Even if you've shared the folder, the user may not have read permissions at the file system level (see the "Security" tab in the folder properties). Add "Everyone" or a specific user to the permissions list on the "Security" tab with "Read and Execute" permissions.