Creating a local network between two computers via Wi-Fi — a task that arises when transferring files, collaborating on documents, or organizing multiplayer games. Many people mistakenly believe that a router is essential for this, but modern versions Windows 10/11 allow you to do without additional equipment. In this article, we will examine three working connection methods: through access point, using ad-hoc networks and through Wi-Fi Direct.
It is important to understand that the data transfer speed in such a network will be lower than with a wired connection (Ethernet), but for most everyday tasks it will be more than enough. For example, for transferring movies in 1080p or synchronization of projects in Visual StudioIf you need to connect computers for gaming, check support. LAN games in a specific title: some titles (for example, Counter-Strike 2 or Minecraft) work great on a local network, while others (like Call of Duty: Warzone) require an internet connection.
Before you begin setup, make sure both computers meet the minimum requirements:
- 🖥️ Operating system: Windows 10 (version 1803+) or Windows 11 (any assembly). On macOS or Linux the algorithm will be different.
- 📶 Wi-Fi adapters: both devices must have working wireless modules (built-in or external) USB adapters).
- 🔒 Administrator rights: You will need rights to change network settings
Administrator. - 🔄 Protocol compatibility: Both adapters must support at least one common standard (
802.11n,802.11acor802.11ax).
Method 1: Create an access point on one of the computers
The most universal method is to turn one of the PCs into virtual routerThis method is suitable if you need to not only connect two computers, but also share the Internet connection from one to the other (for example, when the second PC does not have network access). The algorithm works on Windows 10/11 without additional software.
To set up, follow these steps on the computer that will be distributing the network:
- Open
Windows Settings(Win + I) and go to the sectionNetwork and Internet → Mobile Hotspot. - In the field
Sharing an Internet connectionSelect the connection through which your PC receives the Internet (for example,EthernetorWi-Fi, if you are connected to a different network). - Click
Changenext to the fieldNetwork nameAndNetwork passwordto create unique information. Use a password of at least 8 characters, including both numbers and letters. - Activate the switch
Allow other devices to use my internet connection.
On the second computer, connect to the created network as you would to a regular Wi-Fi network. This will connect both devices to the same local network. To test the connection, open Command line (Win + R → enter cmd) and run the command:
ping [IP address of the second computer]
You can find out the IP address using the command ipconfig (look for the line IPv4 address in the block Wireless network adapter). If the ping is lost, the network is configured correctly.
Make sure the "Mobile Hotspot" mode is enabled on the sharing PC|Connect to the network from the second computer|Check the ping between devices|Open shared folders (if necessary)
-->
⚠️ Attention: If an error appears after activating the hotspotFailed to set up mobile hotspot, check if your Wi-Fi adapter supports the modeAP (Access Point)Some budget models (for example, TP-Link TL-WN725N) may not work in this mode. Update the adapter driver via device Manager or the manufacturer's website.
2. Method: Ad-hoc network (direct Wi-Fi connection)
Ad-hoc (from the Latin "for this") is a temporary network created directly between devices without an intermediary (router). This method is suitable for Windows 7/8.1/10, but in Windows 11 Its support is limited. The main advantage is high connection speed, since there are no intermediate nodes.
To create ad-hoc net:
- Open
Command lineas administrator (Win + X →Terminal (administrator)). - Enter the command to create the network (replace
NetworkNameAndPasswordto their values):
netsh wlan set hostednetwork mode=allow ssid=NetworkName key=Password keyUsage=persistent
- Start the network with the command:
netsh wlan start hostednetwork
- On the second computer, find the created network in the list of available Wi-Fi networks and connect to it.
To stop the network, use the command:
netsh wlan stop hostednetwork
Important: In Windows 11 the command netsh wlan start hostednetwork It may not work due to changes in the Wi-Fi drivers. In this case, use third-party utilities like Virtual Router Plus or Connectify.
| Parameter | Windows 10 | Windows 11 |
|---|---|---|
Support ad-hoc through netsh |
Yes | Limited |
| Max connection speed | Up to 300 Mbps (802.11n) |
Up to 867 Mbps (802.11ac) |
| Third-party software is required | No | Often yes |
| IPv6 support | Yes | Yes |
3. Method: Wi-Fi Direct (for modern adapters)
Wi-Fi Direct — is a technology that allows devices to connect directly without creating a traditional network. It is supported by most modern adapters (802.11n/ac/ax) and provides high data transfer speeds. This method is ideal for file transfers or media streaming.
To connect computers via Wi-Fi Direct:
- Make sure both adapters support
Wi-Fi DirectYou can check this inDevice Manager(adapter properties → tabAdditionally). - On the first computer, open
Settings → Devices → Bluetooth & other devicesand turn on detection. - On the second computer, in the same section, select
Add a device → Wireless display or dock. - Find the first computer in the list and confirm the connection. If prompted, enter the PIN displayed on both screens.
Once connected, the computers will be able to exchange files via Conductor (tab General access) or specialized programs like Feem or Send AnywhereThe transmission speed can reach 500–700 Mbps (on adapters) 802.11ac).
⚠️ Attention: Some antiviruses (for example, Kaspersky Internet Security or Avast) can block Wi-Fi Direct connections, considering them potentially dangerous. Disable network protection in your antivirus settings while transferring files.
Setting up shared access to files and folders
Creating a local network is only half the battle. For computers to exchange data, you need to set up public accessHere's how to do it:
- On the computer from which you want to share, open
Conductorand find the folder. Right-click on it →Properties → Access. - Click
Shareand select a userAll(Everyone). Set the access level (ReadingorReading and writing). - Go to the tab
Securityand pressChange. Add a userAlland assign permissions to it. - On the second computer, open
NetVConductor(Network → [Name of first computer] → [Shared folder]).
If computers cannot see each other on the network:
- 🔧 Check that it is enabled on both PCs network discovery (
Settings → Network & Internet → Sharing options → Private network). - 🔒 Make sure your firewall (Windows Defender (or third-party) does not block file sharing. Add an exception for ports.
137–139And445. - 📡 Restart your Wi-Fi adapters via
device Manageror by teamnetsh interface set interface"Wi-Fi" disable→enable.
Why can't computers see each other on the network?
A common reason is a mismatch network profileBy default, Windows assigns a profile to new connections. Public network, which blocks public access. To change it:
1. Open Settings → Network & Internet → Status → Change connection properties.
2. Select a profile Private network.
3. Restart both computers.
If the problem persists, check that the service is enabled on both PCs. Host Provider (Function Discovery Provider Host) And SSDP Discovery (open services.msc and run them manually).
Using a local network for gaming
If you're setting up a network for multiplayer gaming, there are a few things to consider:
- 🎮 Most modern games (for example, Minecraft, Terraria, Stardew Valley) support LAN mode. Launch the game on one computer, create a world/server, and on the second one, select
Connect via local network. - 🔌 For games with dedicated servers (like Counter-Strike 2 or Left 4 Dead 2) you will need to run a local server on one of the PCs. Use the launch parameters
-ip [local IP]And-port [port]. - 📡 If the game doesn't see the second player, check that the game's ports are open in the firewall. For example, for Minecraft this is a port
25565, For CS2 —27015.
To test your connection before playing, use the utility LAN Benchmark or the command:
ping -t [IP of the second computer]
If your ping is consistently high (>100ms), try:
- Disable background downloads (e.g. updates) Steam or Epic Games).
- Switch Wi-Fi adapters to mode
802.11ac(if supported) viaDevice Manager → Adapter Properties → Advanced. - Use 5 GHz range instead
2.4 GHz(less interference).
Solutions to common problems
When setting up a local Wi-Fi network, users often encounter common errors. Here are the most common ones and how to fix them:
| Problem | Possible cause | Solution |
|---|---|---|
Failed to start hosted network |
The adapter driver does not support hostednetwork |
Please update your driver or use Virtual Router |
| Computers can't see each other. | Different network profiles (Public instead of Private) |
Edit your profile in Settings → Network → Status |
| Slow file transfer speed | Frequency interference 2.4 GHz or an outdated protocol (802.11g) |
Switch to 5 GHz or update the adapter |
Error 0x80070035: The network path was not found. |
Blocked by firewall or disabled SMB |
Turn on SMB 1.0 V Control Panel → Programs → Turn on features |
If none of the methods worked, check:
- 🔌 Compatibility of Wi-Fi adapters: some budget models (for example, Realtek RTL8188EU) do not support
ad-hocorWi-Fi Direct. - 📋 Power settings: in
Control Panel → Power Options → Change Plan Settings → Advanced Settingsdisable the optionAllow the device to turn off to save powerfor Wi-Fi adapter. - 🔄 IP address conflict: if both computers receive an IP automatically (
DHCP), but the network does not work, assign static addresses manually (for example,192.168.1.1And192.168.1.2with a mask255.255.255.0).
⚠️ Attention: Network protocol and driver settings may vary depending on your Windows version and Wi-Fi adapter model. For example, in Windows 11 24H2 section interfaceMobile hotspotwas changed, and some commandsnetshare no longer supported. For current instructions, please consult Microsoft or the adapter manufacturer's documentation.
FAQ: Frequently asked questions about setting up a local network via Wi-Fi
Is it possible to connect a computer to a MacBook via Wi-Fi without a router?
Yes, but the algorithm will be different. MacBook open System Preferences → Sharing and turn it on Public Internet through Wi-FiOn your PC, connect to the created network. To share files, use AFP (instead of SMB), because macOS does not support the protocol by default SMB1.
How to increase file transfer speed over Wi-Fi?
The speed depends on the Wi-Fi standard:
802.11n: up to 150–300 Mbps (at a frequency2.4 GHz).802.11ac: up to 867–1300 Mbps (at a frequency5 GHz).802.11ax (Wi-Fi 6): up to 2400 Mbps.
To maximize speed:
- Switch to range
5 GHz(less interference). - Use a channel with minimal load (check through Wi-Fi Analyzer).
- Turn off power saving for your Wi-Fi adapter in
Device Manager.
Do I need to disable my antivirus to set up a network?
It is not necessary to disable it completely, but you need to add exceptions:
- IN Windows Defender:
Windows Security → Firewall and network protection → Allow the app→ addFile and Printer for Microsoft Networks. - IN Kaspersky/Avast: turn off
Firewallfor a local network or add the IP addresses of computers to the trusted zone.
After configuration, please return the firewall settings to their original settings.
Is it possible to play through such a network? GTA V or Fortnite?
No. These games require a connection to servers. Rockstar or Epic Games even for local multiplayer. LAN is only suitable for games that support LAN, such as:
- Minecraft (mode
LAN World) - Terraria (option
Host & Play) - Left 4 Dead 2 (creating a local server)
- StarCraft II (mode
LAN)
For GTA V or Fortnite You will need an internet connection on both PCs.
How do I share internet from a laptop to a PC via Wi-Fi if the laptop is connected via cable?
Use the first method from this article (setting up Mobile hotspot):
- On your laptop, connect to the Internet via cable (
Ethernet). - Activate
Mobile hotspot(Settings → Network & Internet) and select the sourceEthernet. - On your PC, connect to the created Wi-Fi network.
If option Mobile hotspot is not available, use the command:
netsh wlan set hostednetwork mode=allow ssid=MyNetwork key=12345678
netsh wlan start hostednetwork
Then enable internet sharing in properties Ethernet-connections (tab Access).