Create Wi-Fi Hotspot using Command Prompt

If You don’t need any third-party apps to create a Wi-Fi hotspot to share your PCs internet, you can easily do so from the Command Prompt.

In the Command Prompt, enter the following command to enable Wi-Fi Hotspot.

"netsh wlan set hostednetwork mode=allow ssid=Hotspotname key=password"

Once enabled, you can start the Wi-Fi hotspot by entering the command "netsh wlan start hostednetwork" or stop it by entering the command "netsh wlan stop hostednetwork".

You will also need to share your internet connection to this hotspot for everyone to use. Go to "Network and Sharing" option from the “Control Panel” and then click on“Change adaptor settings” in the left panel.

Here, right click on the internet connection you are using and click on "Properties". In the properties, go to sharing tab and check the option “Allow other network users to connect through this computer’s internet connection” to share your internet connection.

Note: Using Administrator privileges for CMD is must to run this command otherwise it will show an error.

I hope you enjoyed this article.

Sharing is caring


About Author

Akash is a co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security. Get in touch with him by sending an email (

You may also like :-

Leave a Comment

Your email address will not be published. Required fields are marked *

Reader Comments [1]


I and also my guys were actually analyzing the nice tactics on your web blog and all of the sudden I got a horrible suspicion I never expressed respect to the site owner for those tips. These ladies ended up for that reason excited to see all of them and have honestly been enjoying these things. Appreciate your really being quite kind and then for going for varieties of important subject areas millions of individuals are really wanting to be informed on. Our own honest regret for not expressing gratitude to you earlier.



Stay Connected

Popular Posts

Get Latest Stuff Through Email

Who Should Read TechTrick?

All the tricks and tips that TechTrick provides only for educational purpose. If you choose to use the information in TechTrick to break into computer systems maliciously and without authorization, you are on your own. Neither I (TechTrick Admin) nor anyone else associated with TechTrick shall be liable. We are not responsibe for any issues that caused due to informations provided here. So, Try yourself and see the results. You are not losing anything by trying... We are humans, Mistakes are quite natural. Here on TechTrick also have many mistakes..