How to create a Wi-Fi network on Windows 10 without internet

In today's digital world, it's hard to imagine a scenario where a local network doesn't require access to the World Wide Web, yet such situations arise regularly. Users often need to quickly transfer large amounts of data between computers, set up a local server for website testing, or simply want to play an online game with a friend in the same room. A standard Ethernet cable connection isn't always convenient, and creating a full-fledged infrastructure with a physical router can be overkill.

operating system Windows 10 It has built-in functionality that allows you to turn your laptop or PC into a fully-fledged access point. This solution is ideal for temporary needs when you need to connect devices into a single environment without the need for external equipment. It's important to understand that in this case Internet connection will not be available, since we are creating an isolated local environment (Intranet), but data exchange within this network will work at the full speed of your Wi-Fi adapter.

This guide will help you understand the intricacies of configuring a virtual adapter, troubleshooting common errors, and securing your local network. We'll cover both standard system tools and more advanced methods of managing network interfaces. You'll learn how to create a stable connection that will allow your devices to "see" each other even in the absence of external connectivity.

Adapter technical requirements and testing

Before proceeding with configuration, you need to ensure that your hardware supports the required operating mode. Not every wireless module can operate in access point (Hosted Network) mode, although most modern devices released in the last 10 years do support this feature. It's critical that your drivers are updated to the latest version, as older versions may not contain the necessary commands for network virtualization.

To check if the network can be created, we'll use the command line. This is the first step, allowing us to diagnose the problem early on without delving into complex interface settings. Open the console as an administrator and enter the command netsh wlan show driversIn the list that appears, find the line "Supported networks" (or "Hosted network supported"). If it says "Yes," you can continue. If it says "No," you'll need to update your Wi-Fi adapter drivers or replace the device itself.

It's also worth paying attention to the status of the WLAN service. If it's disabled in the system services, no command line manipulation will yield any results. Make sure the service startup type is set to "Automatic" and the service itself is running. This is a basic requirement, without which wireless network cannot be initialized by the operating system.

📊 For what purpose do you most often need a local area network?
File transfer
Local games
Software testing
Connecting the printer
Other

Creating a network via the command line

The most reliable and universal way to set up a Wi-Fi connection without a router is to use the built-in utility netshThis method works on all Windows 10 editions and doesn't rely on graphical interfaces, which can change with updates. The command line provides direct access to the operating system's network stack, allowing you to specify precise parameters for the virtual interface being created.

First, launch a command prompt with administrator privileges. This is required, as creating a network interface requires system privileges. Enter the following command to configure the network: netsh wlan set hostednetwork mode=allow ssid=MyLocalNet key=SecurePassword123In this example MyLocalNet — this is the name of your network (SSID) that other devices will see, and SecurePassword123 — the connection password. You can replace these values ​​with any of your own, as long as you follow the naming rules.

☑️ Check before launching the network

Completed: 0 / 5

After the configuration command has successfully completed, the network is not yet running; it has only been created in the system configuration. To activate it, enter the command netsh wlan start hostednetworkIf you see the message "Hosted network started," the process was successful. Your computer is now broadcasting a signal that can be connected to from a phone, tablet, or another laptop. However, for the devices to exchange data, there's one more important step—setting up sharing.

⚠️ Note: When using the command line, commands are case-insensitive, but the password is case-sensitive. Make sure you enter the security key exactly as intended, otherwise connection from client devices will be impossible.

Setting up sharing in the Control Panel

Setting up a virtual network is only half the battle. By default, Windows blocks incoming connections for security reasons, considering the new network public and potentially unsafe. For devices on your local network to be able to "see" each other, share files, or use shared printers, you need to edit the network profile and configure sharing settings.

Go to Control Panel → Network and Internet → Network and Sharing CenterIn the left pane of the window, select "Change sharing settings." Here you'll see profiles for the current network (private or guest) and all networks. In the "Private network" section (or the profile that corresponds to your new connection), enable the following options: "Turn on network discovery" and "Turn on file and printer sharing." It's also recommended to enable "Let Windows manage HomeGroup connections."

It's important to disable password protection if you want to simplify connecting in a trusted environment, or leave it on for security. If you select "Turn off password-protected sharing," any devices that know your Wi-Fi password will have full access to your shared folders without additional login credentials. For a home network, this is often a more convenient option.

After making changes, be sure to click the "Save Changes" button. Your system may require a reboot or a brief disconnection for the new firewall rules to take effect. Now your local area network is ready for full operation. Devices connected to the access point will appear in the list of network resources, and you can ping them by IP address.

Alternative Method: Mobile Hotspot

Starting with Windows 10 version 1607 (Anniversary Update), the system introduced the "Mobile Hotspot" feature, which provides a graphical interface for creating a hotspot. This method is significantly easier for beginners since it doesn't require entering commands, but it has its own challenges when working without internet access. The interface is standardized and can be found in the standard settings menu.

To use this method, open Settings (keys Win + I) and go to the "Network & Internet" section. In the left menu, select "Mobile Hotspot." Here you can select the connection source (in our case, there won't be one, since there's no internet connection, but the system will still allow you to create a network for local sharing). Set the "Allow other devices to use my internet connection" switch to "On."

In the same window, you can set the network name and password by clicking the "Change" button. The advantage of this method is that the system automatically manages services and the firewall, minimizing the risk of configuration errors. However, if the adapter doesn't support certain power-saving modes or the drivers conflict with the hotspot feature, this option may be unavailable or unstable.

Why isn't Mobile Hotspot working?

This feature may be unavailable if your Wi-Fi adapter is used to connect to another network (client mode) or if the driver doesn't support simultaneous operation in both access point and client modes. In such cases, returning to the command line (netsh) often resolves the issue, as this method is less demanding on the adapter's hardware.

Diagnosing and resolving connection problems

Even if you strictly follow the instructions, situations may arise where the network is created, but devices fail to connect or see each other. The most common cause is the Wi-Fi adapter's power settings. Windows may attempt to conserve power by disabling the module or reducing its power, which can lead to connection drops or failure to start the hosted network.

To resolve this issue, open Device Manager, locate your wireless adapter, and go to Properties > Power Management. Uncheck "Allow the computer to turn off this device to save power." This will stabilize the virtual router and prevent unintentional shutdowns.

Another common issue is IP address conflicts. When creating a local network without a DHCP server (usually provided by a router or internet service provider), devices may be assigned addresses in the APIPA range (169.254.xx), which can sometimes cause detection difficulties. In such cases, it is recommended to manually assign static IP addresses in the 192.168.1.x range to all network members.

Problem Possible cause Solution
Error 31: The hosted network is not running. Driver or service conflict Update your Wi-Fi driver and restart your WLAN service.
Devices don't see the network The adapter operates at a frequency of 5 GHz Switch the channel to 2.4 GHz in the driver properties
No access to shared folders Blocked by firewall Allow the application in the firewall, check the network profile
Low transmission speed Interference or 802.11b/g mode Select channel 1, 6 or 11, check N/AC standard
⚠️ Note: Interfaces and menu item names may vary slightly depending on your Windows 10 build version and installed security updates. If you can't find the option, try searching for it in system settings.

Local network security

When creating a network without internet access, many people mistakenly believe it's completely secure because it's isolated from the global network. However, if an attacker within range (for example, in a cafe or office) connects to your access point, they'll gain access to all shared resources. Therefore, using a strong password and encryption protocol is essential. WPA2-Personal remains mandatory.

Avoid using network names (SSIDs) that contain personal information, such as an address or last name. This can facilitate a targeted attack on your network. It's also recommended to change your access password periodically, especially if unauthorized devices have connected to the network. In your firewall settings, ensure that file access is blocked for the "Public Network" profile (in case the system mistypes the profile).

If you use the network to transfer sensitive data, consider using an additional layer of encryption at the file or folder level. Standard Wi-Fi encryption may not be sufficient to protect against advanced traffic sniffers that can intercept unencrypted data within the local network.

Frequently Asked Questions (FAQ)

Is it possible to share Wi-Fi if there is no internet on the laptop?

Yes, you can. The hosted network or mobile hotspot feature works regardless of an active internet connection. You create a local area network (LAN) that allows devices to communicate with each other, but the router won't provide internet access.

Why does the phone see the network, but says “Failed to connect”?

Most often, this is due to incompatibility of security standards or frequency. Try forcing the operating mode in the Wi-Fi adapter driver properties. 802.11n or 802.11ac and a 2.4 GHz channel. Also, check that the password doesn't contain special characters that might be misinterpreted by the mobile OS.

How to find out the IP address of the created network?

You can find out the IP address of your virtual adapter through the command line by entering the command ipconfigFind the section labeled "Wireless 2" or "Local Area Connection*" and look at the IPv4 address line. This is typically an address like 192.168.137.1, which will be the gateway for connecting devices.

How many devices can connect to such a network at the same time?

The theoretical limit for Windows 10 for a hosted network is up to 100 connections, but the actual number depends on the power of your Wi-Fi adapter and processor. For stable operation and high data transfer speeds, it is recommended to connect no more than 5-8 devices simultaneously.

Will the created network disappear after restarting the computer?

A network created via the command line is configured, but does not start automatically after a reboot. You will need to enter the command again. netsh wlan start hostednetworkTo automate this process, you can create a bat file with the launch command and add it to Windows startup with administrator rights.