Share
If you are using windows PC and if you want to create Wi-Fi hotspot in your PC then hopefully this tutorial will be helpful for you. Just follow the steps that I have shown below to create a hotspot network.
Create WIFI Hotspot Using CMD in Windows PC

Step 01:
Open CMD( Command Prompt) in administrator mode.

Step 02:
Inside the command prompt type- netsh wlan show drivers and press enter to check whether you have necessary drivers in your PC to create hotspot. If it shows- Hosted network supported: Yes then you are ready to go.

Step 03:
Type in the CMD the following command and press enter.
netsh wlan set hostednetwork mode=allow ssid=HotspotName key=Password

Notice: In this command just change the ssid and key value ie, name your hotspot and give a tight password.

You are done here creating a Wi-Fi hotspot environment. Now to start and stop the hotspot follow the below steps-

#Start Hotspot: Open CMD in administrator mode and type-
netsh wlan start hostednetwork

#Stop Hotspot: Open CMD in administrator mode and type-
 netsh wlan stop hostednetwork

If you want to save your time from writing CMD commands again and again then create a CMD command .bat file on your Desktop and run that when it is necessary. Write the below codes in your .bat file and execute on demand-
C:\Windows\System32\cmd.exe /c Your_Command
Example: C:\Windows\System32\cmd.exe /c netsh wlan start hostednetwork

If you don't know how to create .bat file then visit this link.