I use below commands to configure my windows 10 as a wifi hotspot
netsh wlan set hostednetwork mode=allow ssid=AdHoc key=password netsh wlan start hostednetwork
This works fine, but some times ( I don't know when or how, but may be if I don't use it) the hotspot is not working and I should rerun above commands.
Any suggestion how can I fix it ?!