Open an elevated command prompt (Type “CMD.EXE” in the start menu search bar, then right click the cmd.exe link and select “Run as Administrator”).
In the command window, type: netsh wlan set hostednetwork mode=allow ssid=(give ur network name eg. mynetwork) key=(your password for the network eg .password123)
Now type: netsh wlan start hostednetwork
Open Control Panel and go to Network and Sharing Center.
Click Change Adapter Settings.
Right click your Internet connection and select Properties.
Click the Sharing tab.
Check the box that says “Allow other network users to connect.”
Choose your virtual wi-fi adapter and click OK.