1. Open up Control Panel from the start menu and head to Network Connections
2. Double Click the Wireless adapter from the networks list, then go to Wireless Networks tab then click Add
3. Enter the SSID (name) of the network, this will appear when scanning for it, and set the security Key you want then check the last checkbox (Ad-hoc) finally click OK
4. Finally go back to network adapters, double click the Internet connection adapter (Local network) then go to Advanced tab, check the box that says “Allow other network users to connect through this computer’s internet connection”and select the Wireless adapter from the list then hit OK