This might not work on all wifi hotspots because of upgraded hardware but you can still try this crack with wifi having old modems or routers.
Open command prompt by going to start and click on run or enter window+r, then type cmd and hit enter.
In command prompt window, type netsh wlan
show network mode=bssidThis command will show all available WiFi network in your area.
This is the last step. Just type netsh wlan connect name=(wifi name)
To disconnect it type netsh wlan disconnect.