In Windows 7, Creating of Ad-Hoc network was very easy. You just have to go to Network and Sharing >> Create Ad-Hoc Network. That's it you're done. But as you know this functionality isn't available for Windows 8 or windows 8.1 and that's also doesn't mean that creating Ad-Hoc in Windows 8 and 8.1 is not possible.
Must Read :-
So, How to Create Ad-Hoc in Windows 8 and 8.1 ?
Well this is possible via Command Prompt. Just Follow the basic Steps to Create Ad-Hoc in Windows 8 and 8.1 .
Step 1 :- Press Windows Key + Q to open app search in Windows 8.
Step 2 :- Type "cmd" in search box and Right Click on it >> Run as administrator.
Now, it will open "User Control Access" dialog Box. Just Click Yes.
Step 3 :- Now, in case you just wanted to see whether your network interface supports Visualization or not. Just type
netsh wlan show drivers
In case if it says no then you need to update network adapter's drivers.
Step 4 :- Enter the Following command and this will create your Ad-hoc Connection.
netsh wlan set hostednetwork mode=allow ssid=solvemyhow key=solvemyhow
Then, press Enter. you will receive the output as the Hosted Network mode has been set to allow.
Note :- You can set your own "SSID" and "KEY". Key will work as Password of your Ad-Hoc Network.
Step 5 :- Now, you have to Start the Hosted Network. So, Just Type,
netsh wlan start hostednetwork
You will receive the message like "The Hosted Network Started" .
Step 6 :- To see whether the Ad-Hoc Network is Created or not. Just go to >> Network and Sharing Center.
Now you can easily create Ad-Hoc in windows 8 and 8.1 and play LAN games like NFS, Counter Strike (My Favorite) etc.
Step 7 :- If you wanted to stop the Ad-Hoc Network. Just type,
netsh wlan stop hostednetwork
So, this will stop your Ad-Hoc Network.
Also See :-