How To Share A Wired Internet Connection in Windows 8
How To Turn Your Windows 8 PC Into A Wi-Fi Hotspot
Unfortunately, Windows 8 stripped away the graphical interface for setting up an ad-hoc network. So, it is not quite as easy to set up as it is in Windows 7 or 10. The underlying feature is still present though. You just have to resort to a little command line trickery.
Switch over to the ‘Sharing’ tab and enable the ‘Allow other network users to connect through this computer’s Internet connection’ checkbox. Go ahead and clear the ‘Allow other network users to control or disable the shared Internet connection’ checkbox while you are at it and then click the ‘OK’ button.
Next, you will need to launch the Command Prompt with administrative privileges. Right-click in the bottom left of your screen (or hit Windows+X) and then select ‘Command Prompt (Admin)’ on the Power Users menu that appears.
With the command prompt open, your next step is to set up the wireless network using the netsh, by typing in the following command line and pressing ‘enter’ button:
netsh wlan set hostednetwork mode=allow ssid=”<SSID>” key=”<PASSWORD>”
Next, you will start broadcasting your network with the following command:
netsh wlan start hostednetwork
At any time, you can use this last command to show information about the connection. It lists things like the channel your connection uses, ssid name, authentication type, radio type, and the number of clients connected to your network.
netsh wlan show hostednetwork
When you are done, you should be able to connect any Wi-Fi device to your new ad-hoc network.