Before we go through all this stuff, you must open command prompt and run it as administrator (admin) mode.
steps:-go to search bar and search for 'cmd' and right click to it and click run as administrator
AND HERE WE GO THROUGH SOME ACTIONS USING CMD
1. View various wireless network profiles saved on your PC
To view various network profiles saved on your pc or connected previously type " netsh WLAN show profile" as shown in a diagram
Alternatively, you can use the “interface” parameter to show the list of profiles for a particular wireless adapter
2. To enable and disable a network interface
you can use the “interface” parameter to show the list of profiles for a particular wireless adapter
to view interface status type "netsh intrface show interface" and click enter and view the status table
/* TO DISABLE NETWORK INTERFACE */
syntax:- netsh interface set interface name="interface name" admin=disabled
/* TO ENABLE NETWORK INTERFACE */
syntax:- netsh interface set interface name="interface name" admin=enabled
Create Wi-Fi hotspot right from the command prompt
Before opening the Command Prompt to execute the commands needed for this, you need to open Control Panel and find Change adapter settings in the Network and Sharing option. There, click on the connection you are using and click on Properties. Now find the sharing tab and check the option “Allow other network users to connect through this computer’s internet connection.”
Now open the Command Prompt with administrative privileges and enter the following command:
syntax:= netsh wlan set hostednetwork mode=allow ssid=Youthotspotname key=yourpassword
After it’s enabled, enter the following command to start the Wi-Fi hotspot
netsh wlan start hostednetwork
...To stop it, simply enter this command:
netsh wlan stop hostednetwork“.
Comments
Post a Comment