Organizing a local network between devices is a fundamental skill that enables fast data exchange without the need for external drives. When it comes to transferring gigabytes of data or playing a game online, users often look for a way to connect a laptop to a computer via a WiFi router to avoid the hassle of cables. Modern routers allow for stable connections, transforming disparate devices into a single computing system.
Unlike a direct cable connection or creating a temporary access point, using a router ensures that resources are always available. Local area network (LAN) operates at the TCP/IP protocol level, allowing devices to "see" each other even without internet access. This is especially relevant for office tasks or multimedia servers, where internal traffic speed is critical.
The setup process may seem complicated at first glance. In fact, Windows operating systems have built-in network device discovery mechanisms that require only minimal activation. Understanding the principles of operation IP addressing and sharing rules will help you avoid common mistakes and quickly establish communication between your laptop and desktop PC.
Preparing equipment and checking network parameters
Before starting the software setup, you need to ensure the physical infrastructure is ready. Both devices—the laptop and the computer—must be connected to the same router. This can be done either Wi-Fi, or through LAN cable (twisted pair). The main condition: they must be on the same subnet, that is, receive addresses from the same source.
⚠️ Important: If your router supports the "Guest Network" feature, make sure no devices are connected to it. Guest networks often have client isolation, which prevents data exchange between connected devices.
Checking IP addresses is a key diagnostic step. Each device on the network is assigned a unique identifier. To find the current address, you need to use the command line. Click Win + R, enter cmd and press Enter. In the black window, enter the command:
ipconfig
In the list that opens, find the line IPv4 address. It usually looks like this 192.168.1.X or 192.168.0.X, where X is a number from 2 to 254. If addresses begin with 169.254.., this means that the device has not received an address from the router and the connection has not been established.
It's also important to check the computer name, as this is how devices will search for each other in the network environment. Go to Settings → System → About and look at the "Device Name" field. Write it down; you'll need it for the search.
Setting up a network profile in Windows
By default, the Windows operating system treats new connections as public, blocking the device's visibility to others. To connect a laptop to a PC, you need to change the network profile to "Private." This tells the system that you are in a trusted environment, such as your home or office.
To perform this procedure, open the network settings menu. In Windows 10 and 11, the path may be slightly different, but the logic is the same: find the active connection and change its properties. Click the network icon in the system tray or go to Settings → Network & Internet → Status.
- 📡 Click on the properties of your active connection (Wi-Fi or Ethernet).
- 🔒 In the "Network Profile" section, select the option Private (Private).
- ✅ Make sure the "Enable PC Search" toggle is turned on.
After changing the profile, the system will automatically open the necessary ports for the SMB protocol and device discovery. Without this step, computers will ignore each other, even if the physical connection is intact. Restarting the network adapter can speed up the application of changes.
Enabling Sharing and Discoverability
The next critical step is configuring sharing settings. Even with the correct network profile, file sharing features may be disabled at the security policy level. This is designed to protect data in public spaces, but it interferes with work on the local network.
Open Control Panel → Network and Internet → Network and Sharing CenterIn the menu on the left, select Change advanced sharing optionsA list of profiles will open here (Private, Guest, All networks).
In the "Private (current profile)" section, you need to activate the following items:
- 🔍 Enable network discovery.
- 📂 Enable file and printer sharing.
- 📝 Allow Windows to manage HomeGroup connections.
⚠️ Important: In the "All Networks" section, we recommend enabling the "Disable password-protected sharing" option only if you completely trust all users on your local network. Otherwise, you will need to enter the username and password of the remote computer account to access.Save the changes. The operating system is now ready to broadcast the availability of shared resources to the network. However, the folders or drives themselves are not yet exposed to the outside world.
Expanding access to folders and drives
To make your computer visible to your laptop, you need to explicitly specify which resources can be shared. You can share a specific document folder or an entire drive. To do this, right-click on the object and select
Properties.Go to the tab Access and press the button
General access..In the window that opens, select a user (for example, "Everyone" or a specific name) and set the permission level: "Read" or "Read and Write." The "Write" level will allow the laptop to not only retrieve files but also save them to the computer.Access Denied Issue
If you see the folder after setup but can't access it, try adding the "All" user with full permissions in the advanced security settings of the "Security" tab. Sometimes NTFS permissions block access even if network access is enabled.
An alternative and more reliable method is to use Advanced Access. In the same "Access" tab, click
Advanced settings, check the box "Share this folder" and click the buttonPermissionsHere you can more flexibly configure permissions for different user groups.When connecting from a laptop, you will see the network name, which can be changed in the settings.
Connecting to a computer from a laptop
Once the settings on the desktop PC (or second laptop) are complete, move on to the client device. Open File Explorer and enter the IP address of the computer you want to connect to in the address bar. The input format is:
\\192.168.1.XX(backslashes are used).If everything is done correctly, a window will open with a list of available folders. For ease of use, you can right-click the desired folder and select
Map a network driveThis will assign the shared folder a drive letter (e.g. Z:) and it will appear in My Computer as a local partition.
Parameter Meaning / Action Where to find IP address 192.168.x.x cmd → ipconfig PC name Desktop-Name Settings → System Network path \\IP address\Folder Explorer address bar Protocol SMB 1.0/CIFS (rare), SMB 2/3 Windows Components The first time you connect, the system may ask for credentials. Enter the username and password for the user account on the computer where the folder is located. If there is no password, leave the field blank, but ensure password protection is disabled.
Diagnosis and solution of typical problems
Setup doesn't always go smoothly the first time. Users often encounter situations where computers can't see each other.