Posted on October 30, 2015 · Posted in Windows 10

How to Create a Wi-Fi Access Point on Windows 10

Like in previous OS versions, in Windows 10 it is possible to create a software Wi-Fi access point. This access point can be used for creating a local wireless network or sharing Internet connection by several devices. In Windows 10, the access point can only be created and controlled from the command prompt.

So, today we’ll consider how to create a virtual access point based on Windows 10 without additional third party applications. Let’s assume that our system has two network adapters — a wired Ethernet adapter (connected to a provider’s network to get Internet connection) and a wireless Wi-Fi adapter. We want our computer with a Wi-Fi module to be used by other clients such as a Wi-Fi access point and share its Internet connection.

Tip. Instead of a wired connection to access the Internet, 3G / 4G connection through a USB-modem or a phone can be used.

How to Make Sure that a Wi-Fi Adapter Driver Supports Ad-Hoc Mode

Before you start to create an access point, please, make sure that your Wi-Fi adapter driver supports a virtual access point mode (Ad-Hoc). To do it, run this command in the command prompt:

netsh wlan show drivers

Hosted network supported by WiFi driver

Hosted network supported: Yes” line means that this driver supports running in an access point mode. Otherwise, try to update the driver version or install another Wi-Fi adapter.

How to Create a Virtual Wi-Fi Network

Let’s assume that we want to create a wireless network named Hotspot (SSID networks) with the password ZiZiPass. Start the command prompt (with the Administrator privileges) and run the command:

netsh wlan set hostednetwork mode=allow ssid=Hotspot key=ZiZiPass

Windows 10 create WiFi adhoc

This command will create a new virtual Wi-Fi adapter in the system, which will be used by other wireless devices as an access point. Now, turn on the created virtual adapter:

netsh wlan start hostednetwork

netsh wlan start hostednetwork

The hosted network started” line tells that an access point has been turned on successfully.

A new wireless connection named Hotspot will appear in Network and Sharing Center.

new hotspot connection win10

Now, other Wi-Fi devices can detect and connect to this access point. Devices connected to such a network can share documents and hardware peripherals but they do not have access to the Internet through this access point yet.

How to Enable Internet Access  for the Connected Devices

Now, we will allow all devices connected to the Wi-Fi virtual access point to use a wired network connection to access the Internet. To do it, click the name of the network adapter, which provides the Internet connection, in Network and Sharing Center. In our example, it is the connection named Ethernet.

Share internet connection

In a window with network adapter statistics, click Properties.

Network connection properties

Go to Sharing tab in the Ethernet Properties window. Check “Allow other network users to connect through this computer’s Internet connection” and select the name of the virtual adapter created previously in the dropdown list.

Allow other network users to connect through this computer’s Internet connectionSave the changes. In the Network and Sharing Center, the type of Hotspot network will be changed to Internet meaning that this network (and all devices connected to it) have an access to the Internet now.

Access type: Internet

Thus, all devices connecting to the created access point based on Windows 10 access the Internet using  the external network interface of the computer.

Possible Errors and Troubleshooting

Question. After Windows restart, a Wi-Fi access point does not turn on.

Answer. To get a wireless network working again, run the hosted network with the command
netsh wlan start hostednetwork
There is no need to specify network name and password once again.

Question. When trying to run a hosted network, the error “The Wireless AutoConfig Service (wlansvc) is not running. The hosted network couldn’t be started” appears.

Answer. Run WLAN AutoConfig service from services.msc console or the command prompt:
net start WlanSvc
and start a virtual access point once again

Question. During the network start, the error “The hosted network couldn’t be started.” appears

Answer. Make sure that your Wi-Fi adapter is turned on. After that run Device Manager, select Show hidden devices in the View menu. Find Microsoft Hosted Network Virtual Adapter in network adapters section and turn it on. If it has not helped, run these commands one by one:

netsh wlan set hostednetwork mode=disallow
netsh wlan set hostednetwork mode=allow

After that re-create the access point:

netsh wlan set hostednetwork mode=allow ssid=Hotspot key=ZiZiPass
netsh wlan start hostednetwork

Question. How to check the status and settings of an access point?

netsh wlan show hostednetwork

Question. How to temporarily turn off or permanently delete a virtual access point

Answer. To stop an access point, run the command:
netsh wlan stop hostednetwork

To delete an access point (SSID and network password are deleted), do the following:
netsh wlan set hostednetwork mode=disallow

Related Articles