How to Delete Wi-Fi Networks in Windows 8 from the Command Line

Two days before I shared one article about some Major Problems of Wi-Fi and ways to Solve it. While using Wi-Fi sometimes you need to delete it from Command Line. But unfortunately Microsoft removed the ability to delete Wi-Fi network from the network list. If you visit it then you can’t found any Wi-Fi connection in your network list. And to manage it you have to go to Control Panel. But you can manage it in better. If you want to do so then you will need to head to the Command Line. From this you can understand that we are going to discuss about deleting Wi-Fi networks in Windows 8 from Command Line.

How to Delete Wi-Fi Networks in Windows 8 from the Command Line
[image : Hanselman]

You can see the above screenshot, Windows 8 does have a ” Forget this network ” option, but it doesn’t appear if the network is not in range. For doing this you need to delete profiles by using netsh command line utility.Well this was first published in LifeHacker. For doing this Go to  > Start > type ” run ” in the search box. or you can open run box by pressin Windows Key + R. Then in that box just type ” cmd ” And this command will open Windows 8 CLI.

You can type ” netsh wlan show profiles ” for seeing your stored wireless profiles.Then you will need to save the profile name that you want to change.

Now type “ netsh wlan show profiles name=[profile name] key=clear ” to see the stored key of a specific profile. There you will find the key content under security settings.

Here’s is the main step, deleting it..

Just type ” netsh wlan delete profile name=[profile name] ” This code will delete the stored profile of your WLAN interface. Make sure this code will delete all your profiles. If you want to delete only some profiles then you need to use this ” pre>netsh wlan delete profile name=[profile name] [interface name]

And to set network priority use this, “ netsh wlan set profileorder name=””network_name”” interface=””interface_name”” priority=1

That’s it ! If you want to automate the deletion of open Wi-Fi networks in Windows 8. And this was created by Scott Hanselman. I hope so you like this article. If you like this article then share this with your friends. If you have any doubts about this method then leave it comments !

About Harshit Jain

Harshit Jain is a tech-savvy blogger. He is graduated from Mumbai University. He likes to share his knowledge through his own blog at TripoSoft, Best Beard Trimmer, Best Electric Toothbrush & TechHug as well as by writing guest articles on other blogging sites. Follow him on Facebook, Google+, Twitter.

Leave a Reply

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

CommentLuv badge

This site uses Akismet to reduce spam. Learn how your comment data is processed.