Here I will describe the steps that help you to setup windows 8 as an internet WiFi hotspot.
Step 1 : Open the command prompt with administrator rights.
Step 2 : To create your own virtual wifi, copy and paste the following to your admin command prompt.
netsh wlan set hostednetwork mode=allow ssid=<SSID FOR CONNECT> key=<PASSWORD>
Of course you will have to change SSID and the KEY too.
Step 3 : Once the hosted network has been set to allow, you need to start the mode to create an ad hoc connection. Just enter the command below.
netsh wlan start hostednetwork
If it says “hosted network couldn’t started”, you need to disable current wireless network device and then enable it. You may also need to refresh network adapter list from Device Manger to install a virtual network device driver.
Step 4 : You may check if the virtual network was successfully created by issuing the command:
netsh wlan show hostednetwork
At this point you should see an new connection at Networks and Sharing Center under the Control Panel.
To stop the wireless hosted network, just enter the command below.
netsh wlan stop hostednetwork
Step 5 : When the hosted network is started, enable ICS for newly created Wi-Fi connection, so that you can share your internet connection with others. In order to enable ICS feature, head over to Network and Internet –> Network Connections, and open Properties dialog of network device (which is connected to internet). Now, open Sharing tab, enable Allow other network users to connect through this computer’s Internet connection, and then choose the newly created ad hoc connection from the list.
Step 6 : Once the internet connection is shared, check the IP address assigned to newly created ad hoc connection from TCP/IPv4 Properties. If it doesn’t assign IP address, then run netsh wlan start hostednetwork command in CMD.
After following the above steps, you will be able to connect Wi-Fi enabled devices with your Windows 8 PC.
You need to start hostednetwork everytime when your computer restart, shutdown, or when you turn off your wifi.
You can put this command: netsh wlan start hostednetwork into file with extension .bat, so you can easily start it. Don’t forget to run it with administrator rights.
You can put this command: netsh wlan stop hostednetwork into file with extension .bat, so you can easily stop it if you want. And no need to run it with administrator rights.