What is Internet Connection Sharing?
Internet Connection Sharing ( ICS ) is a service of windows OS which enables one internet-connected computer to share its internet with other electronics device(having wifi adaptor). So, the main computer /laptop/mobile which is providing internet connection is considered as ICS host / ICS gateway and other devices are connected to this host system and all incoming traffic of those devices through the ICS host system.ICS is not new features, it was introduced in Windows 98 and exists till now as preinstalled features of windows. In general, ICS mostly uses NAT technologies to achieve internet sharing capabilities.
Before moving forward :
1) Make sure all client computer (the computer which wants an internet connection ) can connect to the Internet.
2)Make sure that host PC can host internet connection
3)Make sure that the host PC has OS above Windows 98. Todays must of us have windows XP, Windows Vista, Windows 7,8,10 and it is ok.
4) Make sure that your host PC is connected to Wifi, or Ethernet or Cellular Data Connection
Must of today's computer has all these features.
When you may need Windows 10 Internet Connection Sharing?
1)Suppose you are in a room where you just have one wired Ethernet Connection and have no wifi available and your friends request for the internet. Then you can share your internet connection with your friends.
2)Suppose your friend has a low wifi connection and you have the fastest ethernet connection and both are near to each other then you can share your internet connection with your friends.
There are various methods of sharing internet connection in windows 10.
Method 1: Internet Connection Sharing Using the mobile hotspot
For this, you don't need any software. All you may need the administrative level privilege of the system.
1)Press Windows + X shortcut keys to open a quick link menu. Then quick link menu will appear at button left corner as shown below
2)Now click on Network Connections
3)Then the network connection setting will appear as shown below. There look at the left pane, you will find "Mobile Hotspot".Click on "Mobile Hotspot".
4)On your mobile hotspot option, toggle to "on" Share my internet connection with other devices,
5)Then on the same screen, selects "connection your internet connection from" to either wifi or ethernet. Here, In my case, I have selected wifi.
6)You can also choose between sharing your internet connection over Wi-Fi or Bluetooth by checking the appropriate option. In my case, I have selected wifi.
7)Next, click on the edit button,
as soon as you press the "edit" button pop up screen will appear.
There you enter a network name that users will use to identify in the name field and also Type a password (at least 8 characters) and click on the "Save" button.
Here, for the demo, I have networkname: ourtechroom and password: share111
Now, when the client opens wifi connection they will find a network that is created just now. In my case, I have "ourtechroom" as networkname.
How to disable Mobile Hotspot sharing in Host PC?
As above, follow the same up to step 3 in Host PC, then on the same screen, toggle switch to "off" in Share my internet connection with other devices.
Now your internet connection will not be shown to the client.
Method 2 (Using netsh command)
If you are command prompt lover then you can try this. You can do the same in less than a minute.
Hosted Network is one of the features of windows 10 which allows you to turn your pc into a wireless hotspot.
You must do this with administrator privilege otherwise you will not be able to perform the action.
First of all, check whether your system supported Hosted Networks or not for this follow this step:
1)Open Command Prompt with administrator privilege.
1 a) Press the Windows button and you will navigate to the search field at the bottom left corner. There type cmd and you will find command prompt in the list.
1 b) Just right-click on Command Prompt and select "Run as administrator".Then a small pop up will appear. There Click on "Yes".
Then will get command prompt as the black screen as shown below:
You will find your command prompt opened inside the %windir%/system32 path.In my case : C:/windows/system32
Also, look at the title bar of the command prompt, you will find Administrator, which means you have successfully opened a command prompt in admin privilege mode.
2) Then check whether your system can host a network
For this type:
netsh wlan show driver
and press enter.
If you get an output as Hosted Network supported: yes then you can move forward.
3) Create a hosted network
Now, the next step is to create a hosted network. For this type below command on the same screen.
NETSH WLAN set hostednetwork mode=allow ssid=Your_SSID key=Your_Password
Replace Your_SSID with your desired name. This is a network name. This name is seen to everyone who wants to connect to your hosted network.
Replace Your_Password with your desired password. This password is required whoever wants to connect to your hosted network.
Here, I have set SSID: Ourtechroom and Password: share111.
If you have done this step properly you will get a message like below:
The hosted network mode has been set to allow. The SSID of the hosted network has been successfully changed. The user key passphrase of the hosted network has been successfully changed
You can see this message as shown in the above screen.
4) Activate Hosted Network
NETSH WLAN start hostednetwork
Now, when the user wants to connect to my network they have to enter networkname and password just entered above. In my case: networkname : ourtechroom and password: share111