For making your wifi Hotspot you need to follow these steps
Step 1: Press window+r or run. Write cmd and press Enter
Step 2: Now Command Prompt opened. Here are two modes, one is normal mode and another is Administrator mode. To do this proces, you need to open the Command Prompt in “Administrator Mode” first.
Step 3: After you open type the following command in your Command Prompt.
netsh wlan set hostednetwork mode=allow ssid=Hotspot key=Password123
The “ssid” represents your “WiFi Hot Spot’s name”
the “Key” represents your “WiFi Password”.
You can also change them. if want
Step 4: press enter to start your virtual WiFi hotspot. It should show a message that “The hosted network is started”.
netsh wlan start hostednetwork
Step 5: Then, go to Control Panel -> Network and Sharing Center -> Network Connections. Here, you will see the newly listed “Virtual Local Area Connection”.
Step 6: Come back to the “Network and Sharing Center” and click the “Ethernet” or whatever shows in the “Connections” section. A new window will pop-up, in that select “Properties” and click to “Sharing” tab on the top side.
Step 7: Enable “Allow other users to connect through this computer’s Internet Connection” option on the top. In the drop down list below, select the newly listed “Virtual Local Area Connection”. Click “Ok” and you are good to go.
Now your Windows Device will act as a virtual router, to connect all devices which are wifi enabled. This will be very helpful when you have an ethernet connection or a USB Connection, you can easily share WiFi and connect your other devices by appling method.