Share your laptop or PC internet to any Wi-Fi Device

(Tested to work in Win 7 Home Basic and later)
STEP 1:
 Click Start button (in Win 7 and older) / Click Win key + S (Win 8 and newer).
 Type cmd.
 Right click on cmd and select Run as administrator.

STEP 2:
 Now, Command Prompt window appears.
 First, you've to check whether your computer supports sharing of internet connection or not.
 Type netsh wlan show drivers and press enter. You'll get many lines of information. There will be a line -- Hosted Network Supported: Yes. If this is No, then your computer doesn't support internet connection sharing, which means you have no wireless adapter device in your system.

STEP 3:
 Now you should create a Wi-Fi profile for sharing.
 Type netsh wlan set hostednetwork mode=allow ssid=internet share key=12345678 and press enter. The profile is created!
NOTE: ssid is the ‘connection name’ that will appear in your mobile/tablet (the ssid name can be maximum of 32 Characters) and key is the ‘password’ for this connection (the key should be 8 to 63 characters long). You can give any name and password for ssid and key respectively.

STEP 4:
 To ACTIVATE/START the connection sharing, first turn on Wi-Fi in your computer.
 Now, type netsh wlan start hostednetwork in command prompt window and press enter. Wi-Fi profile will be activated immediately.

STEP 5:
 Now turn on Wi-Fi in the mobile/tablet and search for networks/connections. The connection named "internet share" (the ssid you've entered earlier) will appear. Choose that connection and enter the password "12345678" (the key you've entered earlier). That's all, internet shared.

STEP 6:
 To DE-ACTIVATE/STOP the connection sharing, type netsh wlan stop hostednetwork and press enter. Wi-Fi profile will be de-activated immediately.

CAUTION! If you turn off the Wi-Fi button in your computer without completing step 6 above, the next time you turn on your computer Wi-Fi, the Wi-Fi profile will be activated for sharing and anyone near your area can access your internet! So, complete step 6 and turn off Wi-Fi in your computer while you're sharing.

Any corrections/info, PM me.