How to connect a PC and laptop to a single Wi-Fi network: step-by-step instructions

Creating a local network between a desktop computer and a laptop isn't just a way to transfer files without a flash drive, but a full-fledged step toward creating a convenient digital space. When both devices are connected to the same router, they automatically join the same local network, but by default, Windows often blocks their visibility for security reasons. You'll need to configure a few settings to allow the computers to "see" each other and begin exchanging data at high speeds.

Modern versions of the operating system Windows 10 And Windows 11 have stricter security protocols than their predecessors, which can sometimes cause difficulties for users. However, by understanding the logic behind network profiles and services, you can quickly establish a stable connection. In this article, we'll cover all the nuances, from checking the physical connection to configuring complex sharing settings.

Checking basic connectivity and IP addresses

Before delving into registry settings or group policies, make sure the physical connection is working properly. Both devices must be connected to the same Wi-Fi access point. If your desktop PC doesn't have a built-in wireless module, use a USB adapter or an Ethernet cable connected to the same router.

The key here is that the devices belong to the same subnet. This means the first three numbers in the IP address of the computer and laptop must match. You can find your address through the command line by entering the command ipconfigIf the addresses look like this 192.168.1.5 And 192.168.1.15, then you are on the right network.

⚠️ Attention: If IP addresses start with 169.254.x.x, this means the device didn't receive an address from the router automatically. In this case, the connection won't work—try rebooting the router.

It's also important to check your network profile type. Windows divides networks into "Public" and "Private." To enable local data exchange, the profile must be set to "Private." On a "Public" network, the system hides your computer from other devices, thinking you're in a cafe or airport.

Setting up sharing options in Windows

After confirming the physical connection, you need to enable discovery features. This is done through the Network and Sharing Center. This is the most common cause of problems: even with a perfect Wi-Fi signal, computers cannot see each other if sharing services are disabled.

Find the "Change advanced sharing settings" section. In the "Private" (current) profile, enable network discovery and file and printer sharing. Don't forget to save your changes by clicking the appropriate button at the bottom of the page.

☑️ Check network settings

Completed: 0 / 4

The "All Networks" setting deserves special attention. Here you can configure sharing for public folders and disable password protection. If you're on a trusted home network, disabling the password will simplify access but reduce security. For a corporate environment, it's best to leave this setting enabled.

Advanced configuration via registry and services

Sometimes the default settings aren't enough, especially in recent Windows builds, where Microsoft has changed the behavior of the SMB protocol. If the computers still can't see each other, you'll need to edit the system registry. This is a more complex step that requires careful attention.

You need to open the registry editor by typing regedit in the Run window. Go to the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\ParametersHere you need to create or change the parameter AllowInsecureGuestAuth, setting its value to 1This will allow guest login, which is often required for older NAS devices or other PCs.

Why do you need guest access?

Guest access allows you to connect to shared resources without entering a username and password. This is convenient for a home network, but it creates a vulnerability if someone else connects to your Wi-Fi. Use only in trusted environments.

It's also worth checking the status of services. Click Win + R, enter services.msc and find services related to SSDP Discovery, UPnP And Function Discovery Resource PublicationMake sure they are running and their startup type is set to "Automatic." These services are responsible for displaying your computer in the network environment.

Opening ports and configuring a firewall

The built-in Windows firewall is a powerful security tool that can sometimes be overly aggressive. It can block incoming connections even if you've enabled sharing in your network settings. Checking your firewall rules is a necessary troubleshooting step.

Go to the firewall control panel and select "Allow an app." "File and Printer Sharing" should be checked in the list. If it's not checked or isn't enabled for the private network, add it manually.

Port Protocol Purpose Status
135 TCP/UDP RPC (remote procedure call) Open
139 TCP NetBIOS Session Service Open
445 TCP SMB Direct (file sharing) Open
5353 UDP mDNS (device search) Open

If you're using a third-party antivirus (Kaspersky, ESET, Avast), its built-in firewall may ignore Windows settings. In this case, you'll need to go to the antivirus settings and change the network profile to "Home" or "Trusted," adding the local subnet to the exceptions.

Setting up shared folders and access rights

Once the devices have "seen" each other, you need to determine what data they will exchange. The contents of the C: drive won't just become available—you need to explicitly specify the folders to share. This is done through the properties of a specific directory.

Right-click the folder, select "Properties," and go to the "Sharing" tab. Click "Advanced" and check "Share." Here you can also limit the number of users or set permissions: read-only or full control (write and delete).

The Security tab is also critical. Even if you've granted access, NTFS system permissions may block access. Add a user All (or Everyone) to the list of groups and grant it the necessary permissions. Without this step, the system may return a "No access rights" error when attempting to log in.

Mapping a network drive and troubleshooting errors

For ease of use, it's best to map the network folder as a separate drive. This will eliminate the need to search for the computer in your network neighborhood each time. In File Explorer, select "This PC," click "Computer" in the menu, and select "Map network drive."

Specify the drive letter and path to the resource in the format \\ComputerName\Folder or \\192.168.1.X\FolderUsing an IP address will improve your connection, as computer names are sometimes not resolved by the router's DNS server.

⚠️ Note: Router interfaces and Windows versions are updated regularly. The location of menu items may differ slightly from that described. If you don't find the setting you need, use the search in your system settings.

If you encounter an error connecting, try clearing the network credential cache. In the Windows Credential Manager, delete old entries associated with your PC or laptop's address, and try connecting again using the remote machine's administrator login and password.

📊 What type of error did you encounter most often?
The computer is not visible on the network.
Asks for a password but does not accept it
Access Error 0x80070035
Everything works fine.

Alternative methods of data transfer

If fiddling with SMB protocols and the registry seems too complicated or impractical for a one-time transfer, there are simpler methods. While they don't create a full-fledged local network with shared disk access, they're excellent for file transfers.

The Near Share feature in Windows 10/11 lets you transfer files via Bluetooth and Wi-Fi Direct by simply selecting "Share" from the context menu. You can also use an FTP server by installing a program like FileZilla Server, which will provide more flexible access control.

For users who prefer cross-platform compatibility, a great solution is synchronization programs that work on the P2P principle, for example, Resilio Sync or SyncthingThey create a virtual local area network (VLAN) over a Wi-Fi router without requiring complex Windows settings.

Why might the speed be low?

Wi-Fi transfer speeds are always lower than those over a cable. Furthermore, they depend on the router standard (802.11n/ac/ax) and the distance to it. For larger data volumes (hundreds of GB), a LAN cable is better.

Why doesn't the computer see the laptop in the network environment?

Most often, the problem is in the "Public" network profile or a disabled service Function Discovery Resource PublicationAlso check if SMB 1.0 is enabled if one of the devices is very old.

How do I find out the IP address of another computer on the network?

On the second device, open the command prompt (cmd) and enter ipconfigYou're interested in the "IPv4 address" line. This is the address you need to enter into Explorer for a direct connection.

Is it possible to connect a PC and a laptop without a router?

Yes, it is possible to create a direct computer-to-computer connection (Ad-Hoc network) via Wi-Fi adapters, but in modern versions of Windows this feature is hidden and requires configuration via the command line or the creation of a virtual access point.

Is it safe to disable password when sharing?

This is acceptable within your home Wi-Fi network, which is protected by a strong WPA2/WPA3 password. However, if neighbors or guests have access to your Wi-Fi, they will be able to access your files without restrictions.