Please follow the below steps to create Wifi Hotspot in Windows 8 with command prompt.
You need to have supported WiFi card.
To check whether WiFi card supports hotspot feature or not follow this step
Run this command from
command prompt with administrator rights.
netsh wlan show drivers
Look for
Hosted network supported
If it says Yes then proceed with the following steps.
Run these commands from
command prompt with administrator rights.
netsh wlan set hostednetwork mode=allow ssid=MyNetwork key=password
Change
ssid &
key value
netsh wlan start hostednetwork
Open
Network Connections
Right Click
Internet Connection and select
Properties
Click
Sharing tab
Select check box
Allow other network users to connect through this computer’s internet connection
Select
Local Area Connection* 13 from
Home networking connection drop down menu.
Click
OK
You will see
Internet access under
connectivity column.
If you see
No network access then
disable &
enable Microsoft Hosted Network Virtual Adapter.
Now to make
Microsoft Hosted Network Virtual Adapter visible in
Network Connections
Run this command from
command prompt with administrator rights.
netsh wlan start hostednetwork
If you see
No internet access then make sure
shared connection is connected to internet.
Now
disable &
enable Microsoft Hosted Network Virtual Adapter.
Now to make
Microsoft Hosted Network Virtual Adapter visible in
Network Connections
Run this command from
command prompt with administrator rights.
netsh wlan start hostednetwork
Alternatively in case of
No network access and
No internet access you can run following commands from
command prompt with administrator rights as it works for me instead of disabling/enabling the adapter.
netsh wlan set hostednetwork mode=allow ssid=AnyNetwork key=password
netsh wlan set hostednetwork mode=allow ssid=MyNetwork key=password
netsh wlan start hostednetwork
Error:
The hosted network could not be started.
The group or resource is not in correct state to perform the requested operation.
Solution: Enable Microsoft Hosted Network Virtual Adapter