Modern users often need to quickly transfer files, photos, or documents between devices. Using flash drives or cloud storage isn't always convenient, especially when large amounts of data need to be transferred or shared resources on a local network need to be accessed. Therefore, the question of how to connect two computers via WiFi remains relevant for home appliance owners and small offices.
The advantage of a wireless connection is the lack of cables, which preserves the aesthetics of the room and allows for the movement of devices within the router's range. However, despite its apparent simplicity, the setup process requires careful attention to details, such as network type, sharing settings, and firewall settings. In this article, we'll cover all the steps involved in establishing a stable connection.
To successfully implement this plan, you'll need a working Wi-Fi router that distributes internet and two computers (a laptop or a PC with an adapter) on the same network. It's important that both devices are connected to the same router, as direct computer-to-computer connections without a router (Ad-hoc mode) are more complex and less stable in modern versions of Windows.
Checking basic settings and network type
The first and most critical step is correctly classifying your network by the operating system. By default, Windows considers new connections public, hiding your PC from other devices for security reasons. To connect computers, you need to change the network profile to "Private." This can be done through the Network and Sharing Center or Wi-Fi settings.
Go to your network settings and ensure the current connection is set to "Private." This will allow your computer to be discoverable by other devices. Skipping this step may render any further sharing actions useless, as the system will block incoming requests.
You also need to make sure both computers are on the same subnet. This means the first three numbers of their IP addresses should match, and only the last number can differ. Typically, the router automatically assigns addresses via DHCP, but sometimes it's worth checking the TCP/IPv4 protocol settings.
Make sure network discovery is enabled on both devices. Without it, the computers simply won't see each other in the list of available devices, even if they're in the same room and connected to the same router.
⚠️ Caution: If you're in a public place (cafe, airport, hotel), never switch your network to "Private" mode. This will make your files vulnerable to attacks from other users on that network.
Setting up sharing options
Once the network type has been changed, you should proceed to fine-tune the sharing settings. This section (of the Control Panel) allows you to fine-tune which resources can be accessed by other users and how. Ignoring these settings is the most common cause of connection errors.
You need to enable network discovery and file and printer sharing. These options are located in the advanced sharing settings. Also, pay attention to password protection. If you want easier access and don't need to enter your username and password each time, you can disable it, but this will reduce the security of your local network.
For those who value security, it's recommended to leave password protection enabled. In this case, to log in to the other computer, you'll need to enter the credentials of the user whose folder you want to open. Make sure both computers have passwords for their accounts, otherwise authorization conflicts may occur.
- 📁 Open Control Panel and go to Network and Sharing Center.
- 🔍 Click the "Change advanced sharing settings" link on the left.
- ✅ Turn on network discovery and file sharing for the current profile.
- 🔒 Decide whether you need password protection (enable or disable).
Remember to save your changes after each action. The system may require administrator privileges to make changes to these settings. If the "Save Changes" button is disabled, check if the Print Spooler and SSDP Discovery services are running.
Creating a shared folder for data exchange
Now that the network infrastructure is ready, you need to create a location to store the files you want to share. You can share any existing folder or create a new one specifically for this purpose. This is the easiest way to understand how to connect two computers via WiFi to transfer documents.
Select the folder, right-click it, and go to Properties. The "Access" tab is the one you're interested in. Here, click "Advanced" and check "Share this folder." You can also configure permissions: read-only or full control, allowing another user to modify and delete files.
An alternative and more modern method is to use the "Public Folders" feature. Files placed in this system directory are automatically accessible to all computer users and, if the network is configured correctly, to other computers. This is convenient for quickly sharing temporary files.
☑️ Checking folder sharing
If you plan to transfer large amounts of data, such as 4K video, make sure the folder is located on a drive formatted with the NTFS file system. The older FAT32 file system has a 4GB file size limit, which may prevent large file transfers.
Connecting to another computer by IP address
Sometimes automatic discovery fails, and computers don't appear in the network neighborhood. In this case, the most reliable method is to connect directly via IP address. This bypasses discovery protocol issues and allows you to access the resource directly.
First, find out the IP address of the target computer. Open the command prompt (cmd) on it and enter the command ipconfigWrite down the address, which looks like 192.168.1.XX. Then, on the second computer, open File Explorer and enter this address in the address bar, preceded by two backslashes, like this: \\192.168.1.45.
After pressing Enter, the system will attempt to connect to the specified host. If security settings allow it, you'll see a list of shared folders on this computer. This method is more reliable than searching through the "Network" feature, as it doesn't rely on detection services, which can be blocked by antivirus software.
If the system prompts you for a username and password when you try to log in, enter the user account information for the remote computer. If you previously disabled password protection, login should occur automatically. If access is denied, check to see if Windows Firewall or a third-party antivirus is blocking the connection.
What to do if the IP address changes?
A static IP address solves the problem. Go to the adapter properties, select TCP/IPv4, and enter the address manually so it doesn't change after a router reboot.
Using Shared Folders and HomeGroup
Older versions of Windows had a feature called "HomeGroup," which made network creation much easier. However, in Windows 10 and 11, it was deprecated in favor of more flexible, but less automated, settings. Nevertheless, the basic principle of "Shared Folders" remains and is successfully used.
To enable shared folders, you can disable guest access for password-protected shared folders using the registry or group policies. This increases security by requiring mandatory authorization. In modern Windows 10/11 builds, the "Public Folder Sharing" feature is emphasized.
To enable this feature, go to Settings → Network & Internet → Wi-Fi → Manage known networks → Properties. Make sure the "Search for devices and content" toggle is turned on. This is the same as the old network discovery feature, adapted for newer OS versions.
Using built-in Windows mechanisms is preferable to installing third-party software for simple file sharing. This reduces the system load and reduces potential vulnerabilities, as you don't install unnecessary services and ports.
Solving common connection problems
Even if you follow all the instructions, errors may still occur. Often, the problem lies in Windows services that are disabled by default. For example, the Function Discovery Resource Publishing service must be running for computers to display correctly on the network.
Another common issue is different time zones or out-of-sync clocks on computers. Security protocols can block the connection if the clocks on both devices differ by more than 5 minutes. Check the date and time settings on both computers.
Antivirus software often views the local network as a potential threat. If all else fails, try temporarily disabling the firewall or antivirus on both computers to test. If the connection is established, you'll need to add an exception to the firewall rules for the private network.
⚠️ Note: Windows settings interfaces may differ depending on the version (Home, Pro, Enterprise) and the year the update was released. The layout of menu items may be changed by the developer.
The table below will help you systematize the main causes of failures and methods for eliminating them:
| Problem | Possible cause | Solution |
|---|---|---|
| Computers can't see each other. | The network is marked as "Public" | Change the network profile to "Private" |
| Password is requested | Password protection is enabled | Enter user data or disable protection |
| Access Error 0x80070035 | Invalid network name or path | Check PC name and use IP address |
| Low transmission speed | Weak Wi-Fi signal | Move closer to the router or use 5 GHz |
Questions and Answers (FAQ)
Is it possible to connect two laptops without a router?
Yes, this is possible by creating a wireless ad-hoc network. However, in Windows 10 and 11, this functionality is hidden and requires configuration via the command line or creating a mobile hotspot, which is less convenient for constant file sharing.
Why is file transfer slow?
Speed depends on the Wi-Fi standard (802.11n/ac/ax), distance from the router, and the number of obstacles. Speed may also be limited by hard drive performance or bandwidth congestion from other devices.
Is it safe to share C drive?
Sharing your entire system drive is strongly discouraged. This creates a massive security hole. It's best to share only one specific folder containing the files you want to transfer.
How do I find out my computer name to connect to?
The computer name can be found in Settings → System → About. It is also displayed in the This PC properties window.