How to Connect a PC to WiFi: A Complete Guide

Creating a local area network between computers without using wires is a task that only seems difficult at first glance. Modern operating systems, such as Windows 10 And Windows 11, have built-in tools for quick device discovery. You don't need to be a system administrator to set up data exchange or printer sharing within your home or office.

However, there are nuances that are often overlooked during initial setup. For example, the network profile type directly affects your device's visibility to other users. If you specify the network status incorrectly, Windows may consider the connection as public and block all incoming connections for security purposes.

In this guide, we'll cover every step: from hardware testing to port forwarding and setting up sharing. You'll learn not only how to connect devices but also how to do it securely, minimizing the risk of unauthorized access from outside.

Hardware requirements and router preparation

Before proceeding with software settings, you need to ensure that the physical infrastructure is ready. Local area network (LAN) requires all devices to be on the same network segment. This means computers must be connected to the same router or access point.

The ideal situation is when both computers are connected to the same Wi-Fi frequency. If one computer operates on 2.4 GHz and the other on 5 GHz, the router should correctly broadcast traffic between them. Most modern models do this. TP-Link, Asus or Keenetic This happens automatically, but in corporate networks, VLAN configuration may be required.

  • 📡 Make sure both computers are connected to the same Wi-Fi network with the same name (SSID).
  • 🔌 Check that the "AP Isolation" feature (client isolation), which prevents data exchange between devices, is not enabled on your router.
  • 💻 Make sure that the IP addresses of both computers are in the same subnet (e.g. 192.168.1.x).

⚠️ Note: If you're in a public space (cafe, hotel, coworking space), administrators often intentionally block the ability to share PCs via WiFi between clients. At home, this feature is usually enabled by default.

Setting up a network profile in Windows

operating system Windows Networks are divided into two main types: "Private" and "Public." To connect computers, it's crucial to select the "Private Network" profile. In "Public" mode, the system hides your PC from detection and blocks incoming connections.

You can change the network type through the Network and Sharing Center. Click the Wi-Fi icon in the system tray and select the active connection properties. In the window that opens, find the network profile switch and set it to "Private." This will allow file sharing protocols to work correctly.

If you have an older version of the system, the path may be different. You will need to go to Control Panel → Network and Internet → Network and Sharing CenterThe current type will be listed next to the connection name. If it says "Public Network," click that link and change your profile.

📊 What is your current network profile?
Private
Public
Don't know
Guestbook

Turn on file and printer sharing

After setting up the profile, you need to enable discovery services. Without this step, computers simply won't "see" each other in the network environment, even if they're on the same subnet. Open Control Panel → Network and Internet → Network and Sharing Center and select "Change advanced sharing settings."

Here you'll see several profiles (Private, Guest or Public, All Networks). Expand the "Private" tab. You'll need to enable network discovery and file and printer sharing. It's also recommended to check "Let Windows manage HomeGroup connections," if this option is available in your OS version.

☑️ Sharing settings

Completed: 0 / 4

For full functionality, you may need to disable password protection if you trust all devices on your network. This is located at the very bottom of the settings page under "All Networks." However, if you want to maintain a high level of security, leave it enabled, but ensure that user accounts on both computers have the same logins and passwords.

Setting up a static IP address

For stable operation of a local network, it is best to assign static IP addresses to computers. Dynamic address distribution via DHCP It's convenient, but the address may change after rebooting the router, which will break the configured paths to shared folders.

To enter the address manually, open the command prompt (cmd) and enter the command ipconfigFind the "Default Gateway" line (usually 192.168.0.1 or 192.168.1.1). Now go to the adapter settings: Network settings → Configure adapter settingsSelect your Wi-Fi adapter, right-click and select "Properties."

In the list of protocols, find "Internet Protocol Version 4 (TCP/IPv4)", select it, and click "Properties". Select "Use the following IP address".

* IP address: 192.168.1.15 (where 15 is any number from 2 to 254).

* Subnet mask: 255.255.255.0 (will be filled in automatically).

* Default gateway: your router's address.

Parameter Value for PC 1 Meaning for PC 2 Meaning for Router
IP address 192.168.1.10 192.168.1.11 192.168.1.1
Subnet mask 255.255.255.0 255.255.255.0 255.255.255.0
Default Gateway 192.168.1.1 192.168.1.1 -
DNS server 192.168.1.1 192.168.1.1 8.8.8.8

⚠️ Note: Router and operating system interfaces are subject to update. The location of the "Properties" or "TCP/IPv4 Protocol" menu items may vary slightly depending on the Windows build version or router model.

Opening access to folders and disks

Now that the network is set up, it's time to share resources. Select the folder you want to make available to other PCs. Right-click it, select "Properties," and go to the "Sharing" tab. Click "Advanced Settings."

Check the "Share this folder" box. Click "Permissions" below. Here you can set permissions: full access (read, write, modify) or read-only. For home networks, it's common to grant full permissions to the "Everyone" group, but this reduces security.

How to hide a shared folder?

To make a folder hidden, add a dollar sign to the end of its name (e.g., Docs$). It won't appear in normal web browsing, but will be accessible via a direct path.

To quickly access shared resources on the second computer, open File Explorer and enter in the address bar IP address of the first computer (For example, \\192.168.1.10). If everything is configured correctly, you will see the shared folder. To avoid entering the address each time, right-click the folder and select "Mount as network drive."

Diagnosing and troubleshooting

Sometimes, even with the correct settings, computers can't see each other. First, check your firewall. Windows DefenderIt may be blocking incoming connections. Try temporarily disabling it to test. If the connection is restored after disabling it, add an exception rule for "File and Printer Sharing."

It's also worth checking the services. Click Win + R, enter services.mscFind the "Discovery Function" and "Discovery Resource Publishing" services. Make sure they are running and the startup type is set to "Automatic." Without these services, the protocol UPnP and device discovery will not work.

If nothing helps, try resetting your network settings. In Windows 10/11, you can do this via Settings → Network & Internet → Advanced network settings → Network resetThe computer will restart and all network adapters will be reset to factory settings.

Questions and Answers

Is it possible to connect PCs via WiFi if one of them is on Windows 7 and the other is on Windows 10?

Yes, this is possible. However, in Windows 7, you need to ensure that SMB 1.0 support is enabled (although this is less secure) or that identical user accounts are configured. Often, this issue can be resolved by enabling password-protected sharing and creating identical users on both PCs.

Why is file transfer speed over WiFi slow?

Speed ​​depends on the Wi-Fi standard (802.11n, ac, ax) and distance from the router. If your router is dual-band, make sure both PCs are connected to the 5 GHz network. Speed ​​may also drop due to interference or channel congestion from other devices.

Is it safe to keep sharing enabled all the time?

If you have a strong Wi-Fi password (WPA2/WPA3) and a firewall enabled, the risk is minimal. However, if you frequently connect to public networks, it's best to use scripts to quickly switch the network profile to "Public" and disable access.

How to find the IP address of another computer on the network?

On the second computer, open a command prompt and type ipconfigThe required line is called "IPv4 address." You can also view the list of connected devices in your router's interface under "Clients" or "DHCP List."