In my previous article about distributing Wi-Fi from a laptop , comments appear on the topic that these methods refuse to work in Windows 10 (however, some of them work, but most likely the drivers). Therefore, it was decided to write this instruction (updated in August 2016).
This article provides a step-by-step description of how to distribute Wi-Fi Internet from a laptop (or a computer with a Wi-Fi adapter) in Windows 10, as well as what to do and what nuances to pay attention to if this does not work: not it is possible to start the hosted network, the connected device does not receive an IP address or works without access to the Internet, etc.
I draw your attention to the fact that this kind of “virtual router” from a laptop is possible for a wired connection to the Internet or for connecting via a USB modem (although during the test I now found out that I can successfully distribute the Internet, which is also received via Wi- Fi, in the previous version of the OS I personally did not get it).
Mobile Hotspot on Windows 10
In the anniversary update of Windows 10 there is a built-in function that allows you to distribute the Internet via Wi-Fi from a computer or laptop, it is called a mobile hot spot and is located in Settings - Network and Internet. The function is also available for inclusion as a button when you click on the connection icon in the notification area.
All you need is to enable the function, select a connection to which other devices will be granted Wi-Fi access, set a network name and password, after which you can connect. In fact, all the methods described below are no longer required, provided that you have the latest version of Windows 10 and a supported connection type (for example, PPPoE distribution fails).
However, if you have interest or need, you can get acquainted with other ways to distribute the Internet via Wi-Fi, which are suitable not only for 10s, but also for previous versions of the OS.
We check the possibility of distribution
First of all, run the command line as administrator (right-click on the start button in Windows 10, and then select the appropriate item) and enter the command netsh wlan show drivers
The command window should display information about the Wi-Fi adapter driver used and the technologies that it supports. We are interested in the item “Hosted Network Support” (in the English version - Hosted Network). If it says “Yes,” then you can continue.
If there is no support for the hosted network, first you need to update the driver to the Wi-Fi adapter, preferably from the official website of the manufacturer of the laptop or the adapter itself, and then repeat the check.
In some cases, on the contrary, rolling back the driver to a previous version may help. To do this, go to the Windows 10 device manager (you can right-click on the "Start" button), in the "Network Adapters" section, find the desired device, right-click on it - properties - "Driver" tab - "Roll Back".
Again, re-check the support of the hosted network: because if it is not supported, all other actions will not lead to any result.
Wi-Fi distribution in Windows 10 using the command line
We continue to operate on the command line launched as administrator. You must enter the command in it:
netsh wlan set hostednetwork mode = allow ssid = remontka key = secretpassword
Where remontka is the desired wireless network name (set your own, without spaces), and secretpassword is the Wi-Fi password (set your own, at least 8 characters, do not use the Cyrillic alphabet).
After that, enter the command:
netsh wlan start hostednetwork
As a result, you should see a message that the hosted network is running. Already, you can connect from another device via Wi-Fi, but it will not have access to the Internet.
Note: if you saw a message that it is impossible to start the hosted network, while at the previous stage it was written that it is supported (or the necessary device is not connected), try disabling the Wi-Fi adapter in the device manager and then re-enabling it ( either delete it there, and then update the hardware configuration). Also try to enable the display of hidden devices in the Device Manager in the View menu item, and then in the “Network Adapters” section find the Microsoft Hosted Network Virtual Adapter, right-click on it and select “Enable”.
To access the Internet, right-click on “Start” and select “Network Connections”.
In the list of connections, click on the Internet connection (exactly the one used to access the Internet) with the right mouse button - properties and open the "Access" tab. Turn on the option “Allow other network users to use an Internet connection and apply the settings (if you see a list of home network connections in the same window, select the new wireless connection that appeared after the host was launched).
If everything went as it should, but no configuration errors were made, now when you connect from your phone, tablet or other laptop to the created network, you will have Internet access.
To disable Wi-Fi distribution later, at the command prompt as administrator, type: netsh wlan stop hostednetwork and press Enter.
Problems and their solution
For many users, despite the fulfillment of all the above points, access to the Internet through such a Wi-Fi connection does not work. Below are a few possible ways to fix this and figure out the reasons.
- Try disabling Wi-Fi distribution (I just indicated the command), then disconnecting the Internet connection (the one to which we allowed sharing). After that, turn them back on in order: first, the distribution of Wi-Fi (via the netsh wlan start hostednetwork command , the remaining commands that were before this are not needed), then the Internet connection.
- After starting the Wi-Fi distribution, a new wireless connection is created in your list of network connections. Right-click on it and click "Details" (Status - Details). See if the IPv4 address and subnet mask are listed there. If not, then manually specify in the connection properties (can be taken from the screenshot). Similarly, if you have problems connecting other devices to the distributed network, you can use a static IP in the same address space, for example, 192.168.173.5.
- Firewalls of many antiviruses by default block Internet access. To make sure that this is the cause of problems with Wi-Fi distribution, you can temporarily disable the firewall (firewall) altogether and, if the problem has disappeared, start looking for the appropriate setting.
- Some users enable sharing for the wrong connection. It must be turned on to connect, which is used to access the Internet. For example, if you have a local network connection, and Beeline L2TP or Rostelecom PPPoE is launched for the Internet, then you need to provide general access for the last two.
- Verify that the Windows Connection Sharing service is turned on.
I think you will succeed. All of the above has been tested just in conjunction: a computer with Windows 10 Pro and Atheros Wi-Fi adapter, iOS 8.4 and Android 5.1.1 devices were connected.
Extras: Wi-Fi distribution with additional functions (for example, automatic distribution distribution start at login) in Windows 10 is promised by Connectify Hotspot , in addition, in the comments to my previous article on this topic (see How to distribute Wi-Fi from a laptop ), some have the free MyPublicWiFi program.