To create the wifi hotspot on windows 7 , plesae do the following steps.
Run below commands using Command window with admin privileges.
1. Create Wifi hotspot name with below command
Note: you can use your own ssid and key values for unique references.
netsh wlan set hostednetwork mode=allow ssid=MyPCHotspot key=mypckey
2. To Start service
netsh wlan start hostednetwork
Thats all your hotspot is ready!!! Turn on wifi on your mobile or other device and you can see "MyPCHotspot" at the available networks. Join that network and it will prompt passkey and provide the same what you given at step1. e.g. mypckey
3. To stop hot spot
netsh wlan stop hostednetwork
Additional information:
4. TO view all hotspots
netsh wlan show hostednetwork
Hope this information useful to you...!