Ad-hoc Network

How to create A Wireless Ad-Hoc Network on Windows Using command promt

Open command promt with admin privileges (press Windows + X to open the options)

Run netsh wlan show drivers 

If  hosted network supported : yes then we can create ad-hoc network

netsh wlan set hostednetwork mode=allow ssid=<Network name> Key=<password>

netsh wlan start hostednetwork 

now your Ad-Hoc network is ready to use 🙂