Creating a local network between two computers running an operating system Windows 7 Wireless communication is a classic solution for sharing files, playing online games, or sharing a printer. Although support for this operating system has officially ended, many users still successfully exploit its capabilities for home computing. local interactionThe setup process does not require extensive programming knowledge, but it does require precise adherence to the sequence of actions in the network connections menu.
The basis for connecting two devices is a working wireless adapter on each computer and, typically, a Wi-Fi router, which acts as an access point and traffic distributor. In rare cases, it is possible to establish a computer-to-computer (Ad-hoc) connection without a router, but this method is less stable and has data transfer speed limitations. For most users, the optimal solution is to use a standard home wireless network infrastructure, where the router takes over the functions. DHCP servers, automatically assigning addresses to devices.
Before changing settings, make sure the wireless adapter drivers are installed correctly and both devices can see your home network. It's also important to understand that for successful data exchange, the security settings and network type must be identical on both devices. The key point is to select the network type "Home network" or "Business network", since the "Public network" profile blocks the computer from being detected by other devices.
Checking hardware and drivers
The first step to establishing a stable connection is verifying the hardware's functionality. Both computers must have working Wi-Fi adapters that are correctly detected by the system. If unknown devices or devices with an exclamation mark appear in Device Manager, the first step is to find and install the latest drivers from the hardware manufacturers' official websites.
You need to check that the wireless adapters are turned on and functioning. Laptops often have physical switches or key combinations (e.g. Fn + F2 (or the button with the antenna icon), which can programmatically disable the communication module. Make sure the wireless indicator is on and your router is displayed in the list of available networks.
⚠️ Important: If you're using older USB Wi-Fi adapters, make sure they support WPA2 security standards. Some older models only support WEP encryption, which creates a critical vulnerability in your network.
You can use Windows' built-in diagnostic tools to diagnose the adapter's status. Right-click the network icon in the system tray and select "Troubleshoot." The system will automatically check for driver availability, WLAN service status, and the ability to obtain an IP address. If the system reports any issues, follow the suggested troubleshooting steps before continuing with setup.
Setting up a workgroup and computer name
The foundation of a local area network in a Windows environment is a workgroup. This is a logical grouping of computers that allows them to see each other in a network environment. By default, Windows 7 uses the workgroup name. WORKGROUPIt's crucial that this name is exactly the same on both computers, otherwise they simply won't detect each other, even if they're on the same Wi-Fi network.
Furthermore, each computer must have a unique name. If two devices on the network have the same name, a conflict will occur, and one of them will be unable to connect to the network. Names must be written in Latin characters and contain no spaces or special characters other than hyphens.
- 🖥️ Click
Start, then right-click onComputerand selectProperties. - 📝 Under "Computer name, domain, and workgroup settings," click
Change settings. - ⚙️ In the window that opens, click the button
Changeand enter a unique computer name (for example,PC1AndPC2). - 🔗 Make sure the Workgroup field on both PCs is set to the same value, for example,
WORKGROUP.
After making changes, the system will require a reboot. Restart both computers for the new settings to take effect. Only then can you proceed to configuring network profiles and sharing settings.
Selecting a network type and setting up sharing
When you first connect to a wireless network, Windows 7 prompts you for your computer's location type. To create a local network, you must select the "Home Network" or "Work Network" profile. These profiles make your computer visible to other devices and allow sharing features. The "Public Network" profile hides your computer and blocks incoming connections, making it impossible to create a local network.
If you're already connected to Wi-Fi but aren't sure of your network type, you can check and change this setting through the Network and Sharing Center. Follow this path: Control Panel → Network and Internet → Network and Sharing CenterUnder the name of your wireless connection, you should see "Home Network." If it says "Public Network," click on that and change the type to "Home."
Next, you need to configure sharing settings. In the Network and Sharing Center, click "Change sharing settings." Here, you need to enable the following options for the current profile:
- 📡 Turn on network discovery.
- 📂 Enable file and printer sharing.
- 🔓 Disable password-protected sharing (if you trust all devices on your Wi-Fi network and want to simplify access).
Save the changes. The operating system is now ready to create shared resources and exchange data with other nodes on the local network. However, if automatic address acquisition doesn't work, manual IP address configuration will be required.
Manually configure IP addresses (if necessary)
In most cases, the router automatically assigns IP addresses through a service DHCP, and manual intervention is not required. However, if computers cannot see each other or connection issues occur, it makes sense to assign static IP addresses. This will eliminate possible addressing conflicts and simplify access to resources.
To configure this, go to Network and Sharing Center, select Change adapter settings. Find your wireless connection, right-click it, and select PropertiesIn the list of components, select Internet Protocol version 4 (TCP/IPv4) and press again Properties.
IP address: 192.168.1.10 (for the first PC)Subnet mask: 255.255.255.0
Default gateway: 192.168.1.1 (your router's address)
Preferred DNS: 192.168.1.1 or 8.8.8.8
For the second computer, the steps are similar, but the IP address must differ in the last digit, for example, 192.168.1.11The remaining parameters (mask, gateway, DNS) remain identical. It's important that the addresses are in the same subnet as your router's address.
☑️ Check network settings
After setting up static addresses, it is recommended to check the connection between computers using the ping command. Open the command prompt (Start → type cmd) and enter ping 192.168.1.11 (the address of the second computer). If packets are transmitted without loss, the physical and logical connection has been established successfully.
Sharing folders
Once the network is configured, you need to grant access to specific files or folders. You can share any folder on the drive, making it readable or writable by other computers. This is the basic mechanism for working on a local network in Windows 7.
Select the folder you want to share. Right-click it, go to Properties, and select the "Sharing" tab. Click the "Sharing" button. In the window that opens, add a user. All (or Everyone) and set the permission level to Read (view only) or Read and Write (full control).
| Access parameter | Description of action | Recommended use |
|---|---|---|
| Reading | Users can open and copy files, but cannot modify or delete them. | Exchange documents, photos, and music |
| Reading and writing | Full access to files, including creating new ones and deleting existing ones | Working folders, joint projects |
| Owners | Only file creators or administrators have full control | System folders, personal archives |
Once the settings are applied, an open folder icon with a person will appear next to the folder icon, indicating that the resource is open to the network. Now, from another computer, by going to the "Network" section in File Explorer, you'll be able to see this computer and access the shared folder.
What to do if the folder won't open?
If the system asks for a username and password when you try to log in, and you've disabled password protection, try entering the username and password of the folder owner account on the first computer. Also, make sure the power saving adapter isn't disabled in the power settings.
Diagnosing problems and troubleshooting errors
Even with proper configuration, situations may arise where computers cannot see each other. Often, the problem lies in Windows services or firewall settings. The Discovery Resource Publishing service must be started and running in automatic mode. Check this using Start → enter services.msc → Find the service and make sure it is active.
Windows Firewall may block the connection if the network profile is incorrectly defined. Make sure "File and Printer Sharing" is enabled in your network's firewall settings. It's also worth checking whether a third-party antivirus program, if installed, is blocking the connection.
⚠️ Note: The interfaces and names of some menu items may differ slightly depending on the installed version of Service Pack (SP1) and Windows 7 updates. If you can't find the item, try searching in the Start menu.
If all else fails, try temporarily disabling your firewall and antivirus software on both computers to test. If the network works, the problem is that your security software is blocking ports. Don't forget to set up exceptions later, rather than leaving your computer unprotected.
FAQ: Frequently Asked Questions
Why can't computers see each other on the network even though Wi-Fi is connected?
Most likely, the computers have different workgroup names or the network profile is set to "Public." Also, check that the Discovery Resource Publishing service is enabled and that a firewall isn't blocking the connection.
Is it possible to connect two computers directly without a router?
Yes, this is possible by creating a computer-to-computer (Ad-hoc) connection. However, the speed and stability of such a connection will be lower, and the setup is more complex. One of the computers will need to permanently act as an access point.
Do I need the same account password on both PCs?
No, passwords can be different. However, if password protection is enabled, you will need to enter the login and password of a user that exists on the target computer you are connecting to.
How to increase file transfer speed over Wi-Fi?
Speed depends on the Wi-Fi standard (b/g/n). Make sure both adapters support the standard. 802.11n or higher. Speed may also drop due to interference from other networks or microwave ovens—try changing the channel on your router.