How to create a local network via WiFi for online gaming on Windows 10

Setting up a local network for co-op gaming is a task that often seems daunting due to the abundance of technical jargon and security settings. In the age of high-speed internet, many forget that local area network (LAN) ensures minimal signal latency between devices, which is critical for shooters and real-time strategy games. Windows 10 offers built-in tools for this, but their operation depends on the correct configuration of network hardware and firewall rules.

The main difficulty is that the operating system treats new connections as public by default, blocking your PC from being visible to other devices. To play online, you need to change the network profile to "Private" and ensure all computers are on the same subnet. This is a basic requirement; without it, data packets simply won't transfer between players.

In this article, we'll walk you through the full setup process: from checking your router settings to removing the game from your antivirus's block list. You'll learn how to properly configure the SMB and NetBIOS protocols, which are often responsible for discovering computers in the list of available hosts. Be prepared to restart the services several times, but the results are worth it.

Hardware and software requirements

Before you begin setting up, make sure your hardware meets the minimum requirements. For a comfortable gaming experience, wireless network It is critical to use the standard WiFi 5 (802.11ac) or newer, as older protocols may not provide the necessary throughput and ping stability. All computers must be connected to the same router, regardless of whether they use WiFi or Ethernet.

The operating system must be the latest version of Windows 10, as older builds (such as 1507 or 1607) may have network discovery mechanisms that work differently or require additional security updates. Also, ensure that all machines have the latest network adapter drivers installed, downloaded from the official website of the motherboard or laptop manufacturer.

It's important to understand the difference between internet speed and local data transfer speed. Even if you don't have access to the global network, playing over a local network will work if your internal infrastructure is configured correctly. However, some modern games may still require periodic online license verification.

⚠️ Note: If one of your computers is connected via a guest WiFi network, it will not be able to see other devices. Make sure all players are connected to the router's primary SSID.

Setting up a network profile and discovery settings

The first step is to change your network profile. Windows 10 assigns the "Public" profile to new connections by default, which hides your PC from others. To fix this, click the WiFi icon in the system tray, select "Properties" for the active connection, and switch the profile to "Private"This action will allow the computer to become discoverable.

Next, you need to enable network discovery. Open Control Panel, go to Network and Sharing Center, and select Change advanced sharing settings. Under Private (current profile), enable Turn on network discovery and Turn on file and printer sharing.

Don't forget to also enable the "Enable automatic configuration of network devices" feature. This will allow the system to automatically manage permissions for connected devices and consoles if you plan on cross-platform play. After making changes, be sure to click "Save Changes" or the settings will not be applied.

☑️ Check network settings

Completed: 0 / 5

Sometimes the system may ignore profile changes if the discovery service isn't running. In this case, you'll need to manually check the services through the management console, but we'll discuss this in the next section.

Firewall and antivirus configuration

Windows Defender Firewall often blocks incoming connections needed to create a game room. To allow traffic, open Windows Security, go to Firewall & Network, and select Allow an app through firewall. Find your game or platform in the list (e.g., Steam, Epic Games) and make sure that the boxes for private networks are checked.

If you use a third-party antivirus (Kaspersky, ESET, Avast), it may have its own firewall that overrides Windows system settings. In this case, it's often easier to switch the antivirus to "Game" or "Trusted Network" mode while gaming, if the software developer offers this option.

For advanced users, we recommend creating a custom inbound rule. Open Firewall with Advanced Security, create a new port rule, and specify the specific port used by the game (e.g., 27015 for the Source engine). This is more secure than opening all ports at once.

⚠️ Important: When adding a game to your firewall exceptions, select the game's executable file (.exe), not the launcher's. The launcher and the game are separate processes with different network IDs.

After setting up the security rules, try launching the game and creating a server. If other players can't see it, try temporarily disabling the firewall completely for diagnostics. If the network works, the issue is with the packet filtering rules.

Managing Windows Network Services

Specific Windows services ensure that computers are visible on the local network. If your computers aren't visible in Network Neighborhood, check the service's status. Function Discovery Resource Publication. Click Win + R, enter services.msc and find this service in the list.

It may be disabled by default. Double-click it, select "Automatic" as the startup type, and click "Start." The same steps must be performed for the "Function Discovery Resource Publisher" service. Without it, the WS-Discovery protocol will not function correctly.

It's also worth paying attention to the Network Discovery service. Although it's often integrated into other processes in newer versions of Windows 10, its presence in the list of services may indicate the need to check dependencies. Restarting these services can sometimes resolve the issue of a host suddenly disappearing from the list of available games.

What to do if services do not start?

If you receive error 1068 or 1079 when starting the service, it means a dependent service isn't running. This is usually the Portable Device Enumerator Service. Find it in the list, start it, and then try enabling Function Discovery again.

After manipulating services, it is recommended to perform a full computer restart so that all changes to the registry and network stack configuration are fully applied.

Setting up SMB sharing and protocols

Some older games or platform launchers require SMB 1.0 support to function correctly, which is disabled by default in Windows 10 for security reasons. To enable it, open Control Panel, select Programs and Features, then Turn Windows features on or off.

In the window that opens, find the "SMB 1.0/CIFS File Sharing Support" branch. Expand it and check the box next to "SMB 1.0/CIFS Client." Leaving the "server" enabled isn't necessary if you're only connecting to others, but it can be useful for the host. A reboot will be required after installation.

Also, check your folder sharing settings. If the game requires access to specific configuration files on another PC, ensure the folder is shared with Read/Write permissions for the Everyone group or a specific network user.

Component Default Status Recommended action Impact on the game
SMB 1.0 Client Off Turn on Required for older games (Age of Empires, Diablo 2)
NetBIOS over TCP/IP Included Check Responsible for displaying PC names on the network
LLMNR Included Leave DNS alternative for local names
UPnP Depends on the router Enable it in the router Automatic port forwarding

Changes to Windows components are applied only after a system reboot, so do not skip this step, even if the system does not explicitly require it.

Connection diagnostics and IP addressing

A common cause of problems is different IP address ranges. All computers should be on the same subnet, for example, 192.168.1.X, where X is a unique number from 2 to 254. You can check this with the command ipconfig in the command line.

Open Command Prompt (CMD) as administrator and enter the command ping 192.168.1.5 (replace with the other player's IP). If you receive a "Timeout exceeded" response, the connection is being blocked by a firewall or the devices are physically unable to see each other.

If the ping is successful but the game can't see the server, the issue may be with DNS. Try setting a static DNS (for example, Google's). 8.8.8.8) in the IPv4 protocol properties of your network adapter. It's also worth flushing the DNS cache with the command ipconfig /flushdns.

For more in-depth diagnostics, you can use the utility netstat -an, which will show all active connections and ports waiting for connections. This will help you determine whether the game is listening on the correct port.

Resolving common errors and conflicts

One of the most common errors is a game version conflict. Make sure all players have the same patch version installed. In the age of digital distribution, this is resolved automatically, but when using pirated builds or mods, the versions may differ, making connection impossible.

The problem may also be related to the WiFi adapter's power-saving settings. Windows may disable the adapter to conserve power, which can cause connection drops while gaming. Go to Device Manager, find your network adapter, open its properties, and under the Power Management tab, uncheck "Allow the computer to turn off this device."

If you use a VPN, it will almost certainly interfere with your local connection by rerouting traffic through a remote server. Disable your VPN clients before launching a local game.

⚠️ Note: Windows and router settings interfaces may change with updates. If you don't find the option described, search for a similar one or check the official Microsoft documentation.

In rare cases, resetting your network settings via Settings → Network & Internet → Network Reset may help. This will reset all network components to factory defaults, after which you'll have to go through the setup again.

FAQ: Frequently Asked Questions

Is it possible to connect a PC with Windows 10 and Windows 7 to the same local network?

Yes, this is possible, but it requires additional configuration. On Windows 10, you need to enable SMB 1.0 support, as Windows 7 uses this protocol by default for networking. Also, make sure both computers are set to the same workgroup (WORKGROUP by default).

Why does the game say "Cannot connect to host" even though the ping is successful?

The problem is most likely a port issue. Ping checks the availability of an IP address (ICMP protocol), and the game uses TCP or UDP ports. Check whether the specific game port is open in Windows Firewall and on your router. Also, make sure your antivirus isn't blocking the game process.

Do you need internet to play on a local network?

Technically, no. A local network works regardless of whether you have access to the global network. However, if a game requires online authentication (DRM) or uses masterlist servers to find rooms, an internet connection will be required at least at launch. For pure LAN mode (Direct IP Connect), an internet connection is not required.

How do I find out my computer's IP address to connect?

Open the command prompt (Win+R, enter cmd) and type ipconfigFind the "IPv4 Address" line in the section for your wireless adapter. It usually looks like 192.168.xx. This is the address you need to share with other players to connect directly.

Does the number of connected devices affect ping on a WiFi network?

Yes, WiFi is a shared medium. The more devices actively transmitting data, the higher the latency and the likelihood of packet loss. To minimize lag, it's recommended that no one else be downloading large files or watching 4K videos over the same WiFi connection while gaming.