Many times, it happens that you wanted to share some files with your friend’s computer or connect to your friend’s or any person’s computer to play games on LAN but you don’t have the Ethernet cable to connect or any secondary storage devices like USB drive, SD card or external HDD to share the files. In such situation, life without an Ethernet cable seems to be tough one. But you don’t need to worry even in worst situation like this ; as you may easily create WiFi hotspot using command prompt and share files without an Ethernet cable.
Lost your Ethernet cable ? Don’t worry, you can still create a connection between the two computers (or more) by turning your computer into a Wireless Hotspot. By using Wireless Hosted Network, any person can connect to your computer through WiFi. You can also connect to another WiFi when Hosted Network is active.
To create a virtual wireless adapter, we need a computer which support hosted network, Command Prompt and some simple steps to be followed are as follows.
Before we proceed, make sure that your computer’s WiFi is turned on.
Run Command Prompt as an administrator.
Now type “netsh wlan show drivers” without “” and press Enter (as highlighted in the image below) to check whether the host computer supports Hosted network or not. As shown in the image below:
A list will appear where you can check “Hosted network supported: Yes” which means your computer supports Hosted network and you can create Hotspot. If “Hosted network supported: No” then you can’t proceed. As highlighted in the image below :
Now to Set up the WiFi Hotspot, Type: [netsh wlan set hostednetwork mode=allow ssid=“Hotspot name” Key=“password“] without [ ] and ” ” and press Enter, like I have named my hotspot as ‘TechReviewPro‘, and ‘ankur123‘ is the password for the connection. As shown in the image below :
Now to start the WiFi Hotspot\Hosted Network, Type: “netsh wlan start hostednetwork” without ” ” and press Enter. As shown in the image below:
Now you have Successfully turned your computer into a WiFi hotspot, Share your password and connect. Once you are connected, you may easily start sharing files over WiFi network without any issue.
But you might be wondering how to share files using the WiFi hotspot created by command prompt. So let’s see further steps to share files via WiFi hotspot on your PC.
Let your friend know your WiFi password and help them connect to your computer on Hotspot.
Turn on the File sharing by going to, “Control Panel >>Network and Internet >>Network and Sharing Center” then click on “Change advanced sharing settings” present in the left side of the screen.
Now in Change advanced sharing settings, Click on the radio button and Turn on network discovery similarly turn on the file and printer sharing.
Now you have successfully turned on the network discovery, file and printer sharing. Hence, you can Share your files by going to “This PC >>Network” and login to friend’s computer using proper credentials.
How to Turn Off the WiFi Hotspot Using Command Prompt ?
To stop or turn off the WiFi Hotspot , type “netsh wlan stop hostednetwork” without “”, in the Command Prompt window. As shown in the Image below :
The Pro Review from TechReviewPro
That’s it! Now, we have learnt how to create WiFi Hotspot using the Command Prompt and Share Files easily. It is quite effective method as it helps the user to establish the connection and file sharing without using any external device.
Hope you found this post useful. Thanks for being here, keep visiting TechReviewPro for more useful tips and tricks.
More to Learn :
- Reverse WiFi Password Lookup Trick to Know WiFi Password Saved in Your PC
- 17 Cool Computer Command Prompt Tricks and Hacks for Windows Users
- 13 Excellent Microsoft Edge Tips and Tricks for Windows 10 Absolute Beginners
- Trick to Reveal Password Hidden Behind Asterisks in Web Browsers
- 15 Cool Notepad Tricks and Hacks to Do Cool Things with Notepad