- Type cmd on the Start screen.
- Right-click select Run as administrator.
- Please check if your network interface virtualization is supported.
- Run the command netsh wlan show drivers to view Hosted network supported status.
Note: In case it's not supported, you will need to update your network adapter’s driver.
- Enter the following commands to configure your ad hoc wireless connection:
netsh wlan set hostednetwork mode=allow ssid=<network name> key=<passkey>
- Once the hosted network has been set to allow, please start the mode and enter the command netsh wlan start hostednetwork
If the hosted network could not start:
- Please disable current wireless network device and enable it again.
- Refresh network adapter list from Device Manger to install a virtual network device driver
Does the hosted network start?
To share your internet connection with others, please enable the ICS for newly created Wi-Fi connection.
- Go to Network and Internet → Network Connections
- Go to Properties → Sharing tab
- Select Allow other network users to connect through this computer’s Internet connection
- Choose the newly created ad hoc connection.
- Check the IP address assigned to newly created ad hoc connection from TCP/IPv4 Properties
.Note: If the IP address is not assigned, please run netsh wlan start hostednetwork command in CMD.