Windows 10: Using netsh wlan commands not working

Discus and support Using netsh wlan commands not working in Windows 10 Network and Sharing to solve the problem; Someone else's network keeps popping up in my list of networks in the Windows 10 Action Center. I've used a cmd prompt and followed all instructions... Discussion in 'Windows 10 Network and Sharing' started by Nandilicious, Jan 4, 2017.

  1. Using netsh wlan commands not working


    Someone else's network keeps popping up in my list of networks in the Windows 10 Action Center. I've used a cmd prompt and followed all instructions for using "netsh wlan" commands to deny all (and then allow my own network to show, but the network I blocked still keeps popping up in my Action Center then quickly disappearing again. I know I used the proper "netsh" commands, because the command prompt said the network was successfully blocked. I don't understand why it keeps popping up in the list of networks in my Action Center. My own private network should be the only one I see there. Can you help?

    :)
     
    Nandilicious, Jan 4, 2017
    #1
  2. DaveM121 Win User

    I entered the wrong WIFI Password on my Windows 10 Laptop, and I can't figure out how to re-enter the right password. Help Please!

    Open a Command Prompt as Administrator, run this command:

    netsh wlan show profiles

    Identify the network you want to reset the password on, then run this command (replace
    Wi-Fi network name):

    netsh wlan delete profile name="Wi-Fi network name"

    If the above does not work, your only option is to delete all WiFi profiles and start again - run this command to delete all WiFi Profiles:

    netsh wlan delete profile name=* i=*
     
    DaveM121, Jan 4, 2017
    #2
  3. Hostednetwork: can connect to it but can't use internet

    As the title describes i use cmd admin command:

    netsh wlan set hostednetwork mode=allow ssid=Test key=Test1 keyUsage=persistent

    netsh wlan stop hostednetwork

    netsh wlan start hostednetwork



    I connect to Hosted network with my Lumia 930...but there is no internet traffic
     
    VukGligorijevic, Jan 4, 2017
    #3
  4. John Galt Win User

    Using netsh wlan commands not working

    It comes up in the list of available Wifi networks, or it comes up as a network you are currently connected with?
     
    John Galt, Jan 5, 2017
    #4
  5. It comes up in the list of available WiFi networks but it isn't a network that I have ever connected to. I'm connected to my own private WiFi network and have never seen another network show up on the list until now. It has a padlock mark on it which, I think, means I couldn't use it anyway because it's password-protected. I don't want to use it. I just don't want to see it in my Action Center. As I said, I tried a netsh wlan command to block the network, and used another netsh wlan command that was meant to also hide blocked networks from the list, but this rogue network still shows up on the list in my Action Center. It shows up for about 10 seconds, then disappears. Confusing...In fact, it happened again just now...showed up on the list for a few seconds, then disappeared all of a sudden.
     
    Nandilicious, Jan 5, 2017
    #5
  6. John Galt Win User
    Ahh, okay, I see. The list of available networks on that menu shows all Wifi networks that your system can see, whether you've connected to them or not, and whether they are yours or not. You can ignore that network.

    If you are looking for the safest configuration possible, I suggest the following additional settings:

    1. Disable Wi-FI sense - How to protect yourself against Windows 10’s controversial new Wi-Fi Sense feature – BGR
    2. Use NTLMv2 only - Security Watch: The Most Misunderstood Windows Security Setting of All Time
    3. Look through this site and maybe pickup a few more suggestions: Harden Windows 10 - A Security Guide. How to secure Windows 10
     
    John Galt, Jan 5, 2017
    #6
  7. Thanx, John...I'm not using Wi-Fi Sense because it says I have to log in to a Microsoft account first, and I don't have a Microsoft account. I did check out the websites you suggested, but didn't understand most of what I was reading. On one of them, there were a lot of files that needed to be downloaded and I didn't want to go through all that. Anyway, I was told that I can see that rogue network but the way my network is set up, they can't get into it, so I guess I'm satisfied with that. I could get into their's if I really wanted to, because what I thought was a padlock was just an exclamation point (!) and if I do click on that network, it doesn't ask me for a password. Anyway, I'll still to my own private network. I never use public networks, not even in hotels or other places. I won't use the internet at all if the only available network is a public one.

    Thank you for your suggestions. I think everything is okay now. Nandi
     
    Nandilicious, Jan 5, 2017
    #7
  8. sml156 Win User

    Using netsh wlan commands not working

    What commands are you using. From what it sounds like to me you are blacklisting WiFi SSID's when you should actually be Whitelisting them.

    It's late where I live and i'm going to bed and don't feel like searching TenForums but I think their is a tutorial from Brink on how to do this --- or search my post's I think I answered a question on how to do this. Or search TenForums with your command maybe faster.

    One more thing if some user answer's this thread and says your going break the internet by blocking SSID's don't believe them.
     
    sml156, Jan 6, 2017
    #8
  9. To block unwanted networks, I went to the command prompt and entered the following:
    netsh wlan add filter permission=denyall networktype=infrastructure

    To hide that network, I entered:
    netsh wlan set blockednetworks display=hide

    To allow my own network to show on the list, I entered:
    netsh wlan add filter permission=allow ssid=(my ssid) networktype=infrastructure

    This worked for a while, but then that other network started popping up in my list of networks and disappearing after a few seconds. I even went back to the command prompt to see if it was in my list of blocked networks (it was) and to see if it was hidden (and it was). But this morning, it showed up again in the list of available network in my Action Center then disappeared again.




     
    Nandilicious, Jan 6, 2017
    #9
  10. sml156 Win User
    Glad to see you figured it out and marked it resolved, When I woke up this morning I realized that I have not use these commands for a couple of years and wondered if they still work. Even though you resolved it i'm figured I might as well post my results.

    It's a boring Saturday so I decided to document what I would do to accomplish what I think you are trying to do.

    Before I start I looked at the WiFi networks I was receiving and the total was 9 and one of those belonged to me.
    Note:For Privacy reasons I will not show the 8 WiFi networks that do not belong to me that are near me.

    1:
    I wanted to make sure I am starting from a clean state and have no filters enabled.
    Code: netsh wlan show filters[/quote]
    Using netsh wlan commands not working [​IMG]


    I had no filters but if i did i would of deleted them first:
    Delete Allow list filters
    Code: netsh wlan delete filter permission=allow ssid="WLAN name" networktype=infrastructure[/quote] Delete Block list filters
    Code: netsh wlan delete filter permission=block ssid="WLAN name" networktype=infrastructure[/quote]
    2:
    Next I blocked every SSID:
    Code: netsh wlan add filter permission=denyall networktype=infrastructure[/quote]
    Using netsh wlan commands not working [​IMG]


    As I expected when I clicked on my network icon in the lower right hand side of the screen there were no WiFi networks displayed.

    Using netsh wlan commands not working [​IMG]


    3:
    Now that I got what I wanted I’m going to add my WiFi router.
    Code: netsh wlan add filter permission=allow ssid="Bad Robot" networktype=infrastructure[/quote]
    Using netsh wlan commands not working [​IMG]

    As expected now when I click on my network icon in the lower right hand side of the screen only my WiFi is visible.

    Using netsh wlan commands not working [​IMG]

    Although in theory the way you did it should work the same as the way I did it I would try my way and see if works the way you expect.
     
    sml156, Jan 7, 2017
    #10
  11. Thanx for showing me what you did. I did do the denyall command, and checked to see if my network was on the list (it wasn't), then I "allowed" my own network back in and it was the only one listed. Problem is, that other network still pops up for a few seconds and goes away, even though I went into a command prompt (as admin) and blocked it, then set it to "hide" it so it shouldn't show up in my list of networks. It's kinda strange, but I'm getting used to it...and as long as know the person has no access to my computer, I can relax. Thanx anyway. Nandi


    Using netsh wlan commands not working [​IMG]


    I had no filters but if i did i would of deleted them first:
    Delete Allow list filters
    Code: netsh wlan delete filter permission=allow ssid="WLAN name" networktype=infrastructure[/quote] Delete Block list filters
    Code: netsh wlan delete filter permission=block ssid="WLAN name" networktype=infrastructure[/quote]
    2:
    Next I blocked every SSID:
    Code: netsh wlan add filter permission=denyall networktype=infrastructure[/quote]
    Using netsh wlan commands not working [​IMG]


    As I expected when I clicked on my network icon in the lower right hand side of the screen there were no WiFi networks displayed.

    Using netsh wlan commands not working [​IMG]


    3:
    Now that I got what I wanted I’m going to add my WiFi router.
    Code: netsh wlan add filter permission=allow ssid="Bad Robot" networktype=infrastructure[/quote]
    Using netsh wlan commands not working [​IMG]

    As expected now when I click on my network icon in the lower right hand side of the screen only my WiFi is visible.

    Using netsh wlan commands not working [​IMG]

    Although in theory the way you did it should work the same as the way I did it I would try my way and see if works the way you expect.[/quote]
     
    Nandilicious, Apr 5, 2018
    #11
Thema:

Using netsh wlan commands not working

Loading...
  1. Using netsh wlan commands not working - Similar Threads - Using netsh wlan

  2. Laptop wlan stoped working

    in Windows 10 Network and Sharing
    Laptop wlan stoped working: Windows 10 cant locate wlan so windows wireless service wont run. Have tried uninstalling drivers in device manager. Services says that it cant find wlan autoconfig. Have been trying for hours to fix this. :(...
  3. Hotspot (netsh wlan start hostednetwork)

    in Windows 10 Network and Sharing
    Hotspot (netsh wlan start hostednetwork): I am trying to share my Windows 10 Lenovo laptop's internet connection through the cmd via netsh wlan start hostednetwork. I already know you first have to enter set hostednetwork mode=allow ssid="ssid" pass="pass," but then when I enter netsh wlan start hostednetwork, I...
  4. Know about parameters of Netsh int ip set global command

    in Windows 10 Network and Sharing
    Know about parameters of Netsh int ip set global command: What is loopbackexecutionmode and reassemblyoutoforderlimit in the netsh int ip set global ? What difference between inline and adaptive loopbackexecutionmode? What were the default values in previous versions of Windows? ***Modified title from: new ip settings...
  5. net use command works for LPT but not for COM

    in Windows 10 Drivers and Hardware
    net use command works for LPT but not for COM: I need my USB printer to map to COM (old software only recognizes COM ports). using net use, i can map it to LPT, but when i try to map it to COM, i get error 66 This is what i'm entering: net use COM2: \127.0.0.1\E /persistent:yes System error 66 has occurred. The...
  6. Netsh firewall command to create forwarder rule.

    in Windows 10 Network and Sharing
    Netsh firewall command to create forwarder rule.: I have created forwarder rule in windows to route the traffic coming from any user to loopback address 127.0.0.1 and forward it to another IP address. example: netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=9000 connectaddress=127.0.0.8...
  7. Need help to create firewall rule for forwarder using netsh command

    in Windows 10 Network and Sharing
    Need help to create firewall rule for forwarder using netsh command: I have created forwarder rule in windows to route the traffic coming from any user to loopback address 127.0.0.1 and forward it to another IP address. example: netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=9000 connectaddress=127.0.0.8...
  8. NETSH Command - Help please

    in Windows 10 Network and Sharing
    NETSH Command - Help please: Hi, I may have the wrong end of the stick here but I'm trying to assign my printer a static IP using NETSH. My printer does not allow this on the printer control panel. I have tried adding an exception in the router but this has been problematic. This is the command I'm...
  9. Problems using IPv6 netsh in command window

    in AntiVirus, Firewalls and System Security
    Problems using IPv6 netsh in command window: Hello, I'm trying to set up an IPv6 tunnel. My first command in the command window is as follows: netsh interface teredo set state disabled. The msg. I get is as follows: The requested operation requires elevation (run as administrator). The problem is I am...
  10. What's the Windows 10 default for "netsh wlan set hostednetwork mode="

    in Windows 10 Network and Sharing
    What's the Windows 10 default for "netsh wlan set hostednetwork mode=": I was wondering what is the Windows 10 default setting for this one, is it actually allow or disallow? Code: netsh wlan set hostednetwork mode=[/quote] 29492