- How to turn your Windows 10 PC into a wireless hotspot
- How to check if your wireless adapter supports Hosted Networks in Windows 10
- How to create a wireless Hosted Network in Windows 10
- How to share your internet connection with a Hosted Network in Windows 10
- How to stop sharing an internet connection with other devices in Windows 10
- How to change a Hosted Network settings in Windows 10
- How to view the current Hosted Network settings
- How to disable a wireless Hosted Network in Windows 10
- Things you need to know
- Wrapping things up
- More resources
- Halo: MCC’s live service elements make it better, not worse
- Microsoft’s Surface Duo is not ‘failing up’
- Here’s what you can do if Windows 10 update KB5001330 is causing issues
- These external monitors go perfectly with the Lenovo ThinkPad X1 Carbon
- Как раздать интернет по Wi-Fi с ноутбука в Windows 10
- Мобильный хот-спот в Windows 10
- Проверяем возможность раздачи
- Раздача Wi-Fi в Windows 10 с помощью командной строки
- Проблемы и их решение
How to turn your Windows 10 PC into a wireless hotspot
Whether you’re connecting to the internet using a wireless or wired adapter, similar to previous versions, Windows 10 allows you to share an internet connection with other devices with a feature called «Hosted Network».
Hosted Network is a feature that comes included with the Netsh (Network Shell) command-line utility. It’s was previously introduced in Windows 7, and it allows you to use the operating system to create a virtual wireless adapter – something that Microsoft refers to «Virtual Wi-Fi» — and create a SoftAP, which is a software-based wireless access point.
Through the combination of these two elements, your PC can take its internet connection (be it an ethernet connection or hookup through a cellular adapter) and share it with other wireless devices — essentially acting as a wireless hotspot.
In this Windows 10 guide, we’ll walk you through the steps to verify if your network adapter supports the feature, how to configure and enable a wireless Hosted Network, and how to stop and remove the settings from your computer when you no longer need the feature.
To follow this guide, you’ll need to open the Command Prompt with administrator rights. To do this, use the Windows key + X keyboard shortcut, and select Command Prompt (Admin).
How to check if your wireless adapter supports Hosted Networks in Windows 10
While some adapters include support for Hosted Network, you will first need to verify your computer’s physical wireless adapter supports this feature using the following command:
NETSH WLAN show drivers
If the generated output shows Hosted network supported: Yes, then you can continue with the guide. If your wireless adapter isn’t supported, you could try using a USB wireless adapter that supports the feature.
How to create a wireless Hosted Network in Windows 10
Creating a wireless hotspot in Windows 10 is relatively straightforward — don’t let the command line scare you. Simply follow the steps below to configure a wireless Hosted Network:
While in Command Prompt (Admin) enter the following command:
NETSH WLAN set hostednetwork mode=allow ssid=Your_SSID key=Your_Passphrase
Where the SSID would be the name you want to identify your wireless network when trying to connect a new device, and the passphrase is the network security key you want users to use to connect to your network. (Remember that the passphrase has to be at least 8 characters in length.)
Once you created a Hosted Network, enter the following command to activate it:
NETSH WLAN start hostednetwork
How to share your internet connection with a Hosted Network in Windows 10
Up to here, you created and started a Hosted Network in your Windows 10 PC. However, any wireless capable device won’t be able to access the internet just yet. The last thing you need to do is to share an internet connection using the «Internet Connection Sharing» feature from a physical network adapter.
- Use the Windows key + X keyboard shortcut to open the Power User menu, and select Network Connections.
Next, right-click the network adapter with an internet connection – this could be a traditional Ethernet or wireless network adapter — select Properties.
Note: In Network Connections, you should now see a new our new Microsoft Hosted Virtual Adapter which is labeled Local Area Connection* X, and with the SSID name.
Next, from the Home networking connection drop-down menu select the Microsoft Hosted Virtual Adapter.
At this point, you should be able to see and connect any wireless capable device to the newly created software access point, and with access to the internet.
How to stop sharing an internet connection with other devices in Windows 10
If you want to temporary stop allowing other devices to connect wirelessly through your computer, you can type the following command in the Command Prompt and hit Enter:
NETSH WLAN stop hostednetwork
At any time, you can just use the start variant of the command to allow other devices to connect to the internet using your computer as an access point without extra configuration:
NETSH WLAN start hostednetwork
Similarly, you can also use the following command to enable or disable a wireless Hosted Network:
NETSH WLAN set hostednetwork mode=allow
NETSH WLAN set hostednetwork mode= disallow
How to change a Hosted Network settings in Windows 10
In the case you want to change some of the current settings, such as SSID or network security you can use the following commands:
NETSH WLAN set hostednetwork ssid=Your_New_SSID
NETSH WLAN set hostednetwork key=Your_New_Passphrase
How to view the current Hosted Network settings
There are two commands to view the Hosted Network settings on your computer:
The following command shows the mode and SSID name in use, max number of clients that can connect, type of authentication, and cipher:
NETSH WLAN show hostednetwork
And the following command will also reveal the current network security key among other settings, similar to the previous command:
NETSH WLAN show hostednetwork setting=security
How to disable a wireless Hosted Network in Windows 10
While the setup of a wireless Hosted Network in Windows 10 is not very complicated, Microsoft doesn’t make very straightforward to remove the configurations when you no longer need the feature.
Although you can use the stop or disallow commands, these actions won’t eliminate the settings from your computer. If you want completely delete the Hosted Network settings in Windows 10, you’ll need to modify the Registry.
Important: Before you change anything settings on your computer, it’s worth noting that editing the Windows Registry can be a dangerous game that can cause irreversible damages to your system if you don’t know what you are doing. As such, it’s recommended for you to make a full backup of your system or at least System Restore Point before proceeding with this guide. You have been warned!
- Open the Start menu, do a search for regedit, hit Enter, and click OK to open the Registry with admin rights.
Scroll down the following path in the Registry:
HKEY_LOCAL_MACHINE\system\currentcontrolset\services\wlansvc\parameters\hostednetworksettings
Right-click the HostedNetworkSettings DWORD key, select Delete, and click Yes to confirm deletion.
Restart your computer
Open to the Command Prompt and use the following command:
NETSH WLAN show hostednetwork
You will know that you have successfully deleted the settings when the Settings field reads Not configured.
Make sure you turn off «Internet Connection Sharing» in the physical network adapter that was sharing the internet with other devices. Use the Windows key + X keyboard shortcut to open the Power User menu, and select Network Connections.
Uncheck the Allow other network users to connect through this computer’s Internet connection option.
Things you need to know
Although the wireless Hosted Network feature in Windows 10 allows you to implement an access point solution to share an internet connection with other devices, it’s not meant to be a solution to replace a physical wireless access point.
Also, there are a few things you want to consider. For example, wireless speeds will dramatically be reduced compared to the rates provided from a physical access point. Perhaps it would not be a big deal for internet browsing, but downloading or transferring big files could be an issue for some users.
You also need to consider that your computer needs to be always turned on to act as a wireless access point. If the computer enters into sleep, hibernate, or restarts, your wireless hotspot will stop working, and you will need to start manually the feature using the NETSH WLAN start hostednetwork command.
You cannot run a SorftAP and ad hoc at the same time on Windows. If you need to create a temporary network connection between two computers, setting up ad hoc will turn off SoftAP — you can run one or the other, not both at the same time.
Wrapping things up
Wireless Hosted Network is a nifty feature in Windows can be a great tool to have for when you need to create a wireless access point on the go. It won’t match the performance of a physical wireless access point, but it can be useful for many unexpected scenarios — like having one wired ethernet connection and several devices you want to get online. It’s not a replacement for the real thing, but in a sticky situation, it can be just the fix you need.
More resources
For more tips and tricks on Windows 10, and get the latest news, you can visit the following resources:
Halo: MCC’s live service elements make it better, not worse
Halo: The Master Chief Collection is more popular than ever, but some fans don’t agree with the live service approach 343 Industries has taken with it. Here’s why those elements are, at the end of the day, great for the game and for Halo overall.
Microsoft’s Surface Duo is not ‘failing up’
Microsoft announced this week that it was expanding Surface Duo availability to nine new commercial markets. While Surface Duo is undoubtedly a work in progress, this is not a sign of a disaster. It’s also doesn’t mean that Surface Duo is selling a ton either. Instead, the reason for the expansion is a lot more straightforward.
Here’s what you can do if Windows 10 update KB5001330 is causing issues
In this guide, we’ll show you the steps to get rid of the update KB5001330 to fix profile, gaming, and BSoD problems with the Windows 10 October 2020 Update and May 2020 Update.
These external monitors go perfectly with the Lenovo ThinkPad X1 Carbon
The Lenovo ThinkPad X1 Carbon is an excellent laptop, but what if you want to project the display onto a larger screen? You’ll need an external monitor for that. Here are our favorite options.
Как раздать интернет по Wi-Fi с ноутбука в Windows 10
В моей предыдущей статье про раздачу Wi-Fi с ноутбука то и дело появляются комментарии на тему того, что указанные способы отказываются работать в Windows 10 (впрочем, часть из них работает, а дело, вероятнее всего, в драйверах). Потому и было решено написать эту инструкцию (обновлена в августе 2016).
В этой статье — пошаговое описание того, как раздавать интернет по Wi-Fi с ноутбука (или компьютера с Wi-Fi адаптером) в Windows 10, а также о том, что делать и на какие нюансы обратить внимание, если описанное не работает: не удается запустить размещенную сеть, подключаемое устройство не получает IP адрес или работает без доступа в Интернет и т.п.
Обращаю ваше внимание на то, что такого рода «виртуальный роутер» из ноутбука возможен для проводного подключения к Интернету или же для подключения через USB модем (хотя в ходе проверки сейчас обнаружил, что у меня успешно раздается интернет, «получаемый» также по Wi-Fi, в предыдущей версии ОС лично у меня это не выходило).
Мобильный хот-спот в Windows 10
В юбилейном обновлении Windows 10 появилась встроенная функция, позволяющая раздать интернет по Wi-Fi с компьютера или ноутбука, называется она мобильный хот-спот и находится в Параметры — Сеть и Интернет. Также функция доступна для включения в виде кнопки при щелчке мышью по значку подключения в области уведомлений.
Всё, что вам потребуется — включить функцию, выбрать подключение, к которому будет предоставлен доступ другим устройствам по Wi-Fi, задать имя сети и пароль, после чего можно подключаться. По сути, все те способы, которые описаны далее больше не требуются, при условии, что у вас последняя версия Windows 10 и поддерживаемый тип подключения (например, раздача PPPoE не удается).
Тем не менее, если у вас есть интерес или необходимость, вы можете познакомиться и с другими способами раздать Интернет по Wi-Fi, которые подойдут не только для 10-ки, но и для предыдущих версий ОС.
Проверяем возможность раздачи
Первым делом, запустите командную строку от имени администратора (правый клик по кнопке пуск в Windows 10, а затем выбор соответствующего пункта) и введите команду netsh wlan show drivers
В окне командной строки должна отобразиться информация об используемом драйвере Wi-Fi адаптера и технологиях, которые он поддерживает. Нас интересует пункт «Поддержка размещенной сети» (в английском варианте — Hosted Network). Если там указано «Да», то можно продолжать.
Если же поддержка размещенной сети отсутствует, то для начала следует обновить драйвера на Wi-Fi адаптер, желательно с официального сайта производителя ноутбука или самого адаптера, после чего повторить проверку.
В некоторых случаях может помочь, наоборот, откат драйвера на предыдущую версию. Чтобы проделать это, зайдите в диспетчер устройств Windows 10 (можно через правый клик по кнопке «Пуск»), в разделе «Сетевые адаптеры» найдите требуемое устройство, кликните по нему правой кнопкой мыши — свойства — вкладка «Драйвер» — «Откатить».
Опять же, повторите проверку поддержки размещенной сети: так как если она не поддерживается, все остальные действия не приведут ни к какому результату.
Раздача Wi-Fi в Windows 10 с помощью командной строки
Продолжаем действовать в командной строке, запущенной от имени администратора. В ней необходимо ввести команду:
netsh wlan set hostednetwork mode=allow ssid=remontka key=secretpassword
Где remontka — желаемое имя беспроводной сети (задайте свое, без пробелов), а secretpassword — пароль на Wi-Fi (задайте свой, не менее 8 символов, не используйте кириллицу).
После этого введите команду:
netsh wlan start hostednetwork
В результате вы должны увидеть сообщение о том, что размещенная сеть запущена. Уже сейчас можно подключиться с другого устройства по Wi-Fi, но на нем не будет доступа к Интернету.
Примечание: если вы увидели сообщение о том, что невозможно запустить размещенную сеть, при этом на предыдущем этапе было написано, что она поддерживается (или необходимое устройство не подключено), попробуйте отключить Wi-Fi адаптер в диспетчере устройств, а затем заново включить его (либо удалить его там, а потом обновить конфигурацию оборудования). Также попробуйте в диспетчере устройств в пункте меню Вид включить отображение скрытых устройств, после чего в разделе «Сетевые адаптеры» найти Microsoft Hosted Network Virtual Adapter (Виртуальный адаптер размещенной сети), кликнуть по нему правой кнопкой мыши и выбрать пункт «Задействовать».
Чтобы доступ к Интернету появился, кликните правой кнопкой мыши по «Пуск» и выберите пункт «Сетевые подключения».
В списке подключений, кликните по Интернет-соединению (именно по тому, которое используется для выхода в Интернет) правой кнопкой мыши — свойства и откройте вкладку «Доступ». Включите пункт «Разрешить другим пользователям сети использовать подключение к Интернету и примените настройки (если вы увидите в том же окне список подключений домашней сети, выберите появившееся после запуска размещенной сети новое беспроводное соединение).
Если все пошло, как надо, а ошибок при настройке сделано не было, теперь при подключении с телефона, планшета или другого ноутбука к созданной сети, у вас будет доступ в Интернет.
Для последующего отключения раздачи Wi-Fi, в командной строке от имени администратора введите: netsh wlan stop hostednetwork и нажмите Enter.
Проблемы и их решение
У многих пользователей, несмотря на выполнение всех указанных выше пунктов, доступ в Интернет через такое Wi-Fi подключение не работает. Ниже — несколько возможных способов исправить это и разобраться в причинах.
- Попробуйте отключить раздачу Wi-Fi (команду только что указывал), затем — отключить Интернет-подключение (то, к которому мы разрешили общий доступ). После этого вновь включите их в порядке: сначала раздача Wi-Fi (через команду netsh wlan start hostednetwork, остальные команды, которые были до этого, не нужны), затем — Интернет-подключение.
- После запуска раздачи Wi-Fi у вас в списке сетевых подключений создается новое беспроводное подключение. Кликните по нему правой кнопкой мыши и нажмите «Сведения» (Состояние — Сведения). Посмотрите, указан ли там Адрес IPv4 и маска подсети. Если нет, то укажите вручную в свойствах подключения (можно взять со скриншота). Аналогично, при проблемах при подключении других устройств к раздаваемой сети, вы можете использовать статический IP в том же адресном пространстве, например, 192.168.173.5.
- Фаерволы многих антивирусов по умолчанию блокируют общий доступ к Интернету. Чтобы убедиться, в этом ли причина проблем с раздачей Wi-Fi, можно временно вообще отключить фаервол (брандмауэр) и, если проблема исчезла, начинать искать соответствующую настройку.
- Некоторые пользователи включают общий доступ не для того подключения. Он должен включаться для подключения, которое используется для выхода в Интернет. Например, если у вас есть подключение по локальной сети, а для интернета запускается Beeline L2TP или Ростелеком PPPoE, то общий доступ нужно предоставлять для последних двух.
- Проверьте, включена ли служба Windows «Общий доступ к подключению к Интернету» (Internet Connection Sharing).
Думаю, у вас все получится. Все вышеописанное проверено только что в связке: компьютер с Windows 10 Pro и Wi-Fi адаптером Atheros, подключались устройства iOS 8.4 и Android 5.1.1.
Дополнительно: раздачу Wi-Fi с дополнительными функциями (например, автоматический запуск раздачи при входе в систему) в Windows 10 обещает программа Connectify Hotspot, кроме этого, в комментариях к моей предыдущей статье на данную тему (см. Как раздавать Wi-Fi с ноутбука), у некоторых работает бесплатная программа MyPublicWiFi.