Share this question

Welcome to Teachnovice Q&A, where you can ask questions and receive answers from other members of the community.

This is a collaboratively edited question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Remove hostednetwork password?

0 like 0 dislike

I've set up my own Nintendo HomePass relay to get StreetPass from home, but recently something has changed and it doesn't work anymore. I've read I have to change some settings to make it work again, and I need to remove the password of my hosted network.

I know how to change hosted network settings:

netsh wlan set hostednetwork mode=allow ssid=<mySSID> key=<password>

But I don't know the command to remove the current key, or how to set the network as free. Or the command to delete the previous saved network, in order to set up a new one without the key attribute.

Any hint?

asked Jan 19, 2015 by pinckerman  
retagged Jan 25, 2015 by sarwana

1 Answer

0 like 0 dislike
Best answer

There are several methods to delete a hosted network.

Method 1 : Network and Sharing Center

Right click on the Network icon in the notification area (image) and choose "Network and Sharing Center".

In the Network and Sharing Center windows, click on "Change Adapter settings", to see all of your network connections. This will look like:


Select the Hosted Network and press the Delete button, then restart your PC.

Method 2 : Command-line to delete the virtual adapter

Open the Command Prompt with Administrator rights and enter the following command:

netsh wlan stop hostednetwork

You will receive a message confirming that the wireless hosted network stopped. However it is not yet disabled. In order to disable it, enter this command:

netsh wlan set hostednetwork mode=disallow

The result is the message "The hosted network mode has been set to disallow". You'll also notice that the virtual adapter is no longer listed in the Network and Sharing Center.

Furthermore, if you want to double-check the status of the hosted network, you can run the following command:

netsh wlan show settings

It should say : "Hosted network mode allowed in WLAN service: No".

Method 3 : Command-line to delete/forget one network

Start the Command Prompt as administrator and type the following command :

netsh wlan show profiles

It will display all the wireless network profiles stored by Windows 8.1. The list can be long if you used your laptop or tablet for more than a couple of weeks :


Identify the name of the wireless network profile you want removed, then type the following command to remove it:

netsh wlan delete profile name="swisscom"

Method 4 : Command-line to delete/forget all networks

In some scenarios you may need to remove all the wireless network profiles stored in Windows 8.1. This is done using this command:

netsh wlan delete profile name=* i=*
answered Jan 19, 2015 by harrymc  
Thanks for your answer. Anyway my original problem was how to remove the passkey from a custom network, but I've found that Windows doesn't allow me to remove WPA encryption, so I think there's no solution (correct me if I'm wrong). So I should accept your answer.
I have searched for a method of removing the passkey, but have found none. I found instead several methods of removing the network, as listed above. Removing and recreating the network should have the same result.
I don't think so, I believe it will always have a default passkey.
@pinckerman: I also tend to think that it's probably impossible to create a hosted network without any passphrase at all, but I have never tried.