If you want to create a Wi-Fi Hotspot in windows then
- Open Command Prompt (Admin) with administrative privilege
- Type the following command and press enter:
netsh wlan set hostednetwork mode=allow ssid=MyWi-Fi key=yourpassword
netsh wlan start hostednetwork
- Go to Control Panel\Network and Internet\Network Connections and click properties in the connected network.
- Check “Allow other network users to connect through this computer’s Internet connection” as in the figure and click ok.