none
How do I clear / delete hostednetwork configuration? RRS feed

  • Question

  • This question has come up before – but with no proper answer – unless I’m missing something?
    I configured a WLAN hostednetwork on my lads laptop, but it seems to be causing issues with his connection to WiFi router.
    So how do I clear / delete the hostednetwork configuration and return the laptop to previous config.?
    There does not appear to be anyway of doing this – no delete / clear commands on the netsh command for WLAN.
    Sunday, February 9, 2014 10:38 PM

Answers

All replies

  • Hi,

    There is a delete function for the Netsh command:

    Additionally, this article shows the syntax:

    netsh wlan delete profile name="ProfileName"

    Hope this helps,

    David
    Windows Outreach Team - IT Pro
    The Springboard Series on TechNet

    Monday, February 10, 2014 6:22 PM
    Moderator
  • Try the commands listed here.
    • Proposed as answer by samir1453 Sunday, January 10, 2016 4:42 AM
    Monday, February 10, 2014 9:21 PM
  • Hi

    You can delete by below command :

    netsh wlan set hostednetwork mode=disallow ssid="SSIDName"

    It will help you

    Thursday, December 11, 2014 9:54 AM
  • Your answer worked Great.

    Thanks for answering the question rather than posting another link

    Tuesday, December 16, 2014 8:33 PM
  • This is the correct answer and worked instantly for me.
    Monday, March 23, 2015 1:16 PM
  • This is how to delete a profile. Deleting a hostednetwork is a different thing... 

    (To list profiles):  netsh wlan show profiles

    (To list hostednetworks): netsh wlan show hostednetwork

    Thursday, August 6, 2015 8:48 AM
  • Actually the above command disallowed the softAP "SSIDName".   To delete the hostednetwork settings registry

    these commands will do the trick.

    --

    net stop wlansvc
    Get-ItemProperty "HKLM:\system\currentcontrolset\services\wlansvc\parameters\hostednetworksettings"
    Remove-Item "HKLM:\system\currentcontrolset\services\wlansvc\parameters\hostednetworksettings"
    net start wlansvc


    Codemaniac

    • Proposed as answer by VargasPM Saturday, June 11, 2016 8:36 AM
    Tuesday, September 15, 2015 1:19 AM
  • Vijay: Your answer is the correct answer for deleting a hostednetwork. Worked great for me on Windows 10 system.
    Monday, November 9, 2015 3:40 AM
  • with the second line of the command, there is an error message saying ' "Get-ItemProperty" is not recognised as an internal or external command, operable program or batch file.'

    Is there not a way to carry out the function of that command manually?

    Saturday, March 5, 2016 8:53 AM
  • run this command on a powershell cmd
    Thursday, May 5, 2016 3:40 PM
  • Thanks dude.... its really work with powershell run as admin

    Wednesday, September 21, 2016 6:16 PM
  • Thank you.

    It works.

    Monday, October 24, 2016 2:12 PM
  • Perfect method! Did the job that annoyed me, thank you

    Thursday, March 30, 2017 6:39 AM
  • Thank you! I deleted hostednetwork!
    Thursday, January 31, 2019 10:07 PM