1. Run command prompt with administrator privileges.
2. Execute the below command to verify that your network interface support virtualization:
netsh wlan show drivers
If the “Hosted network supported” says “Yes“, then you’re ready to share the internet via Wi-Fi. Otherwise, you need to upgrade your hardware, if the software update doesn’t fix it.
3. Set up the ssid and key.
netsh wlan set hostednetwork mode=allow ssid=abc key=12345678
ssid is nothing but your desired Wi-Fi name, you can give your own.
Key is nothing but your Wi-Fi password. It should be Minimum 8 characters long
4. Until now, your hosted network has been created. Now, you need to start it.
Use the command below to start your Wi-Fi Network:
netsh wlan start hostednetwork
5. Share the Internet Connection with the created WiFi.