Netsh wlan set hostednetwork mode=allow ssid=samplenetwork key=samplepassword The full command will look like the following example: After the name, type 'key=' and a password for the network. Type 'netsh wlan set hostednetwork mode=allow ssid=' followed by a name for your network. In this case, try the same steps on the second laptop - only one machine needs to support network creation.
If it shows 'No,' your laptop does not support this feature. If the line displays 'Yes,' you can create an ad hoc network. Read the line titled 'Hosted network supported.' You may need to scroll up in the command prompt window to find it. Type 'netsh wlan show drivers' (omitting quotes here and throughout) and press 'Enter.' Enter the administrator password to continue if prompted. Press 'Windows-X' and click 'Command Prompt (Admin)' on either laptop.